| blib/lib/Net/OATH/Server/Lite/Endpoint/User.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 15 | 60.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 65 | 0 | 1 | 19 | $data_handler and $data_handler->isa('Net::OATH::Server::Lite::DataHandler') |
| 80 | 0 | 18 | 0 | defined $$content{'method'} and $$content{'method'} eq 'create' || $$content{'method'} eq 'read' || $$content{'method'} eq 'update' || $$content{'method'} eq 'delete' |
| 209 | 0 | 0 | 3 | $user and $user->isa('Net::OATH::Server::Lite::Model::User') |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 35 | 18 | 2 | 0 | $$self{'psgi_app'} ||= $self->compile_psgi_app |
| 80 | 9 | 4 | 1 | $$content{'method'} eq 'create' || $$content{'method'} eq 'read' || $$content{'method'} eq 'update' || $$content{'method'} eq 'delete' |