blib/lib/Games/Tournament/Contestant/Swiss/Preference.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 24 | 75.0 |
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 | 7984 | 18723 | 3909 | @lastRoles == 2 and $lastRoles[0] eq $lastRoles[1] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
162 | 2221 | 0 | 74502 | shift() || $self->{'sign'} |
224 | 0 | 0 | 0 | shift() || $self->{'round'} |