Branch Coverage

blib/lib/Business/GoCardless/Resource.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
77 10 8 if $sub_key
87 0 203 if ($@)
98 5 3 $operation ? :
104 3 5 if $suffix
108 3 5 if ($self->client->api_version > 1)
111 2 1 if ref $self eq "Business::GoCardless::Payment"
113 1 2 if ref $self eq "Business::GoCardless::Subscription"
115 0 3 if ref $self eq "Business::GoCardless::Mandate"
120 0 129 if ($@)
133 2 1 $self->client->api_version > 1 ? :