Branch Coverage

lib/SVG/Estimate/Path.pm
Criterion Covered Total %
branch 29 34 85.2


line true false branch
63 0 56 @args % 2 ? :
65 2 54 if (not exists $args->{'d'} or $args->{'d'} =~ /^\s*$/)
87 3 0 $subpath->{'type'} eq 'closepath' ? :
1 3 $subpath->{'type'} eq 'arc' ? :
6 4 $subpath->{'type'} eq 'vertical-line-to' ? :
32 10 $subpath->{'type'} eq 'horizontal-line-to' ? :
0 42 $subpath->{'type'} eq 'quadratic-bezier' ? :
925 42 $subpath->{'type'} eq 'cubic-bezier' ? :
56 967 $subpath->{'type'} eq 'line-to' ? :
57 1023 $subpath->{'type'} eq 'moveto' ? :
88 3 1077 if ($subpath->{'type'} eq 'closepath')
93 56 1024 if ($first_flag)
105 163 917 if $command->min_x < $args->{'min_x'}
106 537 543 if $command->max_x > $args->{'max_x'}
107 125 955 if $command->min_y < $args->{'min_y'}
108 16 1064 if $command->max_y > $args->{'max_y'}
109 0 0 if (exists $args->{'summarize'} and $args->{'summarize'})