| blib/lib/MooseX/Role/Pluggable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 18 | 88.8 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 2 | 1 | $self->plugin_list ? : |
| 45 | 1 | 2 | unless $self->plugins |
| 56 | 2 | 4 | if (ref $plugin eq 'HASH') { } |
| 68 | 2 | 4 | if ($plugin_args) { } |
| 72 | 0 | 4 | if exists $plugin_args->{$_} |
| 97 | 4 | 2 | if ($plugin->can($method)) |
| 113 | 2 | 4 | if (ref $_ eq 'HASH') { } |
| 0 | 4 | elsif (ref $_) { } | |
| 117 | 2 | 4 | $name =~ s/^\+// ? : |