Branch Coverage

blib/lib/PDF/Builder/Annotation.pm
Criterion Covered Total %
branch 9 124 7.2


line true false branch
84 0 0 if (ref $page)
89 0 0 if defined $options{'-rect'}
90 0 0 if defined $options{'-border'}
91 0 0 if defined $options{'-color'}
120 0 0 if defined $options{'-rect'}
121 0 0 if defined $options{'-border'}
122 0 0 if defined $options{'-color'}
143 0 0 if defined $options{'-rect'}
144 0 0 if defined $options{'-border'}
145 0 0 if defined $options{'-color'}
165 0 0 if defined $options{'-rect'}
166 0 0 if defined $options{'-border'}
167 0 0 if defined $options{'-color'}
221 2 0 if defined $options{'-rect'}
222 0 2 if defined $options{'-open'}
223 0 2 if defined $options{'-color'}
226 0 2 if exists $options{'-text'}
228 0 2 if (defined $options{'-opacity'})
234 0 2 if exists $options{'-icon'}
235 0 2 if $icon and not ref $icon
237 0 2 if $icon
317 0 0 if (scalar @pointList == 0 or scalar(@pointList) % 8)
331 0 0 if defined $options{'-open'}
332 0 0 if (defined $options{'-color'}) { }
339 0 0 if exists $options{'-text'}
341 0 0 if (defined $options{'-opacity'})
380 0 0 if defined $options{'-rect'}
381 0 0 if defined $options{'-border'}
382 0 0 if defined $options{'-color'}
385 0 0 if exists $options{'-text'}
468 0 0 if exists $options{'-icon'}
470 0 0 if defined $options{'-rect'}
472 0 0 if exists $options{'-text'}
474 0 0 if (defined $options{'-opacity'})
505 0 0 unless (defined $options{'-notrimpath'})
506 0 0 if ($cName =~ m(([^/\\]+)$))
511 0 0 if $icon and not ref $icon
513 0 0 if defined $options{'-color'}
526 0 0 if $icon
575 0 2 unless scalar @r == 4
617 0 0 if (scalar @b == 3) { }
0 0 elsif (scalar @b == 4) { }
673 0 0 $bool ? :
760 0 0 if (ref $page) { }
763 0 0 if (defined $position{'-fit'}) { }
0 0 elsif (defined $position{'-fith'}) { }
0 0 elsif (defined $position{'-fitb'}) { }
0 0 elsif (defined $position{'-fitbh'}) { }
0 0 elsif (defined $position{'-fitv'}) { }
0 0 elsif (defined $position{'-fitbv'}) { }
0 0 elsif (defined $position{'-fitr'}) { }
0 0 elsif (defined $position{'-xyz'}) { }
776 0 0 unless scalar @{$position{'-fitr'};} == 4
779 0 0 unless scalar @{$position{'-xyz'};} == 3
780 0 0 defined $_ ? :
784 0 0 defined $_ ? :
841 0 0 if (scalar @color == 1 and $color[0] >= 0 and $color[0] <= 1) { }
0 0 elsif (scalar @color == 3 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1 and $color[2] >= 0 and $color[2] <= 1) { }
0 0 elsif (scalar @color == 4 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1 and $color[2] >= 0 and $color[2] <= 1 and $color[3] >= 0 and $color[3] <= 1) { }
880 0 0 if defined $options{'-rect'}
884 0 0 if ($icon eq 'None') { }
0 0 elsif (ref $icon) { }