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('Test::Class::Moose'))
184 2 1 if (scalar @ancestors == 1)
190 0 1 if (scalar @ancestors == 2) { }
222 1267 5690 if $method->isa('Moose::Meta::Method::Accessor')
227 4190 1500 unless $name =~ /^test_/ or 'Test::Class::Moose::AttributeRegistry'->has_test_attribute($class, $name)
232 950 550 if 'Test::Class::Moose'->can($name)