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 179 if &blessed($proto)
43 3 176 @_ == 1 ? :
44 1 178 unless exists $opts{'class'}
49 178 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 60 28 if (@isa == 0)
171 24 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 '$_' ? :