| blib/lib/Schedule/AdaptiveThrottler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 24 | 45.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 30 | 0 | 8 | 0 | blessed $client and $client->can('set') |
| 0 | 8 | 0 | blessed $client and $client->can('set') and $client->can('get') | |
| 85 | 0 | 0 | 74 | exists $params{$condition_type_tmp} and reftype($params{$condition_type_tmp}) eq 'HASH' |
| 101 | 148 | 148 | 0 | $condition_param_key eq 'max' || $condition_param_key eq 'ttl' and not $$condition_params{$condition_param_key} =~ /^[1-9][0-9]*$/ |
| 116 | 0 | 74 | 0 | defined $lockout and not $lockout =~ /^[1-9][0-9]*$/ |
| 223 | 74 | 0 | 0 | $conditions_unknown and not $QUIET |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 101 | 74 | 74 | 148 | $condition_param_key eq 'max' || $condition_param_key eq 'ttl' |
| 120 | 0 | 0 | 74 | not defined $identifier or length $identifier < 1 |