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 51 @_ == 1 ? :
42 1 50 unless exists $opts{'methods'}
44 0 50 unless ref $opts{'methods'}
49 47 3 if $xsub
76 21 0 if &blessed($_[0])
98 51 154 $var =~ /\$_/ ? :
103 25 180 if $Type::Tiny::AvoidCallbacks
105 180 0 if $xsub
126 0 1 unless defined $varname
128 0 1 if $self->check($value)
129 0 1 unless &blessed($value)