blib/lib/Algorithm/Pair/Swiss.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 25 | 32 | 78.1 |
line | true | false | branch |
---|---|---|---|
124 | 1 | 3 | if @_ |
140 | 12 | 4 | unless @_ |
143 | 0 | 14 | unless defined "$i" |
145 | 0 | 14 | if exists $$self{'exclude'}{"$i"} |
185 | 9 | 3 | $y ? : |
12 | 0 | if $x | |
186 | 9 | 0 | $x ? : |
9 | 3 | if $y | |
211 | 11 | 9 | if exists $$exclude{"$p1"}{"$p2"} |
212 | 0 | 9 | if exists $$exclude{"$p2"}{"$p1"} |
213 | 4 | 5 | if @unpaired == 1 |
216 | 0 | 5 | unless @pairs |
219 | 4 | 1 | if (@unpaired % 2 == 0) |
220 | 1 | 3 | if exists $$exclude{"$p1"}{''} |
221 | 2 | 1 | unless @unpaired |
223 | 0 | 1 | unless @pairs |