Branch Coverage

blib/lib/Stancer/Core/Request.pm
Criterion Covered Total %
branch 27 28 96.4


line true false branch
35 22 64 if (scalar @args == 1) { }
48 23 63 if (scalar @params)
86 9 105 if ($object and $object->isa("Stancer::Payment"))
87 4 5 if ($object->card and $object->card->number)
97 2 7 if ($object->sepa and $object->sepa->iban)
119 0 116 if defined $config->timeout
129 19 97 if ($response->is_error)
140 4 1 if (ref $content eq "HASH" and exists $content->{'error'})
143 3 1 if (ref $content->{'error'}{'message'} eq "HASH")
144 2 1 if (exists $content->{'error'}{'message'}{'id'})
148 2 1 if (exists $content->{'error'}{'message'}{'error'})
151 1 1 if (exists $content->{'error'}{'message'}{'id'})
164 5 14 if ($config->debug)
175 95 2 if ($config->debug)