Condition Coverage

lib/Settlers/Map/Intersection.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
14 0 0 1163 $tiles and ref $tiles eq 'ARRAY'
0 0 1163 $tiles and ref $tiles eq 'ARRAY' and @$tiles == 3
39 0 3441 0 $location and $location->isa('Settlers::Map::Intersection') || $location->isa('Settlers::Map::Path')
51 0 19246 0 $location and $location->isa('Settlers::Map::Intersection') || $location->isa('Settlers::Map::Tile')

or 3 conditions

line l !l&&r !l&&!r condition
22 3487 6973 1 $t1 eq $t2 or $t1->hex_distance($t2) == 1
39 3441 0 0 $location->isa('Settlers::Map::Intersection') || $location->isa('Settlers::Map::Path')
51 18199 1047 0 $location->isa('Settlers::Map::Intersection') || $location->isa('Settlers::Map::Tile')