Condition Coverage

blib/lib/Test/Inter.pm
Criterion Covered Total %
condition 61 140 43.5


and 3 conditions

line !l l&&!r l&&r condition
245 0 0 0 exists $self->{'features'}{$feature} and $self->{'features'}{$feature}
374 0 6 0 $ok and $self->{'quiet'}
6 0 0 not $ok and $self->{'quiet'} == 2
394 5 4 3 @args == 1 and $args[0] =~ /^\d+(?:\.\d+)?$/
412 4 2 3 @args and $args[0] =~ /^\d+(?:\.\d+)?$/
482 0 12 0 $ok and $self->{'quiet'}
12 0 0 not $ok and $self->{'quiet'} == 2
544 0 19 0 $ok and $self->{'quiet'}
19 0 0 not $ok and $self->{'quiet'} == 2
620 0 11 0 $ok and $self->{'quiet'}
11 0 0 not $ok and $self->{'quiet'} == 2
726 36 2 7 not $identical and $type ne 'isnt'
731 0 7 0 $type eq 'ok' and not defined $result
804 0 0 78 defined $s1 and defined $s2
837 46 0 0 $self->{'end'} and $main::TI_NUM > $self->{'end'}
879 0 0 2 -d $testdir and -w $testdir
887 0 0 2 -d $outputdir and -w $outputdir
964 4 0 0 exists $opts{'disable'} and not $skip
1056 2 1 0 $nexp != 1 and $nexp != $ntest
1 3 0 $gotexpected and ($nexp != 1 and $nexp != $ntest)
1135 0 16 0 $ok and $self->{'quiet'}
16 0 0 not $ok and $self->{'quiet'} == 2
1188 60 0 0 $self->{'mode'} ne 'test' and $self->{'quiet'}
1192 60 0 0 $name =~ /^\d/ and $self->{'quiet'} != 2
1223 0 0 0 $self->{'mode'} ne 'test' and $self->{'quiet'}
1394 17 112 33 @$test and !defined($test->[0]) || $test->[0] eq ''
1446 5 2 0 @val == 1 and $val[0] eq ''
1456 0 0 2 @val == 1 and $val[0] eq ''
1467 0 0 2 @val == 1 and $val[0] eq ''
1594 13 4 0 not $m and $del
1608 6 11 0 $m eq $close and not @v

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
83 0 0 90 exists $opts{'opt'} or exists $ENV{$OPT}
0 0 90 exists $opts{'opt'} or exists $ENV{$OPT} or defined ${"main::$OPT";}
256 0 0 1 $self->{'plandone'} or $self->{'testsrun'}
374 0 0 6 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
385 5 2 5 $args[$#args] eq 'forbid' or $args[$#args] eq 'feature'
482 0 0 12 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
544 0 0 19 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
620 0 0 11 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
803 78 0 0 defined $s1 or defined $s2
837 0 0 46 $main::TI_NUM < $self->{'start'} or $self->{'end'} and $main::TI_NUM > $self->{'end'}
1135 0 0 16 $ok and $self->{'quiet'} or not $ok and $self->{'quiet'} == 2
1394 0 33 112 !defined($test->[0]) || $test->[0] eq ''
1467 0 0 0 not defined $val[$#val] or $val[$#val] eq ''
1537 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