example/lib/QxExample.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package QxExample; | ||||||
2 | 2 | 2 | 1716 | use strict; | |||
2 | 5 | ||||||
2 | 62 | ||||||
3 | 2 | 2 | 18 | use warnings; | |||
2 | 4 | ||||||
2 | 58 | ||||||
4 | |||||||
5 | 2 | 2 | 12 | use Mojo::Base 'Mojolicious'; | |||
2 | 4 | ||||||
2 | 14 | ||||||
6 | |||||||
7 | sub startup { | ||||||
8 | 2 | 2 | 1 | 49415 | my $self = shift; | ||
9 | 2 | 14 | $self->plugin('qooxdoo',{ | ||||
10 | prefix => '/root', | ||||||
11 | path => 'jsonrpc', | ||||||
12 | controller => 'JsonRpcService' | ||||||
13 | }); | ||||||
14 | } | ||||||
15 | |||||||
16 | 1; |