Condition Coverage

blib/lib/Net/Payjp.pm
Criterion Covered Total %
condition 27 29 93.1


and 3 conditions

line !l l&&!r l&&r condition
551 31 12 23 ref $p{'param'} eq "HASH" and keys %{$p{"param"};} > 0
554 43 22 1 $with_param and $method eq 'GET' || $method eq 'DELETE'
561 42 15 9 $method eq "POST" and $with_param
584 2 2 3 $code == 429 and $retry < $self->{'max_retry'}

or 2 conditions

line l !l condition
86 2 111 $p{'max_retry'} || 0
546 62 4 $p{'method'} || 'GET'
547 3 63 $p{'retry'} || 0
646 31 2 $self->id || ''

or 3 conditions

line l !l&&r !l&&!r condition
86 100 13 0 $p{'initial_delay'} || $INITIAL_DELAY_SEC
100 0 13 $p{'max_delay'} || $MAX_DELAY_SEC
554 13 1 9 $method eq 'GET' || $method eq 'DELETE'