Branch Coverage

blib/lib/Type/Tiny/Duck.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
34 0 1 $INC{'Type/Registry.pm'} ? :
1 0 unless ref $caller or $caller eq "-lexical" or $globals->{'lexical'}
41 0 53 @_ == 1 ? :
42 1 52 unless exists $opts{'methods'}
44 0 52 unless ref $opts{'methods'}
49 49 3 if $xsub
62 0 1 @_ == 1 ? :
66 1 0 if ($INC{'Types/Standard.pm'} and not keys %opts)
88 21 0 if builtin::blessed($_[0])
110 51 154 $var =~ /\$_/ ? :
115 25 180 if $Type::Tiny::AvoidCallbacks
117 180 0 if $xsub
138 0 1 unless defined $varname
140 0 1 if $self->check($value)
141 0 1 unless builtin::blessed($value)