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 | 700 | use strict; | |||
1 | 2 | ||||||
1 | 30 | ||||||
3 | 1 | 1 | 5 | use warnings; | |||
1 | 1 | ||||||
1 | 25 | ||||||
4 | |||||||
5 | 1 | 1 | 331 | use QxExample::JsonRpcService; | |||
1 | 2 | ||||||
1 | 9 | ||||||
6 | |||||||
7 | 1 | 1 | 26 | use Mojo::Base 'Mojolicious'; | |||
1 | 1 | ||||||
1 | 4 | ||||||
8 | |||||||
9 | sub startup { | ||||||
10 | 1 | 1 | 1 | 15302 | my $self = shift; | ||
11 | 1 | 25 | $self->plugin('qooxdoo_jsonrpc',{ | ||||
12 | services => { | ||||||
13 | rpc => QxExample::JsonRpcService->new() | ||||||
14 | } | ||||||
15 | }); | ||||||
16 | } | ||||||
17 | |||||||
18 | 1; |