Branch Coverage

lib/Catan/Map/Path.pm
Criterion Covered Total %
branch 0 14 0.0


line true false branch
13 0 0 unless $intersections and ref $intersections eq 'ARRAY' and @$intersections == 2
16 0 0 unless $intersections->[0]->is_adjacent($intersections->[1])
34 0 0 unless $obj and $obj->isa('Catan::Map::Intersection') || $obj->isa('Catan::Map::Path')
39 0 0 if ($obj->isa('Catan::Map::Intersection')) { }
0 0 elsif ($obj->isa('Catan::Map::Path')) { }
45 0 0 if $self->is_colliding($obj)
55 0 0 unless $obj and $obj->isa('Catan::Map::Path')