Branch Coverage

blib/lib/CanvasCloud/API.pm
Criterion Covered Total %
branch 5 22 22.7


line true false branch
24 0 18 if defined $rest and $rest and not $rest =~ m[^/]
39 0 6 if $request->method eq 'POST' and $request->content_type eq ''
40 0 6 if $self->debug
42 0 6 if $self->debug
44 0 6 if ($resp->is_success)
46 0 0 if (my $link = $resp->header('Link'))
48 0 0 if ($LINK->{'current'} ne $LINK->{'last'})
68 0 0 if ($type =~ /rel="$t"/)
76 0 0 unless $TYPE
87 0 0 ref $content eq 'HASH' ? :
89 0 0 if defined $content