Condition Coverage

blib/lib/Test/Inter.pm
Criterion Covered Total %
condition 61 152 40.1


and 3 conditions

line !l l&&!r l&&r condition
154 0 0 0 $req and $req eq "mod"
0 0 0 $req and $req eq "lib"
251 0 0 0 exists $self->{'features'}{$feature} and $self->{'features'}{$feature}
385 0 6 0 $ok and $self->{'quiet'}
6 0 0 not $ok and $self->{'quiet'} == 2
405 5 4 3 @args == 1 and $args[0] =~ /^\d+(?:\.\d+)?$/
423 4 2 3 @args and $args[0] =~ /^\d+(?:\.\d+)?$/
496 0 12 0 $ok and $self->{'quiet'}
12 0 0 not $ok and $self->{'quiet'} == 2
558 0 17 0 $ok and $self->{'quiet'}
17 0 0 not $ok and $self->{'quiet'} == 2
634 0 11 0 $ok and $self->{'quiet'}
11 0 0 not $ok and $self->{'quiet'} == 2
740 34 2 7 not $identical and $type ne "isnt"
745 0 7 0 $type eq "ok" and not defined $result
818 0 0 76 defined $s1 and defined $s2
851 44 0 0 $self->{'end'} and $main::TI_NUM > $self->{'end'}
893 0 0 2 -d $testdir and -w $testdir
901 0 0 2 -d $outputdir and -w $outputdir
976 0 0 0 exists $self->{'features'}{$feature} and $self->{'features'}{$feature}
979 4 0 0 exists $opts{'disable'} and not $skip
983 0 0 0 exists $self->{'features'}{$feature} and $self->{'features'}{$feature}
1072 2 1 0 $nexp != 1 and $nexp != $ntest
1 3 0 $gotexpected and ($nexp != 1 and $nexp != $ntest)
1151 0 16 0 $ok and $self->{'quiet'}
16 0 0 not $ok and $self->{'quiet'} == 2
1204 58 0 0 $self->{'mode'} ne "test" and $self->{'quiet'}
1208 58 0 0 $name =~ /^\d/ and $self->{'quiet'} != 2
1239 0 0 0 $self->{'mode'} ne "test" and $self->{'quiet'}
1410 17 112 33 @$test and !defined($test->[0]) || $test->[0] eq ''
1462 5 2 0 @val == 1 and $val[0] eq ""
1472 0 0 2 @val == 1 and $val[0] eq ""
1483 0 0 2 @val == 1 and $val[0] eq ""
1610 13 4 0 not $m and $del
1624 6 11 0 $m eq $close and not @v

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
84 0 0 90 exists $opts{'opt'} or exists $ENV{$OPT}
0 0 90 exists $opts{'opt'} or exists $ENV{$OPT} or defined ${"main::$OPT";}
262 0 0 2 $self->{'plandone'} or $self->{'testsrun'}
385 0 0 6 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
396 5 2 5 $args[$#args] eq "forbid" or $args[$#args] eq "feature"
496 0 0 12 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
558 0 0 17 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
634 0 0 11 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
817 76 0 0 defined $s1 or defined $s2
851 0 0 44 $main::TI_NUM < $self->{'start'} or $self->{'end'} and $main::TI_NUM > $self->{'end'}
1151 0 0 16 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
1410 0 33 112 !defined($test->[0]) || $test->[0] eq ''
1483 0 0 0 not defined $val[$#val] or $val[$#val] eq ""
1553 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