| blib/lib/Test2/Compare/Type.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 1 | 27 | unless @{$self->{'type'};} |
| 25 | 2 | 8 | unless "Test2::Tools::Type"->can("is_$type") or builtin::blessed($type) and $type->isa("Test2::Compare::Base") |
| 39 | 5 | 21 | if (builtin::blessed($_)) { } |
| 44 | 1 | 11 | +(shift())->{'negate'} ? : |
| 51 | 0 | 25 | unless $exists |
| 55 | 40 | 8 | if ('Test2::Tools::Type'->can("is_$type")) { } |
| 63 | 5 | 20 | if $self->{'negate'} |