Branch Coverage

blib/lib/Interchange6/Role/Costs.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
66 14 13 if ($costs[$i]->relative) { }
73 11 16 if ($costs[$i]->compound) { }
11 5 elsif (not $costs[$i]->inclusive) { }
166 1 13 unless defined $cost
168 2 11 if (&blessed($cost)) { }
169 1 1 unless $cost->isa('Interchange6::Cart::Cost')
201 23 1 if (defined $loc) { }
202 11 12 if ($loc =~ /^\d+$/) { }
11 1 elsif ($loc =~ /\S/) { }
211 10 8 if ($c->name eq $loc)
221 20 3 if (defined $cost) { }