lib/Catan/Map/Intersection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 21 | 47.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
14 | 0 | 0 | 1055 | $tiles and ref $tiles eq 'ARRAY' |
0 | 0 | 1055 | $tiles and ref $tiles eq 'ARRAY' and @$tiles == 3 | |
39 | 0 | 3441 | 0 | $location and $location->isa('Catan::Map::Intersection') || $location->isa('Catan::Map::Path') |
51 | 0 | 20140 | 0 | $location and $location->isa('Catan::Map::Intersection') || $location->isa('Catan::Map::Tile') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 3163 | 6325 | 1 | $t1 eq $t2 or $t1->hex_distance($t2) == 1 |
39 | 3441 | 0 | 0 | $location->isa('Catan::Map::Intersection') || $location->isa('Catan::Map::Path') |
51 | 18145 | 1995 | 0 | $location->isa('Catan::Map::Intersection') || $location->isa('Catan::Map::Tile') |