Condition Coverage

blib/lib/Games/Tournament/Contestant/Swiss/Preference.pm
Criterion Covered Total %
condition 18 24 75.0


and 3 conditions

line !l l&&!r l&&r condition
71 0 22 727 $roles->[-1] and &any(sub { $roles->[-1] eq $_; } , ('White', 'Black'))
76 198 260 269 $before and $oneBeforeThat
458 222 47 $before and $oneBeforeThat and $oneBeforeThat eq $before
482 23 24 $before and $oneBeforeThat and $oneBeforeThat eq $before and $before eq $lastRole
81 109 0 618 $sign && defined $difference
206 7971 18723 3909 @lastRoles == 2 and $lastRoles[0] eq $lastRoles[1]

or 3 conditions

line l !l&&r !l&&!r condition
162 2294 0 74463 shift() || $self->{'sign'}
224 0 0 0 shift() || $self->{'round'}