| 1 | package Dancer::Plugin::Documentation::Route; | ||||||||||
| 2 | |||||||||||
| 3 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 3 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 3 | ▶ | use MooX::Types::MooseLike::Base qw{Str}; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 3 | ▶ | use namespace::clean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 3 | extends 'Dancer::Plugin::Documentation::Base'; | |||||||||
| 11 | |||||||||||
| 12 | has method => ( | ||||||||||
| 13 | is => 'ro', | ||||||||||
| 14 | isa => Str, | ||||||||||
| 15 | 59 | ▶ | coerce => sub { defined $_[0] ? lc $_[0] : undef }, | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=6.9
Branch: 1 branch
| |||||||||||
| 16 | 3 | default => undef, | |||||||||
| 17 | ); | ||||||||||
| 18 | |||||||||||
| 19 | 3 | has path => ( | |||||||||
| 20 | is => 'ro', | ||||||||||
| 21 | isa => Str, | ||||||||||
| 22 | default => undef, | ||||||||||
| 23 | ); | ||||||||||
| 24 | |||||||||||
| 25 | has section => ( | ||||||||||
| 26 | is => 'ro', | ||||||||||
| 27 | isa => Str, | ||||||||||
| 28 | 55 | ▶ | coerce => sub { defined $_[0] ? lc $_[0] : '' }, | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 29 | 3 | default => '', | |||||||||
| 30 | ); | ||||||||||
| 31 | |||||||||||
| 32 | 3 | 1; | |||||||||