| blib/lib/Config/apiLayers.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 54 | 44.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 141 | 0 | 0 | 1 | exists $args->{'attributes'} and ref $args->{'attributes'} eq 'ARRAY' |
| 0 | 0 | 0 | exists $args->{'attributes'} and ref $args->{'attributes'} eq 'HASH' | |
| 210 | 0 | 1 | 1 | exists $args->{'cfg'} and $args->{'cfg'} eq 'getoptlong' |
| 0 | 0 | 1 | exists $args->{'cfg'} and $args->{'cfg'} eq 'descriptions' | |
| 228 | 0 | 0 | 0 | not ref $args->{'data'} and $args->{'data'} >= $firstLayer |
| 0 | 0 | 0 | not ref $args->{'data'} and $args->{'data'} >= $firstLayer and $args->{'data'} <= $lastLayer |
| line | l | !l | condition |
|---|---|---|---|
| 19 | 3 | 0 | shift() || undef |
| 45 | 1 | 5 | shift() || undef |
| 84 | 3 | 0 | shift() || (return undef) |
| 109 | 1 | 0 | $args->{'autoproto'} || 1 |
| 113 | 3 | 0 | shift() || undef |
| 114 | 2 | 1 | shift() || undef |
| 115 | 2 | 1 | shift() || undef |
| 131 | 3 | 0 | $attr_hash->{'validator'} || undef |
| 132 | 2 | 1 | $attr_hash->{'getoptlong'} || undef |
| 133 | 2 | 1 | $attr_hash->{'description'} || undef |
| 166 | 2 | 0 | shift() || {} |
| 231 | 0 | 0 | shift @{$$args{'data'};} || 0 |
| 256 | 0 | 1 | shift() || {} |
| 276 | 3 | 0 | shift() || undef |
| 287 | 3 | 0 | shift() || (return undef) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 106 | 0 | 1 | 0 | ref $pkg || $pkg |
| 232 | 0 | 0 | 0 | pop @{$$args{'data'};} || $lastLayer |