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
77 0 22 727 $roles->[-1] and &any(sub { $roles->[-1] eq $_; } , ('White', 'Black'))
82 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
87 109 0 618 $sign && defined $difference
212 7943 18723 3909 @lastRoles == 2 and $lastRoles[0] eq $lastRoles[1]

or 3 conditions

line l !l&&r !l&&!r condition
168 2107 0 74379 shift() || $self->{'sign'}
230 0 0 0 shift() || $self->{'round'}