blib/lib/Bread/Board/Service/WithConstructor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 4 | 75.0 |
line | true | false | branch |
---|---|---|---|
23 | 3 | 118 | if $self->class->isa('Moo::Object') |
25 | 0 | 121 | unless &try(sub { 'new' if $self->class->isa('Moo::Object'); } ) or &try(sub { Class::MOP::class_of($self->class)->constructor_name; } ) |