| lib/API/DirectAdmin.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 15 | 30 | 50.0 | 
| line | l | !l | condition | 
|---|---|---|---|
| 169 | 0 | 17 | ref $params eq 'HASH' and scalar keys %$params | 
| 194 | 3 | 21 | ref $params eq 'HASH' and scalar keys %$params | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 94 | 0 | 0 | 14 | ref $hash eq 'HASH' and ref $allowed_keys eq 'ARRAY' | 
| 169 | 0 | 0 | 17 | ref $params eq 'HASH' and scalar keys %$params and $$self{'host'} | 
| 0 | 0 | 17 | ref $params eq 'HASH' and scalar keys %$params and $$self{'host'} and $$params{'command'} | 
| line | l | !l | condition | 
|---|---|---|---|
| 115 | 10 | 3 | $params{'allowed_fields'} || '' | 
| 134 | 8 | 5 | $params{'method'} || 'GET' | 
| 178 | 0 | 17 | $$self{'port'} || 2222 | 
| 274 | 0 | 0 | \%answer || '' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 26 | 0 | 1 | 0 | ref $class || $class | 
| 57 | 9 | 4 | 0 | $$self{"_$alias"} ||= $self->load_component($item) | 
| 58 | 13 | 0 | 0 | $$self{"_$alias"} || confess('Not implemented!') |