Branch Coverage

blib/lib/WWW/ImagebinCa/Retrieve.pm
Criterion Covered Total %
branch 7 36 19.4


line true false branch
23 0 2 if @_ & 1
43 1 1 if (@_ == 1) { }
47 0 1 if @_ & 1
56 2 0 unless (defined $args{'do_download_image'})
60 0 2 unless (defined $args{'what'})
73 0 2 if ($response->is_success) { }
95 0 0 if ($token->is_start_tag('img') and $token->get_attr('id') and $token->get_attr('id') eq 'theimg') { }
0 0 elsif ($get_description == 1 and $token->is_start_tag('div') and defined $token->get_attr('style')) { }
0 0 elsif ($get_description == 2 and $token->is_text) { }
106 0 0 if ($token->get_attr('style') =~ /background/i) { }
118 0 0 unless (defined $image_uri)
123 0 0 unless (defined $description)
130 0 0 if ($$args_ref{'do_download_image'})
135 0 0 if (defined $$args_ref{'save_as'})
148 0 0 if (defined $$args_ref{'save_as'}) { }
149 0 0 defined $$args_ref{'where'} ? :
154 0 0 defined $$args_ref{'where'} ? :
160 0 0 if ($response->is_success) { }