Branch Coverage

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


line true false branch
110 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)
111 0 31 if $@
152 24 144 unless ($args{'bare'})
159 35 133 if (my $parent = delete $args{'parent'} || delete $args{'extends'}) { }
160 1 34 'ARRAY' eq ref $parent ? :
162 3 32 unless ($caller->isa('Test::Class::Moose'))
180 2 1 if (scalar @ancestors == 1)
186 0 1 if (scalar @ancestors == 2) { }
217 1267 5690 if $method->isa('Moose::Meta::Method::Accessor')
222 4190 1500 unless $name =~ /^test_/ or 'Test::Class::Moose::AttributeRegistry'->has_test_attribute($class, $name)
227 950 550 if 'Test::Class::Moose'->can($name)