Branch Coverage

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


line true false branch
14 0 1055 unless $tiles and ref $tiles eq 'ARRAY' and @$tiles == 3
22 1 9488 unless $t1 eq $t2 or $t1->hex_distance($t2) == 1
39 0 3441 unless $location and $location->isa('Catan::Map::Intersection') || $location->isa('Catan::Map::Path')
42 0 3441 $location->isa('Catan::Map::Path') ? :
51 0 20140 unless $location and $location->isa('Catan::Map::Intersection') || $location->isa('Catan::Map::Tile')
57 18145 1995 if ($location->isa('Catan::Map::Intersection')) { }
73 214 5771 $tile eq $location ? :