Condition Coverage

blib/lib/String/Tagged.pm
Criterion Covered Total %
condition 77 89 86.5


and 3 conditions

line !l l&&!r l&&r condition
292 53 1 1 $only and not $only->{$tn}
293 54 0 0 $except and $except->{$tn}
296 52 0 2 $convert and my $c = $convert->{$tn}
391 6 3 1 defined $width and $width eq "*"
392 8 1 1 defined $precision and $precision eq "*"
750 0 0 5 $start == $ts and $end == $te
0 0 5 $start == $ts and $end == $te and $name eq $tn
769 1 1 2 $keepends and $end < $te
780 1 2 1 $keepends and $ts < $start
925 4 1 1 local $b = $$tags[$i + 1] and _cmp_tags() > 0
927 0 1 0 local $b = $tags->[$newpos] and _cmp_tags() <= 0
1017 71 1 2 $only and not $only->{$tn}
1018 69 2 1 $except and $except->{$tn}
1116 69 1 2 $only and not $only->{$tn}
1117 67 2 1 $except and $except->{$tn}
1128 41 0 1 $tagends{$n} and $tagends{$n} < $e
1152 68 3 1 $tagends{$n} and $tagends{$n} < $e
1383 1 1 1 $ts <= $pos and $te > $pos
1454 21 7 12 $ts >= $start and not $tf & 1
1463 11 3 4 $te == $oldend and $tf & 2
1535 18 3 0 $atstart && $e->anchor_before
3 13 5 $atend && $e->anchor_after
1659 3 11 3 ref $self eq 'String::Tagged' && is_string_tagged($other)
1778 4 0 1 defined $limit and @ret == $limit - 1

or 2 conditions

line l !l condition
274 30 26 $opts{'start'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
277 2 53 1 $opts{'end'} // (defined $opts{'len'} ? $start + $opts{'len'} : CORE::length $origstr)
313 7 15 31 $ts < 0 or $tf & 1
314 6 13 34 $te > $len or $tf & 2
562 130 17 7 $as <=> $bs || $ae <=> $be
1463 10 4 14 $te > $oldend or $te == $oldend and $tf & 2