Branch Coverage

lib/Settlers/Map/Intersection.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
14 0 1163 unless $tiles and ref $tiles eq 'ARRAY' and @$tiles == 3
22 1 10460 unless $t1 eq $t2 or $t1->hex_distance($t2) == 1
39 0 3441 unless $location and $location->isa('Settlers::Map::Intersection') || $location->isa('Settlers::Map::Path')
42 0 3441 $location->isa('Settlers::Map::Path') ? :
51 0 19246 unless $location and $location->isa('Settlers::Map::Intersection') || $location->isa('Settlers::Map::Tile')
57 18199 1047 if ($location->isa('Settlers::Map::Intersection')) { }
73 140 3001 $tile eq $location ? :