Condition Coverage

lib/Test/Inter.pm
Criterion Covered Total %
condition 63 146 43.1


and 3 conditions

line !l l&&!r l&&r condition
156 0 0 0 $req and $req eq "mod"
0 0 0 $req and $req eq "lib"
253 0 0 0 exists $self->{'features'}{$feature} and $self->{'features'}{$feature}
387 0 6 0 $ok and $self->{'quiet'}
6 0 0 not $ok and $self->{'quiet'} == 2
407 5 4 3 @args == 1 and $args[0] =~ /^\d+(?:\.\d+)?$/
425 4 2 3 @args and $args[0] =~ /^\d+(?:\.\d+)?$/
498 0 12 0 $ok and $self->{'quiet'}
12 0 0 not $ok and $self->{'quiet'} == 2
560 0 17 0 $ok and $self->{'quiet'}
17 0 0 not $ok and $self->{'quiet'} == 2
636 0 43 0 $ok and $self->{'quiet'}
43 0 0 not $ok and $self->{'quiet'} == 2
742 45 2 7 not $identical and $type ne "isnt"
747 0 7 0 $type eq "ok" and not defined $result
820 0 0 88 defined $s1 and defined $s2
853 46 9 11 $self->{'end'} and $main::TI_NUM > $self->{'end'}
895 0 0 2 -d $testdir and -w $testdir
903 0 0 2 -d $outputdir and -w $outputdir
978 0 0 0 exists $self->{'features'}{$feature} and $self->{'features'}{$feature}
981 4 0 0 exists $opts{'disable'} and not $skip
985 0 0 0 exists $self->{'features'}{$feature} and $self->{'features'}{$feature}
1074 2 1 0 $nexp != 1 and $nexp != $ntest
1 3 0 $gotexpected and ($nexp != 1 and $nexp != $ntest)
1153 0 16 0 $ok and $self->{'quiet'}
16 0 0 not $ok and $self->{'quiet'} == 2
1206 69 0 0 $self->{'mode'} ne "test" and $self->{'quiet'}
1210 69 0 0 $name =~ /^\d/ and $self->{'quiet'} != 2
1241 21 0 0 $self->{'mode'} ne "test" and $self->{'quiet'}
1412 17 112 33 @$test and !defined($test->[0]) || $test->[0] eq ''
1464 5 2 0 @val == 1 and $val[0] eq ""
1474 0 0 2 @val == 1 and $val[0] eq ""
1485 0 0 2 @val == 1 and $val[0] eq ""
1612 13 4 0 not $m and $del
1626 6 11 0 $m eq $close and not @v

or 2 conditions

line l !l condition
524 0 18 $SIG{'__DIE__'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
264 0 0 2 $self->{'plandone'} or $self->{'testsrun'}
387 0 0 6 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
398 5 2 5 $args[$#args] eq "forbid" or $args[$#args] eq "feature"
498 0 0 12 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
560 0 0 17 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
636 0 0 43 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
819 88 0 0 defined $s1 or defined $s2
853 10 0 66 $main::TI_NUM < $self->{'start'} or $self->{'end'} and $main::TI_NUM > $self->{'end'}
1153 0 0 16 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
1412 0 33 112 !defined($test->[0]) || $test->[0] eq ''
1485 0 0 0 not defined $val[$#val] or $val[$#val] eq ""
1555 2 0 59 $test->[0] =~ s/^ $sp_opt $q ($min_str) $q $EOT//x or $test->[0] =~ s/^ $sp_opt $qq ($min_str) $qq $EOT//x
0 0 59 $test->[0] =~ /^ $sp_opt $q/x or $test->[0] =~ /^ $sp_opt $qq/x