| blib/lib/Voting/Condorcet/RankedPairs.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 28 | 28 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 124 | 1 | 21 | if (@_ != 4) |
| 128 | 2 | 19 | if ($result < 0 or $result > 1) |
| 135 | 3 | 16 | if ($result == 0.5) |
| 143 | 4 | 12 | if $result < 0.5 |
| 145 | 5 | 11 | if ($$this{'ordered_input'}) { } |
| 154 | 1 | 4 | if ($distance > $max_dist) |
| 178 | 2 | 11 | if ($graph->is_cyclic) |
| 196 | 1 | 3 | unless defined wantarray |
| 211 | 1 | 4 | unless defined wantarray |
| 229 | 1 | 3 | unless defined wantarray |
| 248 | 1 | 3 | unless defined wantarray |
| 278 | 1 | 10 | unless defined wantarray |
| 295 | 1 | 6 | unless defined wantarray |
| 317 | 21 | 2 | unless @{$$this{'pairs'};} |