Branch Coverage

blib/lib/Chess/Piece/King.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
112 39 0 if (defined $sq1)
115 23 16 if defined $sq2
117 26 13 if defined $sq2
120 39 0 if (defined $sq1)
123 23 16 if defined $sq2
125 26 13 if defined $sq2
128 23 16 if defined $sq1
130 26 13 if defined $sq1
132 28 11 if defined $sq1 and not $self->moved
134 28 11 if defined $sq1 and not $self->moved