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 | 2129 | use strict; | |||
2 | 5 | ||||||
2 | 66 | ||||||
3 | 2 | 2 | 26 | use warnings; | |||
2 | 4 | ||||||
2 | 70 | ||||||
4 | |||||||
5 | 2 | 2 | 10 | use Mojo::Base 'Mojolicious'; | |||
2 | 4 | ||||||
2 | 17 | ||||||
6 | |||||||
7 | sub startup { | ||||||
8 | 2 | 2 | 1 | 52360 | my $self = shift; | ||
9 | 2 | 16 | $self->plugin('qooxdoo',{ | ||||
10 | prefix => '/root', | ||||||
11 | path => 'jsonrpc', | ||||||
12 | controller => 'JsonRpcService' | ||||||
13 | }); | ||||||
14 | } | ||||||
15 | |||||||
16 | 1; |