| lib/MooseX/DIC/Loggable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 6 | 6 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 2 | 100.0 |
| pod | n/a | ||
| total | 8 | 8 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package MooseX::DIC::Loggable; | ||||||
| 2 | |||||||
| 3 | 5 | 5 | 3563 | use Moose::Role; | |||
| 5 | 20794 | ||||||
| 5 | 19 | ||||||
| 4 | 5 | 5 | 23777 | use Log::Log4perl; | |||
| 5 | 11 | ||||||
| 5 | 48 | ||||||
| 5 | |||||||
| 6 | has logger => ( is => 'ro', isa => 'Log::Log4perl::Logger', lazy => 1, default => sub { | ||||||
| 7 | return Log::Log4perl->get_logger(__PACKAGE__); | ||||||
| 8 | }); | ||||||
| 9 | |||||||
| 10 | 1; |