Branch Coverage

blib/lib/Net/Payjp.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
96 1 81 if @_
102 1 70 if @_
108 60 71 if @_
614 27 51 if (ref $p{'param'} eq "HASH" and keys %{$p{"param"};} > 0)
617 17 10 if ($with_param and $method eq 'GET' || $method eq 'DELETE')
624 10 68 if ($method eq 'POST' and $with_param) { }
647 71 7 if ($code == 200) { }
3 4 elsif ($code == 429 and $retry < $self->{'max_retry'}) { }
3 1 elsif ($code =~ /^4/) { }
649 45 26 if $obj->id
695 2 12 if (ref $param->{$k} eq 'HASH') { }