Branch Coverage

blib/lib/CSS/Janus.pm
Criterion Covered Total %
branch 32 38 84.2


line true false branch
100 2 9 if ($1 eq '(') { }
4 5 elsif ($1 eq ')') { }
261 53 29 if defined $_
263 8 14 if (scalar @part == 4) { }
4 10 elsif (scalar @part == 3) { }
3 7 elsif (scalar @part == 2) { }
3 4 elsif (scalar @part == 1) { }
4 0 elsif (scalar @part == 0) { }
284 4 5 if ($second_group eq '') { }
306 4 5 if ($m[1]) { }
341 0 1 if ($$self{'ignore_bad_bgp'}) { }
363 1 11 unless ($m[4] =~ /^$CSS::Janus::ZERO_LENGTH/)
368 6 5 if (defined $m[1] and length $m[1]) { }
391 0 2 unless ($m[2] =~ /^$CSS::Janus::ZERO_LENGTH/)
433 0 120 unless defined $line
438 120 0 unless (defined $swap_ltr_rtl_in_url)
441 120 0 unless (defined $swap_left_right_in_url)
483 11 109 if ($swap_left_right_in_url)
487 11 109 if ($swap_ltr_rtl_in_url)