Branch Coverage

blib/lib/Chess/Piece.pm
Criterion Covered Total %
branch 40 68 58.8


line true false branch
230 0 139 unless $init_sq and $color
234 9 130 if $desc
244 0 14707 unless $r_piece
255 0 3 unless $r_piece
263 0 165 unless $r_piece
270 0 1 unless ref $self
272 0 1 unless $r_piece
278 0 17942 unless ref $self
280 0 17942 unless $r_piece
286 0 202 unless ref $self
288 0 202 unless $r_piece
294 0 4 unless ref $self
296 0 4 unless $r_piece
302 0 2 unless ref $self
304 0 2 unless $r_piece
310 0 2808 unless ref $self
312 0 2808 unless $r_piece
318 0 2103 unless ref $self
320 0 2103 unless $r_piece
326 0 204 unless ref $self
328 0 204 unless $r_piece
329 200 4 if $set
330 4 200 if not $set
335 0 135 unless ref $self
337 0 135 unless $r_piece
343 0 318 unless ref $self
345 0 318 unless $r_piece
346 53 265 if $set
347 265 53 if not $set
352 0 10753 unless ref $self
354 0 10753 unless $r_piece
360 0 35 unless ref $self
362 0 35 unless $r_piece
363 34 1 if ($set) { }