| example/lib/QxExample.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 14 | 14 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 5 | 5 | 100.0 |
| pod | 1 | 1 | 100.0 |
| total | 20 | 20 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package QxExample; | ||||||
| 2 | 1 | 1 | 1265 | use strict; | |||
| 1 | 2 | ||||||
| 1 | 30 | ||||||
| 3 | 1 | 1 | 6 | use warnings; | |||
| 1 | 1 | ||||||
| 1 | 26 | ||||||
| 4 | |||||||
| 5 | 1 | 1 | 489 | use QxExample::JsonRpcService; | |||
| 1 | 2 | ||||||
| 1 | 9 | ||||||
| 6 | |||||||
| 7 | 1 | 1 | 23 | use Mojo::Base 'Mojolicious'; | |||
| 1 | 3 | ||||||
| 1 | 4 | ||||||
| 8 | |||||||
| 9 | sub startup { | ||||||
| 10 | 1 | 1 | 1 | 19586 | my $self = shift; | ||
| 11 | 1 | 11 | $self->plugin('qooxdoo_jsonrpc',{ | ||||
| 12 | services => { | ||||||
| 13 | rpc => QxExample::JsonRpcService->new() | ||||||
| 14 | } | ||||||
| 15 | }); | ||||||
| 16 | } | ||||||
| 17 | |||||||
| 18 | 1; |