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 30 if $@
152 23 144 unless ($args{'bare'})
159 35 132 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 1261 5664 if $method->isa('Moose::Meta::Method::Accessor')
222 4170 1494 unless $name =~ /^test_/ or 'Test::Class::Moose::AttributeRegistry'->has_test_attribute($class, $name)
227 945 549 if 'Test::Class::Moose'->can($name)