blib/lib/Music/Tension/Cope.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 30 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
121 | 0 | 1 | 0 | defined $f1 and defined $f2 |
122 | 0 | 0 | 1 | &looks_like_number($f1) && &looks_like_number($f2) |
146 | 0 | 22 | 0 | defined $p1 and defined $p2 |
147 | 0 | 22 | 0 | $p1 =~ /^-?\d+$/ and $p2 =~ /^-?\d+$/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
99 | 0 | 0 | 3 | not &looks_like_number($duration) or $duration <= 0 |
122 | 0 | 0 | 1 | not &looks_like_number($f1) && &looks_like_number($f2) or $f1 < 0 |
0 | 0 | 1 | not &looks_like_number($f1) && &looks_like_number($f2) or $f1 < 0 or $f2 < 0 | |
134 | 0 | 0 | 5 | not &looks_like_number($b) or $b <= 0 |
0 | 0 | 5 | not &looks_like_number($b) or $b <= 0 or not &looks_like_number($v) | |
0 | 0 | 5 | not &looks_like_number($b) or $b <= 0 or not &looks_like_number($v) or $v <= 0 |