| line |
true |
false |
branch |
|
60
|
2 |
24 |
unless $cc_meta->can("does_role") and $cc_meta->does_role("MooseX::NonMoose::Meta::Role::Constructor")
|
|
66
|
2 |
22 |
unless $options{'inline_constructor'}
|
|
71
|
1 |
21 |
unless (defined $local_constructor)
|
|
87
|
1 |
20 |
if $local_constructor->isa("Class::MOP::Method::Wrapped")
|
|
123
|
1 |
35 |
if $self->has_method($self->constructor_name)
|
|
131
|
4 |
31 |
if $super_new->package_name eq "Moose::Object"
|
|
133
|
31 |
0 |
if ($super_new->associated_metaclass->can("constructor_class"))
|
|
140
|
0 |
31 |
if $constructor_class_meta->can("does_role") and $constructor_class_meta->does_role("MooseX::NonMoose::Meta::Role::Constructor")
|
|
146
|
1 |
30 |
if &any(sub {
|
|
153
|
5 |
26 |
$class->can('FOREIGNBUILDARGS') ? :
|
|
157
|
1 |
30 |
if (not builtin::blessed($instance)) { }
|
|
|
2 |
28 |
elsif (not $instance->isa($class)) { }
|
|
163
|
1 |
1 |
if (not $class->isa(builtin::blessed($instance))) { }
|
|
186
|
0 |
36 |
if $self->has_method("DESTROY")
|
|
194
|
32 |
4 |
if $super_DESTROY->package_name eq "Moose::Object"
|
|
196
|
1 |
3 |
if ($super_DESTROY->associated_metaclass->can("destructor_class") and $super_DESTROY->associated_metaclass->destructor_class)
|
|
205
|
1 |
0 |
if &any(sub {
|
|
214
|
2 |
0 |
if defined $super_DESTROY
|
|
298
|
4 |
22 |
$self->find_method_by_name('FOREIGNBUILDARGS') ? :
|
|
322
|
4 |
22 |
$self->find_method_by_name('FOREIGNBUILDARGS') ? :
|
|
350
|
46 |
52 |
if $method->associated_metaclass->meta->can("does_role") and $method->associated_metaclass->meta->does_role("MooseX::NonMoose::Meta::Role::Class")
|