Branch Coverage

lib/Catan/Map/Path.pm
Criterion Covered Total %
branch 8 14 57.1


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