line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dancer::Plugin::Documentation::Route; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
13
|
use strict; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
91
|
|
4
|
3
|
|
|
3
|
|
11
|
use warnings; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
67
|
|
5
|
|
|
|
|
|
|
|
6
|
3
|
|
|
3
|
|
1450
|
use Moo; |
|
3
|
|
|
|
|
28310
|
|
|
3
|
|
|
|
|
17
|
|
7
|
3
|
|
|
3
|
|
5399
|
use MooX::Types::MooseLike::Base qw{Str}; |
|
3
|
|
|
|
|
14596
|
|
|
3
|
|
|
|
|
218
|
|
8
|
3
|
|
|
3
|
|
1364
|
use namespace::clean; |
|
3
|
|
|
|
|
23582
|
|
|
3
|
|
|
|
|
17
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
extends 'Dancer::Plugin::Documentation::Base'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has method => ( |
13
|
|
|
|
|
|
|
is => 'ro', |
14
|
|
|
|
|
|
|
isa => Str, |
15
|
|
|
|
|
|
|
coerce => sub { defined $_[0] ? lc $_[0] : undef }, |
16
|
|
|
|
|
|
|
default => undef, |
17
|
|
|
|
|
|
|
); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
has path => ( |
20
|
|
|
|
|
|
|
is => 'ro', |
21
|
|
|
|
|
|
|
isa => Str, |
22
|
|
|
|
|
|
|
default => undef, |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has section => ( |
26
|
|
|
|
|
|
|
is => 'ro', |
27
|
|
|
|
|
|
|
isa => Str, |
28
|
|
|
|
|
|
|
coerce => sub { defined $_[0] ? lc $_[0] : '' }, |
29
|
|
|
|
|
|
|
default => '', |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |