blib/lib/Data/InputMonster/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 18 | 77.7 |
line | true | false | branch |
---|---|---|---|
42 | 0 | 5 | unless defined $locator |
44 | 1 | 4 | unless ref $locator |
46 | 0 | 5 | if (ref $locator eq 'CODE') { } |
5 | 0 | elsif (ref $locator eq 'ARRAY') { } | |
54 | 1 | 13 | unless my $ref = ref $next |
55 | 0 | 13 | unless $ref and $ref eq 'ARRAY' || $ref eq 'HASH' |
57 | 1 | 12 | if $ref eq 'ARRAY' and not $k =~ /\A-?\d+\z/ |
58 | 7 | 5 | if $ref eq 'ARRAY' |
59 | 5 | 7 | if $ref eq 'HASH' |