| blib/lib/Dancer/Plugin/Documentation/Base.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 15 | 15 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 5 | 5 | 100.0 |
| pod | n/a | ||
| total | 20 | 20 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Dancer::Plugin::Documentation::Base; | ||||||
| 2 | |||||||
| 3 | 3 | 3 | 1473 | use strict; | |||
| 3 | 5 | ||||||
| 3 | 91 | ||||||
| 4 | 3 | 3 | 11 | use warnings; | |||
| 3 | 3 | ||||||
| 3 | 58 | ||||||
| 5 | |||||||
| 6 | 3 | 3 | 12 | use Moo; | |||
| 3 | 3 | ||||||
| 3 | 14 | ||||||
| 7 | 3 | 3 | 797 | use MooX::Types::MooseLike::Base qw{Str}; | |||
| 3 | 5 | ||||||
| 3 | 151 | ||||||
| 8 | 3 | 3 | 12 | use namespace::clean; | |||
| 3 | 4 | ||||||
| 3 | 13 | ||||||
| 9 | |||||||
| 10 | has app => ( | ||||||
| 11 | is => 'ro', | ||||||
| 12 | isa => Str, | ||||||
| 13 | default => undef, | ||||||
| 14 | ); | ||||||
| 15 | |||||||
| 16 | has documentation => ( | ||||||
| 17 | is => 'ro', | ||||||
| 18 | ); | ||||||
| 19 | |||||||
| 20 | 1; |