Branch Coverage

blib/lib/PDF/API2/Annotation.pm
Criterion Covered Total %
branch 13 60 21.6


line true false branch
74 0 1 if ($_[0] and $_[0] =~ /^-/) { }
83 0 1 unless (ref $destination)
91 0 1 if (%options) { }
97 0 0 if defined $options{'-rect'}
98 0 0 if defined $options{'-border'}
129 0 1 if defined $options{'-rect'}
130 0 1 if defined $options{'-border'}
153 0 1 if defined $options{'-rect'}
154 0 1 if defined $options{'-border'}
184 0 1 if ($_[0] and $_[0] =~ /^-/) { }
197 0 1 if (%options) { }
198 0 1 if ($dest =~ m[^/(.+)]) { }
209 0 0 if defined $options{'-rect'}
210 0 0 if defined $options{'-border'}
230 2 0 if defined $options{'-rect'}
231 0 2 if defined $options{'-open'}
258 0 0 if defined $options{'-rect'}
275 0 2 unless (scalar @coordinates == 4)
292 0 0 unless (scalar @attributes == 3)
331 0 0 $value ? :
338 0 0 unless (ref $page)
344 0 0 unless keys %options
346 0 0 if (defined $options{'-fit'}) { }
0 0 elsif (defined $options{'-fith'}) { }
0 0 elsif (defined $options{'-fitb'}) { }
0 0 elsif (defined $options{'-fitbh'}) { }
0 0 elsif (defined $options{'-fitv'}) { }
0 0 elsif (defined $options{'-fitbv'}) { }
0 0 elsif (defined $options{'-fitr'}) { }
0 0 elsif (defined $options{'-xyz'}) { }