Condition Coverage

blib/lib/Games/Mines/Play.pm
Criterion Covered Total %
condition 16 29 55.1


and 3 conditions

line !l l&&!r l&&r condition
107 4 0 2 exists $opt{'small'} and $opt{'small'}
2 0 2 exists $opt{'medium'} and $opt{'medium'}
0 0 2 exists $opt{'large'} and $opt{'large'}
117 5 0 1 defined $opt{'height'} and $opt{'height'} > 1
120 5 0 1 defined $opt{'width'} and $opt{'width'} > 1
123 5 0 1 defined $opt{'mines'} and $opt{'mines'} > 0

or 2 conditions

line l !l condition
148 3 0 shift() || 'field'

or 3 conditions

line l !l&&r !l&&!r condition
60 2 62 0 ref $base || $base
272 1 0 0 $game ||= $$mine_field{'game number'}
375 2 0 0 $game ||= $$field{'game number'}