blib/lib/Types/Const.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
43 | 8 | 0 | @_ ? : |
49 | 57 | 240 | if (is_ArrayRef($_[0])) { } |
45 | 195 | elsif (is_HashRef($_[0])) { } | |
6 | 189 | elsif (is_ScalarRef($_[0])) { } | |
66 | 1 | 5 | unless @_ |
69 | 0 | 5 | unless &Types::TypeTiny::TypeTiny()->check($param) |
72 | 0 | 5 | if @_ |
85 | 5 | 0 | unless $param->has_coercion |
93 | 0 | 0 | @_ ? : |
96 | 0 | 0 | unless $coercable_item->check($item) |