| blib/lib/Kelp.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 23 | 65.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 352 | 17 | 8 | 10 | builtin::blessed($exception) and $exception->isa("Kelp::Exception") |
| 355 | 10 | 0 | 0 | $self->can("logger") and defined $exception->body |
| line | l | !l | condition |
|---|---|---|---|
| 155 | 142 | 21 | $self->config("modules_init.$name") // {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 80 | 0 | 1 | 5 | ref $class or not $class |
| 1 | 1 | 4 | ref $class or not $class or not "Class::Inspector"->loaded($class) | |
| 2 | 0 | 4 | ref $class or not $class or not "Class::Inspector"->loaded($class) or not $class->isa(__PACKAGE__) | |
| 129 | 17 | 0 | 0 | shift() || ref $self |
| 440 | 69 | 0 | 0 | $self->encoder_modules->{$type} // croak("No $type encoder") |