Branch Coverage

blib/lib/Stancer/Payment.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
192 2 32 unless defined $this->status
193 4 28 if $this->status eq "captured"
194 4 24 if $this->status eq "capture_sent"
195 4 20 if $this->status eq "to_capture"
196 2 18 if not $this->capture and $this->status eq "authorized"
217 2 37 unless defined $this->status
218 4 33 if $this->status eq "captured"
219 4 29 if $this->status eq "capture_sent"
220 9 20 if $this->status eq "to_capture"
221 2 18 if not $this->capture and $this->status eq "authorized"
241 1 2 if (builtin::blessed($means) and $means->isa("Stancer::Card"))
245 1 2 if (builtin::blessed($means) and $means->isa("Stancer::Sepa"))
249 1 1 unless ($obj->card or $obj->sepa)