| blib/lib/Test/TypeTiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 30 | 73.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 49 | 17 | 7 | 2 | ref $s and $e =~ /$s/ |
| 50 | 7 | 1 | 16 | not ref $s and $does |
| 8 | 1 | 15 | not ref $s and $does and $e->$does($s) | |
| 73 | 0 | 0 | 3977 | &blessed($type) and $type->can("check") |
| 127 | 18 | 3832 | $type->can('can_be_inlined') && $type->can_be_inlined && $type->can('inline_check') | |
| 0 | 0 | 1619 | &blessed($type) and $type->can("check") | |
| 121 | 17 | 1481 | $type->can('can_be_inlined') && $type->can_be_inlined && $type->can('inline_check') |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 44 | 16 | 0 | 0 | $e->can('DOES') || $e->can('isa') |
| 73 | 2957 | 1008 | 0 | $message || _mk_message("%s fails type constraint $type", $value) |
| 773 | 834 | 0 | $message || _mk_message("%s passes type constraint $type", $value) |