Condition Coverage

blib/lib/String/Tagged.pm
Criterion Covered Total %
condition 80 92 86.9


and 3 conditions

line !l l&&!r l&&r condition
294 54 1 1 $only and not $only->{$tn}
295 55 0 0 $except and $except->{$tn}
298 53 0 2 $convert and my $c = $convert->{$tn}
393 6 3 1 defined $width and $width eq "*"
394 8 1 1 defined $precision and $precision eq "*"
752 0 0 5 $start == $ts and $end == $te
0 0 5 $start == $ts and $end == $te and $name eq $tn
771 1 1 2 $keepends and $end < $te
782 1 2 1 $keepends and $ts < $start
927 4 1 1 local $b = $$tags[$i + 1] and _cmp_tags() > 0
929 0 1 0 local $b = $tags->[$newpos] and _cmp_tags() <= 0
1019 71 1 2 $only and not $only->{$tn}
1020 69 2 1 $except and $except->{$tn}
1118 71 1 2 $only and not $only->{$tn}
1119 69 2 1 $except and $except->{$tn}
1130 41 0 1 $tagends{$n} and $tagends{$n} < $e
1154 70 3 1 $tagends{$n} and $tagends{$n} < $e
1385 1 1 1 $ts <= $pos and $te > $pos
1465 22 7 12 $ts >= $start and not $tf & 1
1474 11 3 5 $te == $oldend and $tf & 2
1477 4 7 4 $tf & 2 and $new_is_st
1552 18 3 0 $atstart && $e->anchor_before
3 13 5 $atend && $e->anchor_after
1680 3 11 3 ref $self eq __PACKAGE__ && is_string_tagged($other)
1799 4 0 1 defined $limit and @ret == $limit - 1

or 2 conditions

line l !l condition
276 30 27 $opts{'start'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
279 2 54 1 $opts{'end'} // (defined $opts{'len'} ? $start + $opts{'len'} : CORE::length $origstr)
315 7 16 31 $ts < 0 or $tf & 1
316 6 13 35 $te > $len or $tf & 2
564 130 17 7 $as <=> $bs || $ae <=> $be
1474 10 5 14 $te > $oldend or $te == $oldend and $tf & 2