Condition Coverage

blib/lib/Test/Inter.pm
Criterion Covered Total %
condition 61 146 41.7


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}
382 0 6 0 $ok and $self->{'quiet'}
6 0 0 not $ok and $self->{'quiet'} == 2
402 5 4 3 @args == 1 and $args[0] =~ /^\d+(?:\.\d+)?$/
420 4 2 3 @args and $args[0] =~ /^\d+(?:\.\d+)?$/
491 0 12 0 $ok and $self->{'quiet'}
12 0 0 not $ok and $self->{'quiet'} == 2
553 0 17 0 $ok and $self->{'quiet'}
17 0 0 not $ok and $self->{'quiet'} == 2
629 0 11 0 $ok and $self->{'quiet'}
11 0 0 not $ok and $self->{'quiet'} == 2
735 34 2 7 not $identical and $type ne 'isnt'
740 0 7 0 $type eq 'ok' and not defined $result
813 0 0 75 defined $s1 and defined $s2
846 44 0 0 $self->{'end'} and $main::TI_NUM > $self->{'end'}
888 0 0 2 -d $testdir and -w $testdir
896 0 0 2 -d $outputdir and -w $outputdir
973 4 0 0 exists $opts{'disable'} and not $skip
1065 2 1 0 $nexp != 1 and $nexp != $ntest
1 3 0 $gotexpected and ($nexp != 1 and $nexp != $ntest)
1144 0 16 0 $ok and $self->{'quiet'}
16 0 0 not $ok and $self->{'quiet'} == 2
1197 58 0 0 $self->{'mode'} ne 'test' and $self->{'quiet'}
1201 58 0 0 $name =~ /^\d/ and $self->{'quiet'} != 2
1232 0 0 0 $self->{'mode'} ne 'test' and $self->{'quiet'}
1403 17 112 33 @$test and !defined($test->[0]) || $test->[0] eq ''
1455 5 2 0 @val == 1 and $val[0] eq ''
1465 0 0 2 @val == 1 and $val[0] eq ''
1476 0 0 2 @val == 1 and $val[0] eq ''
1603 13 4 0 not $m and $del
1617 6 11 0 $m eq $close and not @v

or 2 conditions

line l !l condition
517 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'}
382 0 0 6 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
393 5 2 5 $args[$#args] eq 'forbid' or $args[$#args] eq 'feature'
491 0 0 12 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
553 0 0 17 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
629 0 0 11 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
812 75 0 0 defined $s1 or defined $s2
846 0 0 44 $main::TI_NUM < $self->{'start'} or $self->{'end'} and $main::TI_NUM > $self->{'end'}
1144 0 0 16 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
1403 0 33 112 !defined($test->[0]) || $test->[0] eq ''
1476 0 0 0 not defined $val[$#val] or $val[$#val] eq ''
1546 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