| blib/lib/Tie/CheckVariables.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 24 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 2 | 9 | &blessed($type) && $type->isa('Type::Tiny') ? : |
| 49 | 5 | 28 | if (not defined $check) { } |
| 7 | 21 | elsif ($is_code) { } | |
| 11 | 14 | elsif (not ref $value and $value =~ /$check/) { } | |
| 62 | 20 | 13 | if ($success) { } |
| 77 | 18 | 15 | if $self->{'CHECK'} |
| 81 | 12 | 3 | !$is_code ? : |
| 89 | 10 | 16 | if defined $type |
| 96 | 5 | 7 | unless $type |
| 97 | 2 | 5 | unless exists $hash{$type} |
| 104 | 1 | 1 | if $class ne 'Tie::CheckVariables' |
| 111 | 7 | 1 | if 'CODE' eq ref $coderef |