Branch Coverage

blib/lib/Image/MetaData/JPEG/access/comments.pl
Criterion Covered Total %
branch 22 26 84.6


line true false branch
26 8 18 unless defined $_[0]
78 10 3 @indexes ? :
96 0 15 unless defined $index
97 1 14 if $index < 0
101 1 13 if $#indexes < $index
161 0 6 unless defined $separation
163 1 5 unless @selection
168 1 14 if (not defined $_) { }
2 12 elsif ($_ =~ /[^\d]/) { }
1 11 elsif ($_ < 0 or $_ > $#indexes) { }
171 4 11 if defined $error
172 0 11 defined $error ? :
175 0 2 unless @selection