Condition Coverage

blib/lib/GD/SVG.pm
Criterion Covered Total %
condition 4 120 3.3


and 3 conditions

line !l l&&!r l&&r condition
102 0 0 0 ref $self and $$self{'debug'} > 0
703 0 0 0 $start == 0 and $end == 360
0 0 0 $end == 360 and $start == 0
772 0 0 0 $start == 0 and $end == 360
0 0 0 $start == 360 and $end == 0
0 0 0 $end - $start > 180 and $fill_style == 0 || $fill_style == 4
872 0 0 0 $x and $y
880 0 0 0 $x and $y
891 0 0 0 $x >= $topx and $y >= $topy
0 0 0 $x <= $bottomx and $y <= $bottomy
0 0 0 $x >= $topx and $y >= $topy and ($x <= $bottomx and $y <= $bottomy)
1156 0 0 0 $prev and $prev eq $_
0 0 0 $prev and $prev ne $_

or 2 conditions

line l !l condition
330 0 2 $r ||= 0
331 0 2 $g ||= 0
332 0 2 $b ||= 0
333 0 2 $alpha ||= 0
764 0 0 $fill_style ||= 0
1091 0 0 $self->_get_thickness || 1
1098 0 0 $stroke_opacity ||= '1.0'
1145 0 0 $self->_get_thickness || 1
1147 0 0 $thickness ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
290 0 0 0 $$this{'currentGroup'} || $$this{'img'}[-1]
539 0 0 0 $color_index eq 'gdStyled' or $color_index eq 'gdBrushed'
567 0 0 0 $color_index eq 'gdStyled' or $color_index eq 'gdBrushed'
619 0 0 0 $color_index eq 'gdStyled' or $color_index eq 'gdBrushed'
660 0 0 0 $color_index eq 'gdStyled' or $color_index eq 'gdBrushed'
696 0 0 0 $color_index eq 'gdStyled' or $color_index eq 'gdBrushed'
703 0 0 0 $start == 0 and $end == 360 or $end == 360 and $start == 0
754 0 0 0 $color_index eq 'gdStyled' or $color_index eq 'gdBrushed'
765 0 0 0 $fill_style == 2 or $fill_style == 4
0 0 0 $fill_style == 2 or $fill_style == 4 or $fill_style == 6
772 0 0 0 $start == 0 and $end == 360 or $start == 360 and $end == 0
0 0 0 $fill_style == 0 || $fill_style == 4
792 0 0 0 $fill_style == 4 or $fill_style == 6
799 0 0 0 $fill_style == 2 or $fill_style == 6
812 0 0 0 $fill_style == 0 or $fill_style == 4
854 0 0 0 $source->isa('GD::Image') or $source->isa('GD::Simple')
868 0 0 0 $$att{'x'} || $$att{'cx'} || $$att{'x1'}
869 0 0 0 $$att{'y'} || $$att{'cy'} || $$att{'y1'}
901 0 0 0 $type eq 'text' or $type eq 'rect'
0 0 0 $type eq 'circle' or $type eq 'ellipse'
1185 0 0 0 $$self{'prev_line_thickness'} || $$self{'line_thickness'}