Branch Coverage

blib/lib/Type/Tiny/Duck.pm
Criterion Covered Total %
branch 17 26 65.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 66 @_ == 1 ? :
42 1 65 unless exists $opts{'methods'}
44 0 65 unless ref $opts{'methods'}
49 62 3 if $xsub
76 29 0 if &blessed($_[0])
98 64 156 $var =~ /\$_/ ? :
103 25 195 if $Type::Tiny::AvoidCallbacks
105 195 0 if $xsub
126 0 1 unless defined $varname
128 0 1 if $self->check($value)
129 0 1 unless &blessed($value)