Condition Coverage

blib/lib/Wiki/Toolkit/Plugin/Locator/Grid.pm
Criterion Covered Total %
condition 0 33 0.0


and 3 conditions

line !l l&&!r l&&r condition
168 0 0 0 $args{'from_x'} and $args{'from_y'}
174 0 0 0 $args{'to_x'} and $args{'to_y'}
180 0 0 0 $from[0] and $from[1]
0 0 0 $from[0] and $from[1] and $to[0]
0 0 0 $from[0] and $from[1] and $to[0] and $to[1]
218 0 0 0 $args{'x'} and $args{'y'}
250 0 0 0 ref $store eq 'Wiki::Toolkit::Store::SQLite' and $DBD::SQLite::VERSION >= '1.00'
262 0 0 0 defined $dist and $dist <= $metres

or 2 conditions

line l !l condition
85 0 0 $args{'x'} || 'x'
86 0 0 $args{'y'} || 'y'
165 0 0 $args{'unit'} ||= 'metres'

or 3 conditions

line l !l&&r !l&&!r condition
214 0 0 0 $args{'metres'} || $args{'kilometres'} * 1000 || croak('Please supply a distance')