Branch Coverage

blib/lib/Tags/HTML/Image/Grid.pm
Criterion Covered Total %
branch 2 26 7.6


line true false branch
58 3 9 if (defined $self->{$callback_key} and ref $self->{$callback_key} ne "CODE")
71 0 0 unless (&blessed($image) or $image->isa("Data::Image"))
93 0 0 if (defined $self->{'title'})
102 0 0 if (defined $self->{'img_link_cb'})
112 0 0 if (defined $image->url) { }
0 0 elsif (defined $image->url_cb) { }
0 0 elsif (defined $self->{'img_src_cb'}) { }
122 0 0 if (defined $self->{'img_select_cb'})
124 0 0 if (ref $select_hr eq "HASH" and exists $select_hr->{'value'})
131 0 0 exists $select_hr->{'value'} ? :
143 0 0 if ($image->comment)
153 0 0 if (defined $self->{'img_link_cb'})
159 0 0 if (defined $self->{'title'})