Condition Coverage

blib/lib/Term/Cap.pm
Criterion Covered Total %
condition 29 48 60.4


and 3 conditions

line !l l&&!r l&&r condition
81 1 7 0 exists $ENV{'TERMCAP'} and $^O eq 'os2' || $^O eq 'MSWin32' || $^O eq 'dos' ? $ENV{'TERMCAP'} =~ m[^[a-z]:[\\/]]is : $ENV{'TERMCAP'} =~ m[^/]s
90 2 0 6 exists $ENV{'TERMPATH'} and $ENV{'TERMPATH'}
232 0 5 0 not $foo =~ m[^/]s and $foo =~ /(^|\|)$Term::Cap::termpat[:|]/s
239 2 3 0 @termcap_path and $Term::Cap::entry
256 0 4 0 not $tmp =~ m[^/]s and $tmp =~ /(^|\|)$Term::Cap::termpat[:|]/s
365 0 8 3 defined $field and $field =~ /^(\w\w)$/
0 7 1 defined $field and $field =~ /^(\w\w)\@/
0 5 2 defined $field and $field =~ /^(\w\w)#(.*)/
0 0 5 defined $field and $field =~ /^(\w\w)=(.*)/
466 1 14 2 defined $string and $string =~ /(^[\d.]+)(\*?)(.*)$/
691 1 0 1 defined $$self{'_' . $cap} and $$self{'_' . $cap}

or 3 conditions

line l !l&&r !l&&!r condition
81 0 0 7 $^O eq 'os2' || $^O eq 'MSWin32' || $^O eq 'dos'
275 3 0 2 @termcap_path or $Term::Cap::entry
330 3 1 0 shift @termcap_path || croak("failed termcap lookup on $tmp_term")
617 1 0 1 $tmp == 0 or $tmp == 4
1 0 1 $tmp == 0 or $tmp == 4 or $tmp == 10