Branch Coverage

blib/lib/Type/Nano.pm
Criterion Covered Total %
branch 33 44 75.0


line true false branch
95 23 1 unless not defined $_
144 1 2 ref $_[0] ? :
145 2 1 ref $_[0] ? :
156 1 1 ref $_[0] ? :
157 2 0 ref $_[0] ? :
169 1 1 ref $_[0] ? :
170 2 0 ref $_[0] ? :
179 1 1 ref $_[0] ? :
180 2 0 ref $_[0] ? :
189 1 1 ref $_[0] ? :
206 2 0 if {"Type::API::Constraint", 1, "Type::API::Constraint::Constructor", 1}->{$role}
207 0 0 'UNIVERSAL'->can('DOES') ? :
211 0 54 ref $_[0] ? :
212 0 54 @_ == 1 ? :
215 0 54 unless ($self->{'name'})
226 610 272 if ($self->{'parent'})
227 86 524 unless $self->{'parent'}->check($value)
242 2 2 ref $value ? :
4 4 !defined($value) ? :
254 0 9 if ($] < "5.01")
268 27 0 ref $_[0] ? :
280 2 2 unless ($self->check($value))