Condition Coverage

blib/lib/Image/Base/SVG.pm
Criterion Covered Total %
condition 18 23 78.2


and 3 conditions

line !l l&&!r l&&r condition
81 0 0 8 ($elem = _get_tag($self, $tagname)) && $elem->getCDATA

or 2 conditions

line l !l condition
134 4 0 ($svg->getElements($svg->{'-docroot'}))[0] || die('Oops, -docroot element not found')

or 3 conditions

line l !l&&r !l&&!r condition
156 1 0 2 $x1 == $x2 || $y1 == $y2
1 1 2 $fill ||= $x1 == $x2 || $y1 == $y2
174 1 1 1 $x1 == $x2 || $y1 == $y2
1 2 1 $fill ||= $x1 == $x2 || $y1 == $y2
204 1 0 1 $x1 == $x2 || $y1 == $y2
1 1 1 $fill ||= $x1 == $x2 || $y1 == $y2