Condition Coverage

lib/Settlers/Map/Path.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
34 363 56 0 $obj->isa('Settlers::Map::Intersection') || $obj->isa('Settlers::Map::Path')
41 18 15 330 $obj eq $self->{'start'} || $obj eq $self->{'end'}
47 6 8 38 $obj->{'start'} eq $self->{'start'} || $obj->{'start'} eq $self->{'end'} || $obj->{'end'} eq $self->{'start'} || $obj->{'end'} eq $self->{'end'}