Branch Coverage

blib/lib/Type/Nano.pm
Criterion Covered Total %
branch 12 40 30.0


line true false branch
90 0 0 unless not defined $_
139 0 0 ref $_[0] ? :
140 0 0 ref $_[0] ? :
151 0 0 ref $_[0] ? :
152 0 0 ref $_[0] ? :
164 0 0 ref $_[0] ? :
165 0 0 ref $_[0] ? :
174 0 0 ref $_[0] ? :
175 0 0 ref $_[0] ? :
184 0 0 ref $_[0] ? :
201 0 0 if {'Type::API::Constraint', 1, 'Type::API::Constraint::Constructor', 1}->{$role}
202 0 0 'UNIVERSAL'->can('DOES') ? :
206 0 10 ref $_[0] ? :
207 0 10 @_ == 1 ? :
210 0 10 unless ($self->{'name'})
222 104 26 if ($self->{'parent'})
223 11 93 unless $self->{'parent'}->check($value)
239 0 5 ref $value ? :
2 5 !defined($value) ? :
255 2 2 unless ($self->check($value))