lib/Test/Assertions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 26 | 46.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
74 | 1 | 0 | 1 | defined $number and $number =~ /^\d+$/ |
84 | 0 | 0 | 2 | $Test::Assertions::test_mode and defined $Test::Assertions::planned_tests |
112 | 59 | 0 | 0 | %Test::Assertions::only and not $Test::Assertions::only{$Test::Assertions::test_no} |
191 | 0 | 0 | 0 | $strref and ref $strref eq 'SCALAR' |
288 | 2 | 0 | 1 | $expected != -1 and $total != $expected |
347 | 26 | 0 | 0 | $Test::Assertions::use_ok and /\bok[\s\(]/ |
line | l | !l | condition |
---|---|---|---|
311 | 1 | 1 | $status eq 'ok' || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
38 | 3 | 1 | 0 | $style eq 'test' or $style eq 'test/ok' |
112 | 0 | 0 | 59 | $Test::Assertions::ignore{$Test::Assertions::test_no} or %Test::Assertions::only and not $Test::Assertions::only{$Test::Assertions::test_no} |