| blib/lib/Nephia/Core.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 26 | 84.6 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 0 | 3 | if $method =~ /^[A-Z]/ |
| 57 | 28 | 17 | if ($plugins[0]) |
| 58 | 2 | 26 | if ref $plugins[0] eq 'HASH' |
| 66 | 44 | 77 | wantarray ? : |
| 72 | 22 | 23 | unless $plugin->isa('Nephia::Plugin') |
| 79 | 2 | 18 | if defined $code |
| 111 | 2 | 1 | $key ? : |
| 117 | 2 | 1 | unless $class =~ /^\+/ |
| 119 | 3 | 0 | unless ($$self{'external_classes'}{$class}) |
| 120 | 0 | 3 | unless $class->isa($class) |
| 151 | 1 | 54 | if $res |
| 154 | 16 | 1 | &Scalar::Util::blessed($res) ? : |
| 156 | 2 | 0 | ref $res->body eq 'ARRAY' ? : |