| blib/lib/MooX/ClassAttribute/HandleMoose.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 18 | 44.4 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 0 | 0 | unless $warning++ |
| 0 | 14 | unless (eval { do { require MooseX::ClassAttribute } }) | |
| 35 | 2 | 12 | if (is_role($meta->name)) { } |
| 86 | 0 | 14 | if $spec{'is'} eq 'lazy' or $spec{'is'} eq 'rwp' |
| 87 | 0 | 14 | if (my $isa = $spec{'isa'}) { } |
| 0 | 14 | elsif (my $coerce = $spec{'coerce'}) { } | |
| 89 | 0 | 0 | if (my $mapped = $$TYPE_MAP{$isa}) { } |
| 97 | 0 | 0 | if (my $coerce = $spec{'coerce'}) |
| 120 | 63 | 35 | unless $ok_options{$key} |