Branch Coverage

blib/lib/Net/Payjp.pm
Criterion Covered Total %
branch 13 30 43.3


line true false branch
92 0 47 if @_
98 0 2 if @_
104 0 1 if @_
110 7 42 if @_
116 2 3 if @_
575 0 1 if ($method eq 'GET') { }
1 0 elsif ($method eq 'POST') { }
0 0 elsif ($method eq 'DELETE') { }
576 0 0 if ($p{'param'}) { }
588 1 0 if (ref $p{'param'} eq 'HASH') { }
616 0 1 if ($res->code == 200) { }
1 0 elsif ($res->code =~ /^4/) { }
618 0 0 if $obj->id
625 0 0 if ($res->content =~ /status_code/) { }
655 0 3 if (ref $param->{$k} eq 'HASH') { }