blib/lib/MooseX/Runnable/Invocation.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 24 | 62.5 |
line | true | false | branch |
---|---|---|---|
47 | 0 | 6 | unless $plugin =~ /^[+]/ |
56 | 3 | 3 | if ($does_cmdline) { } |
1 | 2 | elsif (not $does_cmdline and scalar @{$self->plugins->{$orig};} > 0) { } | |
63 | 0 | 3 | if ($@) |
76 | 3 | 2 | defined $args ? : |
88 | 0 | 5 | unless $class->can('meta') |
93 | 0 | 5 | unless $meta->isa('Moose::Meta::Class') |
96 | 0 | 5 | unless $meta->does_role('MooseX::Runnable') |
124 | 2 | 13 | if $name =~ /\|/ |
129 | 0 | 2 | unless $name->meta->isa('Moose::Meta::Role') |
139 | 0 | 0 | if $_->is_required |
149 | 0 | 3 | if @bad_attributes |