blib/lib/Test/More.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 56 | 67 | 83.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
186 | 0 | 101 | 1 | defined $item and $item eq 'no_diag' |
0 | 98 | 3 | defined $item and $item eq 'import' | |
207 | 0 | 110 | 0 | $class eq 'Test::More' and !$import || grep(($_ eq '$TODO'), @$import) |
988 | 30 | 1 | 3 | @imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/ |
1355 | 1 | 2 | 2 | $plan and $plan =~ /^\d+$/ |
1360 | 0 | 23 | 1 | defined $how_many and $how_many =~ /\D/ |
1566 | 4 | 8 | 179 | defined $e2 and $e1 eq $e2 |
1593 | 2 | 164 | 15 | $same_ref and $e1 eq $e2 |
line | l | !l | condition |
---|---|---|---|
716 | 3 | 7 | $args ||= [] |
1035 | 1 | 42 | $SIG{'__DIE__'} || undef |
1149 | 39 | 10 | $entry->{'type'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
207 | 107 | 0 | 3 | !$import || grep(($_ eq '$TODO'), @$import) |
545 | 5 | 7 | 1 | ref $proto || $proto |
1104 | 38 | 46 | 3 | @_ == 2 or @_ == 3 |
1122 | 76 | 2 | 6 | ref $got || ref $expected |
1563 | 69 | 5 | 205 | ref $e1 or ref $e2 |
1591 | 171 | 5 | 22 | ref $e1 || ref $e2 |
1593 | 188 | 0 | 0 | defined $e1 || defined $e2 |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
1122 | 0 | 2 | 2 | 74 | not ref $got xor not ref $expected |
1590 | 22 | 5 | 5 | 166 | not ref $e1 xor not ref $e2 |
1593 | 188 | 4 | 6 | 0 | defined $e1 xor defined $e2 |
0 | 5 | 2 | 181 | _dne($e1) xor _dne($e2) |