Branch Coverage

blib/lib/Method/Traits.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
26 6 17 unless @_
29 5 12 if (scalar @args == 1 and $args[0] eq ':for_providers')
51 0 17 &Scalar::Util::blessed($package) ? :
57 1 16 if $meta->has_method_alias('FETCH_CODE_ATTRIBUTES') and $meta->has_method_alias('MODIFY_CODE_ATTRIBUTES')
68 45 3 $accepted{$code} ? :
82 46 0 if ($h) { }
91 0 42 if @unhandled
102 26 20 if ('MOP::Method'->new($h)->has_code_attributes('OverwritesMethod'))
104 0 26 unless defined $method