Branch Coverage

blib/lib/WWW/Shorten/SCK.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
29 0 2 unless my $url = shift()
33 0 2 unless $resp->is_success
35 2 0 if (ref $content and $content->{'status'} eq 'OK')
42 0 2 unless my $sck_url = shift()
47 2 0 if ($sck_url =~ m[^https?://sck.pm/(.*)$]x)
52 0 2 unless $resp->is_success
54 2 0 if (ref $content and $content->{'status'} eq 'OK')