Condition Coverage

blib/lib/Config/apiLayers.pm
Criterion Covered Total %
condition 35 58 60.3


and 3 conditions

line !l l&&!r l&&r condition
150 0 0 1 exists $args->{'attributes'} and ref $args->{'attributes'} eq 'ARRAY'
0 0 0 exists $args->{'attributes'} and ref $args->{'attributes'} eq 'HASH'
219 2 1 1 exists $args->{'cfg'} and $args->{'cfg'} eq 'getoptlong'
2 0 1 exists $args->{'cfg'} and $args->{'cfg'} eq 'descriptions'
237 0 1 1 defined $args->{'data'} and not ref $args->{'data'}
1 0 1 defined $args->{'data'} and not ref $args->{'data'} and $args->{'data'} >= $firstLayer
1 0 1 defined $args->{'data'} and not ref $args->{'data'} and $args->{'data'} >= $firstLayer and $args->{'data'} <= $lastLayer

or 2 conditions

line l !l condition
19 3 0 shift() || undef
45 1 5 shift() || undef
84 3 0 shift() || (return undef)
118 1 0 $args->{'autoproto'} || 1
122 3 0 shift() || undef
123 2 1 shift() || undef
124 2 1 shift() || undef
140 3 0 $attr_hash->{'validator'} || undef
141 2 1 $attr_hash->{'getoptlong'} || undef
142 2 1 $attr_hash->{'description'} || undef
175 3 0 shift() || {}
268 1 1 shift() || {}
288 3 0 shift() || undef
299 3 0 shift() || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
115 0 1 0 ref $pkg || $pkg
243 0 0 1 shift @{$$args{'data'};} || $firstLayer
244 1 0 0 pop @{$$args{'data'};} || $lastLayer