Condition Coverage

blib/lib/Games/Go/AGA/DataObjects/Round.pm
Criterion Covered Total %
condition 11 36 30.5


and 3 conditions

line !l l&&!r l&&r condition
124 1 2 0 @_ <= 2 and &looks_like_number($which)
3 0 0 @_ <= 2 and &looks_like_number($which) and $which < @{$self->{'games'};}
135 1 3 0 $wid eq $which || $bid eq $which and $wid eq $which2 || $bid eq $which2
268 0 0 0 defined $item0 and defined $item1
277 0 0 0 $item0->can('id') and $item1->can('id')
278 0 0 0 $item0->can('white') and $item1->can('white')
280 0 0 0 $item0->white->id eq $item1->white->id and $item0->black->id eq $item1->black->id
374 0 0 0 $adj_rating and $adj_rating ne $rating

or 3 conditions

line l !l&&r !l&&!r condition
130 1 2 0 $which2 ||= $which
135 0 3 1 $wid eq $which || $bid eq $which
1 2 0 $wid eq $which2 || $bid eq $which2
360 0 0 0 $idx < 0 or $idx > $#{$players;}