| blib/lib/MooseX/XSConstructor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 18 | 38.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 79 | 2 | 0 | 0 | $attr->has_default and not $attr->is_lazy |
| 80 | 1 | 0 | 1 | $attr->has_builder and not $attr->is_lazy |
| 89 | 2 | 0 | 0 | $attr->can("has_alias") and $attr->has_alias |
| 110 | 0 | 0 | 1 | $ok and my $meta = Class::XSConstructor::get_metadata($klass) |
| 111 | 0 | 1 | 0 | defined $meta->{'foreignclass'} and $meta->{'foreignclass'} eq 'Moose::Object' || $self->is_suitable_class($meta->{'foreignclass'}) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 111 | 1 | 0 | 0 | $meta->{'foreignclass'} eq 'Moose::Object' || $self->is_suitable_class($meta->{'foreignclass'}) |