| blib/lib/Test2/Compare/Type.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 12 | 91.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 25 | 2 | 0 | 8 | builtin::blessed($type) and $type->isa("Test2::Compare::Base") |
| 58 | 9 | 10 | 21 | $result &&= ("Test2::Tools::Type::is_$type")->($got) |
| 60 | 1 | 4 | 3 | $result &&= !compare($got, $type, \&Test2::Compare::Type::strict_convert) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 25 | 41 | 8 | 2 | "Test2::Tools::Type"->can("is_$type") or builtin::blessed($type) and $type->isa("Test2::Compare::Base") |