| blib/lib/Params/Dry/Types.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 18 | 88.8 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 1 | 16 | if ref $_[0] |
| 44 | 4 | 12 | if $_[1] and length $_[0] > $_[1] |
| 55 | 3 | 1 | unless $class |
| 56 | 0 | 1 | if $_[1] and $_[1] ne $class |
| 66 | 4 | 20 | unless my $ref = ref $_[0] |
| 68 | 2 | 18 | if $_[1] and $ref ne $_[1] |
| 78 | 2 | 1 | defined $_[0] ? : |
| 87 | 1 | 1 | ref $_[0] ? : |
| 2 | 0 | if $_[0] |