lib/Catan/Map/Path.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 21 | 57.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
13 | 0 | 0 | 895 | $intersections and ref $intersections eq 'ARRAY' |
0 | 0 | 895 | $intersections and ref $intersections eq 'ARRAY' and @$intersections == 2 | |
34 | 0 | 167 | 0 | $obj and $obj->isa('Catan::Map::Intersection') || $obj->isa('Catan::Map::Path') |
55 | 0 | 0 | 25579 | $obj and $obj->isa('Catan::Map::Path') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
34 | 111 | 56 | 0 | $obj->isa('Catan::Map::Intersection') || $obj->isa('Catan::Map::Path') |
41 | 22 | 7 | 82 | $obj eq $self->{'start'} || $obj eq $self->{'end'} |
47 | 4 | 8 | 38 | $obj->{'start'} eq $self->{'start'} || $obj->{'start'} eq $self->{'end'} || $obj->{'end'} eq $self->{'start'} || $obj->{'end'} eq $self->{'end'} |