blib/lib/MooseX/Types/FakeHash.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 22 | 77.2 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 68 | unless ref $_ eq 'ARRAY' |
23 | 12 | 56 | unless @{$_;} == 2 |
28 | 0 | 32 | unless ref $_ eq 'ARRAY' |
29 | 8 | 24 | if scalar @{$_;} & 1 |
34 | 0 | 28 | unless ref $_ eq 'ARRAY' |
48 | 4 | 52 | unless &$STR_check($$_[0]) |
49 | 4 | 48 | unless &$check($$_[1]) |
61 | 0 | 30 | unless &$STR_check($items[$i]) |
62 | 8 | 22 | unless &$check($items[$i + 1]) |
81 | 0 | 42 | unless $subtype->assert_valid($pair) |
92 | 4 | 36 | if exists $$type_cache{$name} |