DeploymentHandler/LogImporter.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond 66.6% 2 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 85.7% 24 / 28 CC 2 SCAR 3.0
CC
2
Cov
95%
router
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« DeploymentHandler/LogRouter.pm ↑ Summary DeploymentHandler/DeployMethod/SQL/Translator/Deprecated.pm »
1 package DBIx::Class::DeploymentHandler::LogImporter;
2 20 $DBIx::Class::DeploymentHandler::LogImporter::VERSION = '0.002233';
3 20 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 20 ▶use parent 'Log::Contextual';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 20 ▶use DBIx::Class::DeploymentHandler::LogRouter;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 {
11 20 my $router;
12 44 ▶ sub router { $router ||= DBIx::Class::DeploymentHandler::LogRouter->new }
Subroutine router: called CC=2 SCAR=7.2
Pod undocumented
Condition66%2/3
$router ||= "DBIx::Class::DeploymentHandler::LogRouter"->new
l!l&&r!l&&!r
24200
MC/DC0%0/2
$router ||= "DBIx::Class::DeploymentHandler::LogRouter"->new
$router "DBIx::Class::DeploymentHandler::LogRouter"->new
Truth table66%2/3
A ||= B
A= $routerB= "DBIx::Class::DeploymentHandler::LogRouter"->new
ABresult
1X1
011
000
13 }
14  
15 20 1;
« DeploymentHandler/LogRouter.pm ↑ Summary DeploymentHandler/DeployMethod/SQL/Translator/Deprecated.pm »