Condition Coverage

blib/lib/Geo/Parse/OSM.pm
Criterion Covered Total %
condition 15 36 41.6


and 3 conditions

line !l l&&!r l&&r condition
104 1 0 0 exists $prop{'only'} and ref $prop{'only'}
105 1 0 0 exists $prop{'only'} and not ref $prop{'only'}
112 0 0 0 defined $res and $res eq 'stop'
0 0 0 defined $res and $res eq 'stop' and $prop{'save'}
113 0 0 0 defined $res and $res eq 'stop'
122 3 6 3 %object and $line =~ / ^\s* ["']) (?.*?) \k .*? \bv = \k (?.*?) \k /x
3 1 5 %object and $line =~ / ^\s* ["']) (?.*?) \k /x
3 1 0 %object and $line =~ / ^\s* ["']) (?.*?) \k .*? \bref = \k (?.*?) \k .*? \brole = \k (?.*?) \k /x
126 5 0 0 %filter and not exists $filter{$obj}
152 3 9 5 %object and $line =~ m[ ^\s* <(?: / $object{'type'} | $object{'type'} .* / > ) ]x
154 0 5 0 defined $res and $res eq 'stop'

or 3 conditions

line l !l&&r !l&&!r condition
184 0 0 0 not exists $$self{$obj} or defined $$self{$obj}