Condition Coverage

blib/lib/ShiftJIS/String.pm
Criterion Covered Total %
condition 63 70 90.0


and 3 conditions

line !l l&&!r l&&r condition
78 6 67 230 CORE::length $str and $cnt < $pos
80 15 58 100116 CORE::length $str and CORE::substr($str, 0, $sublen) ne $sub
100 30 28 100367 $cnt <= $pos and CORE::length $str
147 50151 50067 46 exists $lst{$1} and not $found
164 21 50034 4 not exists $lst{$1} and $found
199 126 50129 52 $curfound and not $prefound
228 1164 40 4 $off + $slen < 0 and $len + $slen < 0
229 550 653 5 0 <= $len and $off + $len + $slen < 0
271 21 598 0 defined $_[2] && $_[2] =~ /o/
320 622 264 212 $d && !$c
453 96 56 128 160 <= $i and $i <= 223
596 75 40 4 $strpat eq '' and $lim <= 0
610 35 56 646 $lim <= 0 || $cnt < $lim and CORE::length $str
619 38 0 418 $cnt < $lim and CORE::length $str
626 8 23 34 defined $ret[-1] and $ret[-1] eq ''

or 2 conditions

line l !l condition
285 760 147 $mod ||= ''
584 209 46 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
271 0 0 0 $Cache{join "\377", @_} ||= &trclosure(@_)
371 122 52 667 $hash{$1} eq '' || $hash{$1} eq $pre
400 390 76 441 $modes == 0 || $modes == 2
75 72 220 $modes == 3 || $modes == 7
75 72 73 $modes == 4 || $modes == 6
405 0 0 4 $c < 32 || $c == 127
610 415 287 35 $lim <= 0 || $cnt < $lim