blib/lib/Flower/Chronos/Application/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 10 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 13 | 14 | 92.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Flower::Chronos::Application::Base; | ||||||
2 | |||||||
3 | 1 | 1 | 2050 | use strict; | |||
1 | 2 | ||||||
1 | 25 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 58 | ||||||
5 | |||||||
6 | sub new { | ||||||
7 | 6 | 6 | 0 | 6390 | my $class = shift; | ||
8 | |||||||
9 | 6 | 10 | my $self = {}; | ||||
10 | 6 | 11 | bless $self, $class; | ||||
11 | |||||||
12 | 6 | 20 | return $self; | ||||
13 | } | ||||||
14 | |||||||
15 | 1; |