Branch Coverage

blib/lib/Type/Tiny/Role.pm
Criterion Covered Total %
branch 18 28 64.2


line true false branch
28 1 0 unless exists $opts->{'name'}
29 1 0 unless exists $opts->{'role'}
35 0 1 $INC{'Type/Registry.pm'} ? :
1 0 unless ref $caller or $caller eq "-lexical" or $globals->{'lexical'}
43 2 63 @_ == 1 ? :
44 1 64 unless exists $opts{'role'}
59 31 0 if (&blessed($_))
73 49 377 if $Type::Tiny::AvoidCallbacks
85 1 1 if $self->is_anon
96 0 2 unless defined $varname
98 0 2 if $self->check($value)
99 0 2 unless &blessed($value)
100 0 2 unless $value->can("DOES")
103 2 0 $varname eq '$_' ? :