blib/lib/Class/Field.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 24 | 54.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
45 | 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) | |
110 | 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 @_ | |
111 | 0 | 0 | 0 | @_ && $_[0] =~ /^[01]$/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
69 | 1 | 0 | 2 | $#_ > 0 or defined $_[0]{'x'} |