Condition Coverage

lib/Catan/Map/Path.pm
Criterion Covered Total %
condition 0 21 0.0


and 3 conditions

line !l l&&!r l&&r condition
13 0 0 0 $intersections and ref $intersections eq 'ARRAY'
0 0 0 $intersections and ref $intersections eq 'ARRAY' and @$intersections == 2
34 0 0 0 $obj and $obj->isa('Catan::Map::Intersection') || $obj->isa('Catan::Map::Path')
55 0 0 0 $obj and $obj->isa('Catan::Map::Path')

or 3 conditions

line l !l&&r !l&&!r condition
34 0 0 0 $obj->isa('Catan::Map::Intersection') || $obj->isa('Catan::Map::Path')
41 0 0 0 $obj eq $self->{'start'} || $obj eq $self->{'end'}
47 0 0 0 $obj->{'start'} eq $self->{'start'} || $obj->{'start'} eq $self->{'end'} || $obj->{'end'} eq $self->{'start'} || $obj->{'end'} eq $self->{'end'}