Branch Coverage

blib/lib/Type/Tiny/Wrapped.pm
Criterion Covered Total %
branch 11 32 34.3


line true false branch
28 10 0 if $self->can_be_inlined
37 0 0 unless $pre or $post
42 0 0 if defined $pre and not &$pre($self, @_)
43 0 0 unless &$orig(@_)
44 0 0 if defined $post and not &$post($self, @_)
56 0 0 if defined $pre and not &$pre($self, @_)
57 0 0 unless $self->wrapped->_strict_check(@_)
58 0 0 if defined $post and not &$post($self, @_)
65 1 2 unless $self->wrapper->is_a_type_of(@_)
72 0 29 unless $self->can_be_inlined
76 29 0 if (my $pre = $self->inlined_pre_check)
80 0 29 if (my $post = $self->inlined_post_check)
84 22 79 /[;{}]/ ? :
85 0 29 @r == 1 ? :
90 0 75 if $self->pre_check and not $self->inlined_pre_check
91 0 75 if $self->post_check and not $self->inlined_post_check