Condition Coverage

blib/lib/String/Multibyte.pm
Criterion Covered Total %
condition 78 110 70.9


and 3 conditions

line !l l&&!r l&&r condition
89 1 117 0 $$obj{'verbose'} and not $obj->islegal($str)
113 1 53 0 $$obj{'verbose'} and not $obj->islegal($str)
148 17 536 0 $$obj{'verbose'} and not $obj->islegal($str, $sub)
160 44 360 1806 CORE::length $str and $cnt < $pos
164 70851 4 324 $str =~ /^$pat/ and _check_n($re, $str, $sub, $sublen)
180 17 517 0 $$obj{'verbose'} and not $obj->islegal($str, $sub)
192 199 96 71821 $cnt <= $pos and CORE::length $str
193 68011 5 3805 $str =~ /^$pat/ and _check_n($re, $str, $sub, $sublen)
222 0 46 0 $$obj{'verbose'} and not $obj->islegal($str, $lst)
245 0 38 0 $$obj{'verbose'} and not $obj->islegal($str, $lst)
272 0 12319 0 $$obj{'verbose'} and not $obj->islegal($str, $rep)
281 11495 400 40 $off + $slen < 0 and $len + $slen < 0
282 5500 6385 50 0 <= $len and $off + $len + $slen < 0
334 6 6472 0 $$obj{'verbose'} and not $obj->islegal($str)
376 0 510 57 defined $$obj{'cmpchar'} and &{$$obj{'cmpchar'};}($fr, $to) > 0
407 2 2954 0 $$obj{'verbose'} and not $obj->islegal(ref $str ? $$str : $str)
411 26 2930 0 defined $_[2] and $_[2] =~ /o/
435 2 3080 0 $$obj{'verbose'} and not $obj->islegal($fr, $to)
460 1933 552 552 $d && !$c
468 0 722 0 $v and not $obj->islegal(ref $str ? $$str : $str)
483 0 364 0 $v and not $obj->islegal(ref $str ? $$str : $str)
504 0 724 0 $v and not $obj->islegal(ref $str ? $$str : $str)
524 0 364 0 $v and not $obj->islegal(ref $str ? $$str : $str)
541 2 17562 0 $v and not $obj->islegal(ref $str ? $$str : $str)
570 0 1097 0 $$obj{'verbose'} and not $obj->islegal($str, $sub)
576 147 400 40 $sub eq '' and $lim <= 0
592 82 44 1379 $lim <= 0 || $cnt < $lim and CORE::length $str
593 689 38 652 $str =~ /^$pat/ and _check_n($re, $str, $sub, $sublen)
608 380 0 4180 $cnt < $lim and CORE::length $str
617 0 24 20 defined $ret[-1] and $ret[-1] eq ''

or 2 conditions

line l !l condition
568 1023 74 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
412 0 0 0 $Cache{$$obj{'charset'}}{$_[0]}{$_[1]}{defined $_[2] ? $_[2] : ''} ||= $obj->trclosure(@_)
511 610 232 3286 $hash{$1} eq '' || $hash{$1} eq $pre
558 362 360 2360 $mod == 3 || $mod == 7
364 360 1272 $mod == 4 || $mod == 6
546 362 0 $mod == 0 || $mod == 2
592 1046 377 82 $lim <= 0 || $cnt < $lim