Branch Coverage

lib/SVG/Estimate/Path.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
63 0 3 @args % 2 ? :
84 2 0 $subpath->{'type'} eq 'closepath' ? :
0 2 $subpath->{'type'} eq 'arc' ? :
0 2 $subpath->{'type'} eq 'vertical-line-to' ? :
0 2 $subpath->{'type'} eq 'horizontal-line-to' ? :
0 2 $subpath->{'type'} eq 'quadratic-bezier' ? :
0 2 $subpath->{'type'} eq 'cubic-bezier' ? :
7 2 $subpath->{'type'} eq 'line-to' ? :
4 9 $subpath->{'type'} eq 'moveto' ? :
85 2 11 if ($subpath->{'type'} eq 'closepath')
90 3 10 if ($first_flag)
102 0 13 if $command->min_x < $args->{'min_x'}
103 4 9 if $command->max_x > $args->{'max_x'}
104 0 13 if $command->min_y < $args->{'min_y'}
105 4 9 if $command->max_y > $args->{'max_y'}
106 0 0 if (exists $args->{'summarize'} and $args->{'summarize'})