Branch Coverage

blib/lib/Tie/CheckVariables.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
27 2 8 &blessed($type) && $type->isa('Type::Tiny') ? :
49 5 26 if (not defined $check) { }
7 19 elsif ($is_code) { }
10 13 elsif (not ref $value and $value =~ /$check/) { }
62 19 12 if ($success) { }
77 17 14 if $self->{'CHECK'}
81 11 3 !$is_code ? :
89 9 15 if defined $type
96 5 6 unless $type
97 2 4 unless exists $hash{$type}
104 1 1 if $class ne 'Tie::CheckVariables'
111 7 1 if 'CODE' eq ref $coderef