Branch Coverage

blib/lib/Test/Mock/Class/Role/Meta/Class.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
187 1 1 if &blessed($method_class)
214 0 55 defined $args{'methods'} ? :
226 1540 466 if ($method =~ $self->mock_ignore_methods_regexp) { }
55 411 elsif ($method =~ $self->mock_constructor_methods_regexp) { }
244 1 54 unless defined $class
249 51 3 $class->can('meta') ? :
253 3 51 unless grep {$_ eq 'Moose::Object';} @superclasses
264 0 0 unless defined $class
265 0 0 unless $class->can('meta')
278 0 0 unless defined $class
279 0 0 unless $class->can('meta')
283 0 0 unless $metaclass_instance->can('roles')