| blib/lib/Nephia/Plugin/ResponseHandler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 13 | 53.8 |
| line | l | !l | condition |
|---|---|---|---|
| 25 | 4 | 1 | ref $res || 'SCALAR' |
| 37 | 1 | 1 | delete $$res{'content_type'} || 'text/html; charset=UTF-8' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 14 | 0 | 1 | 0 | $self->app->{'response_handler'}{'HASH'} ||= $self->can('_hash_handler') |
| 15 | 0 | 1 | 0 | $self->app->{'response_handler'}{'ARRAY'} ||= $self->can('_array_handler') |
| 16 | 0 | 1 | 0 | $self->app->{'response_handler'}{'SCALAR'} ||= $self->can('_scalar_handler') |