Condition Coverage

blib/lib/Games/Cards/Undo.pm
Criterion Covered Total %
condition 1 13 7.6


and 3 conditions

line !l l&&!r l&&r condition
140 0 0 0 $Max_Size and grep {ref $_ eq $end_class;} @Undo_List > $Max_Size

or 2 conditions

line l !l condition
82 0 0 shift() || 0
225 1288 0 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
104 0 0 0 not defined $Current_Atom or $Current_Atom == -1
0 0 0 not defined $Current_Atom or $Current_Atom == -1 or ref $Undo_List[$Current_Atom] eq 'Games::Cards::Undo::End_Move'