blib/lib/Type/Tie.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 16 | 56.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
82 | 0 | 4 | 16 | &Scalar::Util::blessed($type) and $type->isa("Type::Tiny") |
100 | 2 | 0 | 2 | $type->can('has_coercion') && $type->can('coerce') && $type->has_coercion |
119 | 0 | 1 | 22 | $type && $type->can('get_message') |
line | l | !l | condition |
---|---|---|---|
119 | 1 | 0 | $type || 'Unknown' |
144 | 0 | 3 | $tmp_clone_types{$refaddr} ||= [$type, 0] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
59 | 0 | 3 | 0 | $_[0][0] ||= $_[0]->_DEFAULT |