blib/lib/Test/Deep/Type.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
41 | 3 | 2 | defined $name ? : |
53 | 4 | 1 | defined $$self{'error_message'} ? : |
66 | 4 | 5 | if ($type->$Test::Deep::Type::_can('validate')) |
73 | 4 | 1 | if (__isa_coderef($type)) |
96 | 0 | 5 | if $name |
99 | 1 | 4 | if overload::Method($type, '""') |
103 | 2 | 2 | if defined $class |
111 | 1 | 4 | unless ref $_[0] eq 'CODE' or (&reftype($_[0]) || '') eq 'CODE' |