Condition Coverage

blib/lib/Class/Field.pm
Criterion Covered Total %
condition 13 24 54.1


and 3 conditions

line !l l&&!r l&&r condition
46 4 2 0 defined $default and $args->{'-weak'}
49 5 0 1 ref $default eq 'ARRAY' && !@$default
4 0 1 ref $default eq 'HASH' && !keys(%$default)
113 0 12 0 defined $elem and defined $booleans{$elem}
0 10 2 defined $elem and defined $pairs{$elem}
10 0 2 defined $elem and defined $pairs{$elem} and @_
114 0 0 0 @_ && $_[0] =~ /^[01]$/

or 3 conditions

line l !l&&r !l&&!r condition
72 1 0 2 $#_ > 0 or defined $_[0]{'x'}