1
1
Reading database from ...
2
- Unknown type true found parsing uncoverable condition at tests/uncoverable:45
2
+ Unknown type true found parsing uncoverable condition at tests/uncoverable:52
3
3
2 unmatched uncoverable comments not found at end of tests/uncoverable
4
4
5
5
@@ -51,33 +51,55 @@ line err stmt bran cond sub code
51
51
29 # uncoverable statement count:2
52
52
30 -0 b(); b();
53
53
-0
54
- 31 }
55
- 32
56
- 33 sub z {
57
- 34 # uncoverable subroutine
58
- 35 -0 -0 $y++; # uncoverable statement
59
- 36 }
54
+ 31
55
+ 32 # uncoverable statement count:1,2
56
+ 33 -0 b(); b();
57
+ -0
58
+ 34
59
+ 35 # uncoverable statement count:1..4
60
+ 36 -0 b(); b(); b(); b();
61
+ -0
62
+ -0
63
+ -0
60
64
37
61
- 38 # uncoverable branch false count:1
62
- 39 # uncoverable branch true count:2
63
- 40 # uncoverable branch false count:2
64
- 41 # uncoverable condition left count:1
65
- 42 # uncoverable condition right count:1
66
- 43 # uncoverable condition left count:2
67
- 44 # uncoverable condition right count:2
68
- 45 # uncoverable condition true count:2
69
- 46 # uncoverable condition false count:2
70
- 47 1 - 50 - 33 if ($x > 0 && $y > 0) {
65
+ 38 # uncoverable statement count:1,2,3..4,5..7,8,9,10..11,12
66
+ 39 -0 b(); b(); b(); b(); b(); b(); b(); b(); b(); b(); b(); b();
67
+ -0
68
+ -0
69
+ -0
70
+ -0
71
+ -0
72
+ -0
73
+ -0
74
+ -0
75
+ -0
76
+ -0
77
+ -0
78
+ 40 }
79
+ 41
80
+ 42 sub z {
81
+ 43 # uncoverable subroutine
82
+ 44 -0 -0 $y++; # uncoverable statement
83
+ 45 }
84
+ 46
85
+ 47 # uncoverable branch false count:1
86
+ 48 # uncoverable branch true count:2
87
+ 49 # uncoverable branch false count:2
88
+ 50 # uncoverable condition left count:1,2
89
+ 51 # uncoverable condition right count:1..2
90
+ 52 # uncoverable condition true count:2
91
+ 53 # uncoverable condition false count:2
92
+ 54 1 - 50 - 33 if ($x > 0 && $y > 0) {
71
93
- 0 - 0
72
- 48 1 $y++;
73
- 49 } elsif ($x < 2 && $y < 0) {
74
- 50 -0 $y++; # uncoverable statement
75
- 51 } else {
76
- 52 -0 $y++; # uncoverable statement
77
- 53 }
78
- 54
79
- 55 # uncoverable statement
80
- 56 # uncoverable subroutine
94
+ 55 1 $y++;
95
+ 56 } elsif ($x < 2 && $y < 0) {
96
+ 57 -0 $y++; # uncoverable statement
97
+ 58 } else {
98
+ 59 -0 $y++; # uncoverable statement
99
+ 60 }
100
+ 61
101
+ 62 # uncoverable statement
102
+ 63 # uncoverable subroutine
81
103
82
104
83
105
Branches
@@ -87,7 +109,7 @@ line err % true false branch
87
109
----- --- ------ ------ ------ ------
88
110
18 - 50 -0 1 if ($x and not $y)
89
111
27 - 50 -0 1 if (not $x and $y)
90
- 47 - 50 1 -0 if ($x > 0 and $y > 0) { }
112
+ 54 - 50 1 -0 if ($x > 0 and $y > 0) { }
91
113
- 0 -0 -0 elsif ($x < 2 and $y < 0) { }
92
114
93
115
@@ -100,7 +122,7 @@ line err % !l l&&!r l&&r expr
100
122
----- --- ------ ------ ------ ------ ----
101
123
18 - 33 -0 1 -0 $x and not $y
102
124
27 - 33 1 -0 -0 not $x and $y
103
- 47 - 33 -0 -0 1 $x > 0 and $y > 0
125
+ 54 - 33 -0 -0 1 $x > 0 and $y > 0
104
126
- 0 -0 -0 -0 $x < 2 and $y < 0
105
127
106
128
@@ -109,6 +131,6 @@ Uncovered Subroutines
109
131
110
132
Subroutine Count Location
111
133
---------- ----- --------------------
112
- z -0 tests/uncoverable:35
134
+ z -0 tests/uncoverable:44
113
135
114
136
0 commit comments