Condition Coverage

blib/lib/ReadonlyX.pm
Criterion Covered Total %
condition 18 24 75.0


and 3 conditions

line !l l&&!r l&&r condition
23 14 0 6 $#_ == 0 && defined $_[0]
27 12 0 2 ref $var eq 'ARRAY' && $#_ == 1 && ref $var eq 'ARRAY'
33 15 0 4 $#_ == 0 && defined $_[0]
37 8 0 5 ref $var eq 'HASH' && $#_ == 1
43 18 1 1 $#_ == 0 && defined $_[0]

or 3 conditions

line l !l&&r !l&&!r condition
35 12 5 2 @_ % 2 == 1 or $ref eq 'HASH'
54 2 0 3 $type eq 'SCALAR' or $type eq ''
100 1 0 9 $type eq 'SCALAR' || $type eq ''