Branch Coverage

blib/lib/CSS/Orientation.pm
Criterion Covered Total %
branch 27 42 64.2


line true false branch
378 1 0 defined($_ = CalculateNewBackgroundLengthPosition($1, $2, $3, $4, $5, $6, $7, $ignore_bad_bgp)) ? :
384 1 0 defined($_ = CalculateNewBackgroundLengthPositionX($1, $2, $3, $ignore_bad_bgp)) ? :
395 4 12 if (@part == 4) { }
4 8 elsif (@part == 3) { }
2 6 elsif (@part == 2) { }
2 4 elsif (@part == 1) { }
418 4 2 if ($second_group eq '') { }
430 8 5 defined $m[1] ? :
444 1 0 @_ > 7 ? :
447 0 1 unless ($m[4] =~ /$ZERO_LENGTH/)
449 0 0 $ignore_bad_bgp ? :
452 1 0 defined $m[1] ? :
459 1 0 @_ > 3 ? :
462 0 1 unless ($m[2] =~ /$ZERO_LENGTH/)
464 0 0 $ignore_bad_bgp ? :
491 0 102 ref $lines ? :
512 11 91 if ($swap_left_right_in_url)
516 11 91 if ($swap_ltr_rtl_in_url)
532 0 102 unless (defined $line)
550 0 102 ref $lines ? :
598 23 0 $1 > 0 && $1 <= @{$$self{'originals'};} ? :