blib/lib/Test/TypeTiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 30 | 73.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
49 | 3 | 7 | 2 | ref $s and $e =~ /$s/ |
50 | 7 | 1 | 2 | not ref $s and $does |
8 | 1 | 1 | not ref $s and $does and $e->$does($s) | |
73 | 0 | 0 | 3706 | &blessed($type) and $type->can("check") |
86 | 12 | 3608 | $type->can('can_be_inlined') && $type->can_be_inlined && $type->can('inline_check') | |
0 | 0 | 1363 | &blessed($type) and $type->can("check") | |
64 | 12 | 1287 | $type->can('can_be_inlined') && $type->can_be_inlined && $type->can('inline_check') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
44 | 2 | 0 | 0 | $e->can('DOES') || $e->can('isa') |
73 | 2803 | 891 | 0 | $message || _mk_message("%s fails type constraint $type", $value) |
732 | 619 | 0 | $message || _mk_message("%s passes type constraint $type", $value) |