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 | 3877 | &blessed($type) and $type->can("check") |
86 | 12 | 3779 | $type->can('can_be_inlined') && $type->can_be_inlined && $type->can('inline_check') | |
0 | 0 | 1477 | &blessed($type) and $type->can("check") | |
64 | 12 | 1401 | $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 | 2955 | 910 | 0 | $message || _mk_message("%s fails type constraint $type", $value) |
766 | 699 | 0 | $message || _mk_message("%s passes type constraint $type", $value) |