| blib/lib/DCI/Cast.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 21 | 27 | 77.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 22 | 30 | 28 | 1 | @allowed_cores and not grep({$direct_core->isa($_);} @allowed_cores) |
| 28 | 11 | 41 | 6 | &Scalar::Util::blessed($true_core) and $true_core->isa('DCI::Cast') |
| 76 | 3 | 6 | 9 | $core_type and $core_type->isa('DCI::Cast') |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 18 | 48 | 0 | 11 | &Scalar::Util::blessed($direct_core) || &Scalar::Util::reftype($direct_core) |
| 32 | 45 | 0 | 13 | &Scalar::Util::blessed($true_core) || &Scalar::Util::reftype($true_core) |
| 35 | 42 | 16 | 0 | &Scalar::Util::blessed($context) || &Scalar::Util::reftype($context) |
| 49 | 0 | 1 | 0 | &Scalar::Util::blessed($self_or_class) || $self_or_class |
| 77 | 9 | 9 | 0 | $core || $self |
| 96 | 20 | 28 | 23 | $self->SUPER::isa(@_) || $core->isa(@_) |