Branch Coverage

blib/lib/Type/Tiny/Class.pm
Criterion Covered Total %
branch 25 42 59.5


line true false branch
28 2 0 unless exists $opts->{'name'}
29 1 1 unless exists $opts->{'class'}
35 0 2 $INC{'Type/Registry.pm'} ? :
2 0 unless ref $caller or $caller eq "-lexical" or $globals->{'lexical'}
41 3 165 if &blessed($proto)
43 3 162 @_ == 1 ? :
44 1 164 unless exists $opts{'class'}
49 164 0 if $xsub
70 53 0 if &blessed($_)
84 96 574 if $Type::Tiny::AvoidCallbacks
86 574 0 if $xsub
100 0 1 if $self->is_anon
122 0 0 unless (@_)
135 0 0 unless Types::TypeTiny::is_TypeTiny($source)
139 0 0 unless Types::TypeTiny::is_StringLike($constructor)
166 31 14 if (@isa == 0)
171 10 4 if (@isa == 1)
206 0 1 unless defined $varname
208 0 1 if $self->check($value)
209 0 1 unless &blessed($value)
213 1 0 $varname eq '$_' ? :