| lib/Types/Standard/ScalarRef.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 1 | 12 | unless @_ |
| 27 | 2 | 10 | unless Types::TypeTiny::is_TypeTiny($param) |
| 33 | 9 | 10 | unless $param->check($$ref) |
| 40 | 0 | 10 | unless $param->can_be_inlined |
| 53 | 0 | 1 | if $param->check($item) |
| 68 | 1 | 4 | unless $param->has_coercion |
| 73 | 3 | 1 | if ($param->coercion->can_be_inlined and $coercable_item->can_be_inlined) { } |
| 99 | 2 | 0 | @_ ? : |
| 102 | 1 | 1 | unless $coercable_item->check($item) |