| blib/lib/Mock/Data/Set.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 32 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 13 | 17 | 2 | 0 | @_ == 1 && ref $_[0] eq 'HASH' |
| 17 | 0 | 2 | @_ == 1 && ref $_[0] eq 'ARRAY' | |
| 62 | 1 | 31 | 69 | $max > $min && $tbl->[$max] <= $r |
| 65 | 104 | 0 | 4 | ref $cmp_item and ref($cmp_item)->can('generate') |
| 90 | 3 | 0 | 2 | ref $_ and ref($_)->can('generate') |
| 92 | 0 | 0 | 2 | ref $_ && ref($_)->can('generate') |
| 115 | 0 | 0 | 0 | $max > $min && $odds_table->[$max] <= $r |
| 138 | 0 | 0 | 0 | $weights && @$weights |
| line | l | !l | condition |
|---|---|---|---|
| 79 | 7 | 0 | $weights->[$_] ||= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 70 | 99 | 2 | 0 | $_[0]{'_odds_table'} ||= $_[0]->_build__odds_table |
| 129 | 0 | 0 | 1 | $weights or $peer_weights |