| blib/lib/Algorithm/SetCovering.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 24 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 0 | 3 | unless exists $options{'columns'} |
| 35 | 0 | 15 | if ($$self{'columns'} != scalar @columns) |
| 60 | 5 | 6 | if ($$self{'mode'} eq 'brute_force') { } |
| 6 | 0 | elsif ($$self{'mode'} eq 'greedy') { } | |
| 74 | 1 | 4 | unless $$self{'prepared'} |
| 82 | 35 | 60 | unless $columns_to_cover[$idx] |
| 83 | 23 | 37 | unless $$combo[0][$idx] |
| 129 | 80 | 75 | if ($combo & $masks[$key_idx]) |
| 177 | 14 | 10 | if $columns_to_cover[$i] |
| 183 | 35 | 85 | if $columns_to_cover[$i] and $$row[$i] |
| 199 | 11 | 34 | if (scalar @keys > $max_len) |
| 207 | 2 | 7 | unless $max_len |