Branch Coverage

blib/lib/Tags/HTML/Image/Grid.pm
Criterion Covered Total %
branch 2 34 5.8


line true false branch
65 3 14 if (defined $self->{$callback_key} and ref $self->{$callback_key} ne "CODE")
78 0 0 unless (&blessed($image) or $image->isa("Data::Image"))
100 0 0 if (defined $self->{'title'})
111 0 0 if (defined $self->{'img_link_cb'})
124 0 0 if (defined $self->{'img_select_cb'})
126 0 0 if (ref $select_hr eq "HASH" and exists $select_hr->{'value'})
133 0 0 exists $select_hr->{'value'} ? :
142 0 0 if (defined $image->url) { }
0 0 elsif (defined $image->url_cb) { }
0 0 elsif (defined $self->{'img_src_cb'}) { }
152 0 0 if (defined $self->{'img_border_width'} and defined $self->{'img_border_color_cb'})
154 0 0 if (defined $border_color)
158 0 0 defined $img_style ? :
169 0 0 if (defined $image->comment)
183 0 0 if (defined $self->{'img_link_cb'})
189 0 0 if (defined $self->{'title'})
207 0 0 if (defined $self->{'img_border_width'})