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.002231';
3 19     19   139 use warnings;
  19         43  
  19         642  
4 19     19   100 use strict;
  19         42  
  19         403  
5              
6 19     19   503 use parent 'Log::Contextual';
  19         364  
  19         119  
7              
8 19     19   756277 use DBIx::Class::DeploymentHandler::LogRouter;
  19         97  
  19         1485  
9              
10             {
11             my $router;
12 82   66 82 0 126180 sub router { $router ||= DBIx::Class::DeploymentHandler::LogRouter->new }
13             }
14              
15             1;