Make CPD end column exclusive

This is to align it with PMD columns,
which in 7.0 are already exclusive.
This commit is contained in:
Clément Fournier
2020-06-19 02:09:55 +02:00
parent c49d9e315f
commit 5b7ed588ea
88 changed files with 16906 additions and 16910 deletions

View File

@@ -1,55 +1,55 @@
[Image] or [Truncated image[ Bcol Ecol
L2
[function] 5 12
[fact] 14 17
[(] 19 19
[n] 20 20
[)] 21 21
[function] 5 13
[fact] 14 18
[(] 19 20
[n] 20 21
[)] 21 22
L3
[if] 7 8
[n] 10 10
[==] 12 13
[0] 15 15
[then] 17 20
[if] 7 9
[n] 10 11
[==] 12 14
[0] 15 16
[then] 17 21
L4
[return] 9 14
[1] 16 16
[return] 9 15
[1] 16 17
L5
[else] 7 10
[else] 7 11
L6
[return] 9 14
[n] 16 16
[*] 18 18
[fact] 20 23
[(] 24 24
[n] 25 25
[-] 26 26
[1] 27 27
[)] 28 28
[return] 9 15
[n] 16 17
[*] 18 19
[fact] 20 24
[(] 24 25
[n] 25 26
[-] 26 27
[1] 27 28
[)] 28 29
L7
[end] 7 9
[end] 7 10
L8
[end] 5 7
[end] 5 8
L10
[print] 5 9
[(] 10 10
["enter a number:"] 11 27
[)] 28 28
[print] 5 10
[(] 10 11
["enter a number:"] 11 28
[)] 28 29
L11
[a] 5 5
[=] 7 7
[io] 9 10
[.] 11 11
[read] 12 15
[(] 16 16
["*number"] 17 25
[)] 26 26
[a] 5 6
[=] 7 8
[io] 9 11
[.] 11 12
[read] 12 16
[(] 16 17
["*number"] 17 26
[)] 26 27
L12
[print] 5 9
[(] 10 10
[fact] 11 14
[(] 15 15
[a] 16 16
[)] 17 17
[)] 18 18
[print] 5 10
[(] 10 11
[fact] 11 15
[(] 15 16
[a] 16 17
[)] 17 18
[)] 18 19
EOF

View File

@@ -1,7 +1,7 @@
[Image] or [Truncated image[ Bcol Ecol
L1
[print] 2 6
[(] 7 7
["Hello World"] 8 20
[)] 21 21
[print] 2 7
[(] 7 8
["Hello World"] 8 21
[)] 21 22
EOF