File Coverage

blib/lib/DBIx/Class/DeploymentHandler/LogImporter.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition 2 3 66.6
subroutine 5 5 100.0
pod 0 1 0.0
total 20 22 90.9


line stmt bran cond sub pod time code
1             package DBIx::Class::DeploymentHandler::LogImporter;
2             $DBIx::Class::DeploymentHandler::LogImporter::VERSION = '0.002232';
3 19     19   490 use warnings;
  19         46  
  19         653  
4 19     19   107 use strict;
  19         53  
  19         405  
5              
6 19     19   412 use parent 'Log::Contextual';
  19         289  
  19         141  
7              
8 19     19   750246 use DBIx::Class::DeploymentHandler::LogRouter;
  19         89  
  19         1511  
9              
10             {
11             my $router;
12 82   66 82 0 128334 sub router { $router ||= DBIx::Class::DeploymentHandler::LogRouter->new }
13             }
14              
15             1;