Branch Coverage

blib/lib/Specio/OO.pm
Criterion Covered Total %
branch 36 38 94.7


line true false branch
49 1026 1336 if ($attr->{'lazy'} and my $builder = $attr->{'builder'}) { }
65 0 1026 $attr->{'weak_ref'} ? :
88 1762 600 unless $attr->{'predicate'}
110 60 180 unless my($type) = $sub =~ /^is_(.+)$/
125 94 119 if defined &{$parent . "::BUILD";}
136 123 90 if (Role::Tiny::does_role($class, $role))
172 505 1857 defined $attr->{'init_arg'} ? :
174 494 1868 if ($attr->{'required'})
182 163 2199 if ($attr->{'builder'} and not $attr->{'lazy'})
189 1852 510 if ($attr->{'isa'})
191 1665 187 if ($TypeChecks{$attr->{'isa'}}) { }
215 238 2124 if ($attr->{'does'})
229 30 2332 if ($attr->{'weak_ref'})
269 0 3175 if $e
325 9360 92428 if ($special{$key})
333 474 91954 if (ref $value eq "ARRAY" and &all(sub {
348 473 16126 $BuiltinTypes{$ref} ? :
19191 16599 $ref eq 'CODE' ? :
56164 35790 !$ref ? :