Branch Coverage

blib/lib/Test/Class/Moose.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
114 22 1 if ($data)
0 23 if ($symbol eq "ANON")
0 23 if ($@)
0 3 if ($symbol eq "ANON")
1 2 if ($method =~ /^test_(?:startup|setup|teardown|shutdown)$/)
0 6 if ($symbol eq "ANON")
0 6 if ($method =~ /^test_(?:startup|setup|teardown|shutdown)$/)
4 2 if (defined $data)
115 0 31 if $@
156 24 144 unless ($args{'bare'})
163 35 133 if (my $parent = delete $args{'parent'} || delete $args{'extends'}) { }
164 1 34 'ARRAY' eq ref $parent ? :
166 3 32 unless ($caller->isa(__PACKAGE__))
184 2 1 if (scalar @ancestors == 1)
190 0 1 if (scalar @ancestors == 2) { }
222 1267 5880 if $method->isa("Moose::Meta::Method::Accessor")
227 4380 1500 unless $name =~ /^test_/ or "Test::Class::Moose::AttributeRegistry"->has_test_attribute($class, $name)
232 950 550 if __PACKAGE__->can($name)