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.002233';
3 20     20   123 use warnings;
  20         40  
  20         617  
4 20     20   91 use strict;
  20         39  
  20         448  
5              
6 20     20   502 use parent 'Log::Contextual';
  20         265  
  20         123  
7              
8 20     20   698692 use DBIx::Class::DeploymentHandler::LogRouter;
  20         84  
  20         1341  
9              
10             {
11             my $router;
12 88   66 88 0 116421 sub router { $router ||= DBIx::Class::DeploymentHandler::LogRouter->new }
13             }
14              
15             1;