Branch Coverage

blib/lib/WWW/Tumblr.pm
Criterion Covered Total %
branch 12 30 40.0


line true false branch
216 0 8 unless my $name = shift()
238 1 0 if ($response->is_success) { }
274 10 0 if ($method eq 'GET') { }
0 0 elsif ($method eq 'POST') { }
293 10 0 if (my $prev = $res->previous) { }
305 6 0 if ($method eq 'GET') { }
0 0 elsif ($method eq 'POST') { }
355 8 9 if ($method eq 'GET') { }
9 0 elsif ($method eq 'POST') { }
360 0 14 unless defined $params->{$key} and not ref $params->{$key}
367 2 7 $data ? :
368 2 0 if (ref $data eq 'ARRAY') { }
386 0 0 if (ref $_[0] eq 'HASH') { }
0 0 elsif (@_ > 1) { }
391 0 0 $_[0] ? :