blib/lib/Tie/Hash/Attribute.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 28 | 78.5 |
line | true | false | branch |
---|---|---|---|
21 | 2 | 0 | if defined $args{'sorted'} |
28 | 20 | 17 | unless substr($arg, 0, 1) eq '-' |
37 | 22 | 0 | $ATTR_SORT ? : |
39 | 4 | 27 | if $seen{lc $key}++ |
41 | 16 | 11 | if ref $val eq 'HASH' |
42 | 0 | 27 | if ref $val eq 'ARRAY' |
43 | 1 | 26 | unless defined $val |
51 | 0 | 26 | unless defined $key |
59 | 1 | 25 | if $val =~ /^\s+$/ |
74 | 16 | 0 | $ATTR_SORT ? : |
77 | 10 | 15 | if (ref $hash->{$_} eq 'ARRAY') { } |
11 | 4 | elsif (ref $hash->{$_} eq 'HASH') { } | |
80 | 11 | 0 | $ATTR_SORT ? : |
89 | 9 | 7 | @vals > 1 ? : |