Branch Coverage

blib/lib/Specio/OO.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
49 1078 1408 if ($attr->{'lazy'} and my $builder = $attr->{'builder'}) { }
65 0 1078 $attr->{'weak_ref'} ? :
88 1854 632 unless $attr->{'predicate'}
110 64 192 unless my($type) = $sub =~ /^is_(.+)$/
125 100 125 if defined &{$parent . '::BUILD';}
136 129 96 if (Role::Tiny::does_role($class, $role))
172 533 1953 defined $attr->{'init_arg'} ? :
174 522 1964 if ($attr->{'required'})
182 169 2317 if ($attr->{'builder'} and not $attr->{'lazy'})
189 1948 538 if ($attr->{'isa'})
191 1751 197 if ($TypeChecks{$attr->{'isa'}}) { }
215 252 2234 if ($attr->{'does'})
229 32 2454 if ($attr->{'weak_ref'})
269 0 3343 if $e
325 9341 91665 if ($special{$key})
338 140 16260 $BuiltinTypes{$ref} ? :
19221 16400 $ref eq 'CODE' ? :
56044 35621 !$ref ? :