| blib/lib/MooseX/ClassAttribute/Trait/Mixin/HasClassAttributes.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 10 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 35 | 0 | 127 | unless $attribute->isa('Class::MOP::Mixin::AttributeCore') |
| 43 | 0 | 127 | if $self->has_class_attribute($attr_name) |
| 56 | 95 | 32 | if $self->can('_post_add_class_attribute') |
| 66 | 0 | 1 | unless defined $name and $name |
| 70 | 0 | 1 | unless $removed_attr |