Branch Coverage

blib/lib/Flickr/API2/Raw.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
68 58 1 defined $args->{$key} ? :
92 0 1 unless defined $self->{'api_secret'} and length $self->{'api_secret'}
99 1 0 if ($frob)
124 10 0 if (defined $self->{'api_secret'} and length $self->{'api_secret'})
133 0 10 unless $response->code == 200
137 0 10 unless defined $content
140 0 10 if ($@)
144 8 2 if ($json->{'stat'} eq 'ok')
175 0 10 if (not $r->is_success and $r->status_line =~ /timeout/u)