blib/lib/Kelp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 22 | 77.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
182 | 4 | 3 | 0 | $self->{'_loaded_middleware'}{$class}++ and not $ENV{'KELP_TESTING'} |
267 | 20 | 4 | 12 | &blessed($exception) and $exception->isa('Kelp::Exception') |
line | l | !l | condition |
---|---|---|---|
137 | 117 | 11 | $self->config("modules_init.$name") // {} |
185 | 5 | 2 | $self->config("middleware_init.$class") // {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 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('Kelp') | |
112 | 5 | 0 | 0 | shift() || ref $self |