| blib/lib/Test/Deep/Type.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 3 | 2 | defined $name ? : |
| 55 | 4 | 1 | defined $self->{'error_message'} ? : |
| 68 | 4 | 5 | if (eval { do { $type->can('validate') } }) |
| 75 | 4 | 1 | if (__isa_coderef($type)) |
| 98 | 0 | 5 | if $name |
| 101 | 1 | 4 | if overload::Method($type, '""') |
| 105 | 2 | 2 | if defined $class |
| 113 | 1 | 4 | unless ref $_[0] eq 'CODE' or (&Scalar::Util::reftype($_[0]) || '') eq 'CODE' |