blib/lib/CGI/JSONRPC/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 16 | 25.0 |
line | true | false | branch |
---|---|---|---|
28 | 0 | 0 | unless ref $data and ref $data eq 'HASH' |
31 | 0 | 0 | unless ($$data{'method'}) |
52 | 2 | 1 | if (my $error = $@) |
57 | 1 | 0 | if (defined $$data{'id'}) { } |
71 | 2 | 0 | defined $$data{'id'} ? : |
79 | 0 | 0 | if (my $class = $$self{'path_info'}) { } |
92 | 0 | 0 | unless open $fh, '<', $JAVASCRIPT |
94 | 0 | 0 | if ($$self{'path'}) |