Branch Coverage

blib/lib/Mouse/Meta/Role/Composite.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
20 115 5 ref $role_spec eq 'ARRAY' ? :
36 12 151 if (($self->{'methods'}{$method_name} || 0) == $code)
41 54 97 if ($method_name eq 'meta') { }
48 7 90 if (@{$roles;} > 1)
79 16 0 @_ == 1 ? :
82 2 14 if ($existing and $existing != $spec)
94 1 4 if ($existing and $existing != $code)
117 7 42 if (exists $role->{'conflicting_methods'})
123 4 3 if (@conflicting)
124 3 1 @conflicting == 1 ? :
136 1 3 @conflicting > 1 ? :
147 2 0 if $consumer_class_name->can($_)
149 1 2 if (@changed_in_v2_0_0)
150 1 0 @changed_in_v2_0_0 == 1 ? :
162 0 1 @changed_in_v2_0_0 > 1 ? :