| blib/lib/MooseX/Clone/Meta/Attribute/Trait/Clone.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 20 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 48 | 8 | 0 | if ($self->has_value($proto)) { } |
| 55 | 0 | 0 | if (exists $args{'init_arg'}) |
| 64 | 4 | 4 | if (&blessed($value)) { } |
| 69 | 0 | 4 | if (exists $args{'init_arg'}) { } |
| 72 | 4 | 0 | if (not $self->clone_only_objects) { } |
| 84 | 5 | 0 | if ($value->can('clone')) { } |
| 87 | 1 | 4 | if (exists $args{'init_arg'}) |
| 90 | 1 | 0 | if (ref $init_arg) { } |
| 91 | 1 | 0 | if (ref $init_arg eq 'HASH') { } |
| 0 | 0 | elsif (ref $init_arg eq 'ARRAY') { } |