Branch Coverage

blib/lib/MooseX/Test/Role.pm
Criterion Covered Total %
branch 1 34 2.9


line true false branch
21 0 0 unless ($role_type)
27 0 0 unless (first sub { $_ eq $req; } , _required_methods($role_type, $role))
38 0 2 exists $args{'methods'} ? :
41 0 0 unless $role_type
65 0 0 $class->can('new') ? :
71 0 0 unless _derive_role_type($role)
80 0 0 if ($role_type eq 'Moose::Role') { }
0 0 elsif ($role_type eq 'Role::Tiny') { }
85 0 0 if ($info and ref $$info{'requires'} eq 'ARRAY')
90 0 0 wantarray ? :
96 0 0 if ($role->can('meta') and $role->meta->isa('Moose::Meta::Role'))
101 0 0 if (try_load_class('Role::Tiny') and _role_tiny_info($role))
123 0 0 if ($role_type eq 'Moose::Role') { }
0 0 elsif ($role_type eq 'Role::Tiny') { }
143 0 0 if $@
159 0 0 if $role_type eq 'Moose::Role'
162 0 0 if ($meta) { }