Condition Coverage

blib/lib/Geo/Postcodes.pm
Criterion Covered Total %
condition 19 39 48.7


and 3 conditions

line !l l&&!r l&&r condition
294 16 20 5 @args and $args[0] eq 'not'
36 0 5 @args and $args[0] eq 'not' and is_legal_initial_selectionmode("$mode $args[0]")
304 33 3 1 $mode eq 'one' and @args == 0
337 0 4 1 @args and $args[0] eq 'not'
4 0 1 @args and $args[0] eq 'not' and is_legal_selectionmode("$argument $args[0]")
502 1 0 0 $_[1] eq 'not' and is_legal_initial_selectionmode("$_[0] $_[1]")
569 0 0 0 $_[1] eq 'not' and is_legal_selectionmode("$_[0] $_[1]")
641 0 0 0 $match and $out{$postcode}
646 0 0 0 not $match and $out{$postcode}
665 0 0 0 $match and not $out{$postcode}

or 3 conditions

line l !l&&r !l&&!r condition
259 11 37 12 $legal_initial_mode{$mode} or $legal_mode{$mode}
303 2 2 37 $mode eq 'all' or $mode eq 'none'
660 0 0 0 $match || $out{$postcode}