| blib/lib/Salvation/TC/Type/HashRef.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 10 | 50 | unless ref $value eq 'HASH' |
| 30 | 0 | 9 | if $$param{'positional'} |
| 42 | 3 | 15 | if ($@) |
| 44 | 3 | 0 | if (blessed $@ and $@->isa('Salvation::TC::Exception::WrongType')) { } |
| 46 | 0 | 3 | $@->isa('Salvation::TC::Exception::WrongType::TC') ? : |
| 63 | 2 | 7 | if ($$param{'optional'}) { } |
| 67 | 1 | 2 | if (exists $_[0]{$$param{'name'}}) |
| 78 | 1 | 14 | unless exists $_[0]{$$param{'name'}} |
| 103 | 2 | 3 | if ($len < $min or defined $max and $len > $max) |