blib/lib/DBIO/Test/DeployComponent.pm

filter: Statementstmt 75.0% 9 / 12 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 55.0% 11 / 20 CC 3 SCAR 20.3
CC
3
Cov
56%
sqlt_deploy_hook
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 7.6
« blib/lib/DBIO/ResultSourceProxy.pm ↑ Summary blib/lib/DBIO/DeploymentHandler/VersionHandler/Monotonic.pm »
1 # belongs to t/86sqlt.t
2 package DBIO::Test::DeployComponent;
3 # ABSTRACT: Test component for sqlt_deploy_hook testing
4 256 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 256 our $VERSION = '0.900007';
7  
8 256 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 256 our $hook_cb;
11  
12 0 ▶sub sqlt_deploy_hook {
Subroutine sqlt_deploy_hook: not called CC=3 SCAR=24.8
Pod undocumented
13 0 my $class = shift;
14  
15 0 ▶ $hook_cb->($class, @_) if $hook_cb;
Branch: 1 branch
BranchTrueFalseTotal
if $DBIO::Test::DeployComponent::hook_cb 0 0 0
16 0 ▶ $class->next::method(@_) if $class->next::can;
Branch: 1 branch
BranchTrueFalseTotal
if $class->next::can 0 0 0
17 }
18  
19 256 1;
20  
21 __END__
« blib/lib/DBIO/ResultSourceProxy.pm ↑ Summary blib/lib/DBIO/DeploymentHandler/VersionHandler/Monotonic.pm »