Branch Coverage

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


line true false branch
64 14 13 if ($costs[$i]->relative) { }
71 11 16 if ($costs[$i]->compound) { }
11 5 elsif (not $costs[$i]->inclusive) { }
156 1 14 unless defined $args[0]
158 2 12 &CartCost()->check($args[0]) ? :
185 23 1 if (defined $loc) { }
186 11 12 if ($loc =~ /^\d+$/) { }
11 1 elsif ($loc =~ /\S/) { }
195 10 8 if ($c->name eq $loc)
205 20 3 if (defined $cost) { }