Condition Coverage

blib/lib/Test.pm
Criterion Covered Total %
condition 20 44 45.4


and 3 conditions

line !l l&&!r l&&r condition
182 9 0 0 defined &Win32::BuildNumber and defined &Win32::BuildNumber()
200 0 0 9 defined $file and length $file
0 0 9 defined $file and length $file and -e $file
0 0 9 defined $file and length $file and -e $file and -f _
0 0 9 defined $file and length $file and -e $file and -f _ and -r _
404 57 5 3 $todo and $ok
459 1 10 2 defined $expected and 2 < $expected =~ tr/\n//
503 0 0 0 $got_fh and $exp_fh
510 0 0 0 close $got_fh and close $exp_fh
589 0 0 0 $diff_kind and $diff_kind ne $kind
728 4 5 0 @Test::FAILDETAIL and $Test::ONFAIL

or 2 conditions

line l !l condition
498 0 0 $ENV{'PERL_TEST_DIFF'} || die('WHAAAA?')

or 3 conditions

line l !l&&r !l&&!r condition
163 3 0 1 $k eq 'todo' or $k eq 'failok'
389 2 1 41 ($regex) = $expected =~ m[^ / (.+) / $]sx or (undef, $regex) = $expected =~ /^ m([^\w\s]) (.+) \1 $/sx
697 0 6 1 not @_ or $whyskip