Branch Coverage

blib/lib/MooseX/ClassAttribute/Trait/Class.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
57 0 95 if ($e)
76 0 56 if scalar @args == 1 and ref $args[0] eq 'HASH'
78 4 52 if ($name =~ /^\+(.*)/) { }
91 6 46 if ($p{'traits'}) { }
108 0 4 unless defined $inherited_attr
134 3 2 $meta && $meta->can('_class_attribute_map') ? :
155 0 8 unless my $meta = Class::MOP::class_of($class)
158 4 4 if $meta->can('has_class_attribute') and $meta->has_class_attribute($name)