blib/lib/JLogger/Handler.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 11 | 12 | 91.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package JLogger::Handler; | ||||||
2 | |||||||
3 | 1 | 1 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 40 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 79 | ||||||
5 | |||||||
6 | sub new { | ||||||
7 | 1 | 1 | 0 | 3 | my $class = shift @_; | ||
8 | 1 | 12 | bless {@_}, $class; | ||||
9 | } | ||||||
10 | |||||||
11 | 1; | ||||||
12 | __END__ |