Condition Coverage

blib/lib/String/Tagged.pm
Criterion Covered Total %
condition 72 84 85.7


and 3 conditions

line !l l&&!r l&&r condition
259 24 1 1 $only and not $only->{$tn}
260 25 0 0 $except and $except->{$tn}
263 23 0 2 $convert and my $c = $convert->{$tn}
350 6 3 1 defined $width and $width eq "*"
351 8 1 1 defined $precision and $precision eq "*"
730 0 0 5 $start == $ts and $end == $te
0 0 5 $start == $ts and $end == $te and $name eq $tn
749 1 1 2 $keepends and $end < $te
760 1 2 1 $keepends and $ts < $start
905 4 1 1 local $b = $$tags[$i + 1] and _cmp_tags() > 0
907 0 1 0 local $b = $tags->[$newpos] and _cmp_tags() <= 0
997 97 1 2 $only and not $only->{$tn}
998 95 2 1 $except and $except->{$tn}
1096 69 1 2 $only and not $only->{$tn}
1097 67 2 1 $except and $except->{$tn}
1108 41 0 1 $tagends{$n} and $tagends{$n} < $e
1132 68 3 1 $tagends{$n} and $tagends{$n} < $e
1363 1 1 1 $ts <= $pos and $te > $pos
1434 22 8 12 $ts >= $start and not $tf & 1
1443 11 3 6 $te == $oldend and $tf & 2
1515 18 3 0 $atstart && $e->anchor_before
3 13 5 $atend && $e->anchor_after
1639 3 11 3 ref $self eq 'String::Tagged' && is_string_tagged($other)
1758 4 0 1 defined $limit and @ret == $limit - 1

or 3 conditions

line l !l&&r !l&&!r condition
509 5 8 9 $ts < 0 or $tf & 1
510 5 8 9 $te > $end or $tf & 2
542 126 17 7 $as <=> $bs || $ae <=> $be
1443 10 6 14 $te > $oldend or $te == $oldend and $tf & 2