Branch Coverage

blib/lib/WWW/Pastebin/PastebinCom/Retrieve.pm
Criterion Covered Total %
branch 15 32 46.8


line true false branch
19 0 1 unless defined $id and length $id
22 0 1 unless (my $uri, $id) = $self->_make_uri_and_id($id, @_)
30 1 0 if ($response->is_success or $response->code == 404) { }
53 0 1 unless defined $id and length $id
56 0 1 unless defined $private
68 0 1 if $content =~ m[404 Not Found] and not $content =~ /
/
79 0 965 if ($t->is_start_tag('div') and defined $t->get_attr('id') and $t->get_attr('id') eq 'content') { }
0 965 elsif ($nav{'start'} == 1 and $t->is_start_tag('h1')) { }
0 965 elsif ($nav{'get_name_date'} == 1 and $t->is_text) { }
0 965 elsif ($nav{'start'} == 1 and $t->is_start_tag('option') and defined $t->get_attr('selected')) { }
0 965 elsif ($nav{'get_lang'} == 1 and $t->is_text) { }
0 965 elsif ($nav{'start'} == 1 and $t->is_start_tag('textarea') and defined $t->get_attr('id') and $t->get_attr('id') eq 'code') { }
0 965 elsif ($nav{'get_content'} == 1 and $t->is_text) { }
0 1930 elsif ($nav{'get_content'} == 1 and $t->is_end_tag('textarea')) { }
121 1 0 unless ($nav{'is_success'})
129 0 0 unless (defined $_ and length $_)