blib/lib/DBIx/TransactionManager/Extended/Compat.pm

filter: Statementstmt 95.0% 19 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 92.3% 24 / 26 SCAR 0.0
CC
1
Cov
95%
_new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DBIx/TransactionManager/Extended/Txn.pm ↑ Summary Build »
1 package DBIx::TransactionManager::Extended::Compat;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use DBIx::TransactionManager;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use DBIx::TransactionManager::Extended;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 *_super_new = DBIx::TransactionManager->can('new');
9  
10 {
11 1 ▶ no warnings qw/redefine/;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 *DBIx::TransactionManager::new = \&_new;
13 }
14  
15 0 ▶sub _new { _super_new('DBIx::TransactionManager::Extended', @_[1..$#_])->_initialize() }
Subroutine _new: not called CC=1 SCAR=6.9
16  
17 1 1;
18 __END__
« blib/lib/DBIx/TransactionManager/Extended/Txn.pm ↑ Summary Build »