Pluggable/Plugin/DataPrinter.pm

filter: Statementstmt 95.2% 20 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 100% 1 / 1 totaltotal 93.1% 27 / 29 SCAR 0.0
CC
1
Cov
95%
initialize
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Pluggable/Plugin/TypeAhead.pm ↑ Summary Pluggable/Role/AfterInit.pm »
1 package DB::Pluggable::Plugin::DataPrinter;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use Role::Basic;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use Data::Printer; # to make it a requirement
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 with qw(DB::Pluggable::Role::Initializer);
8 2 our $VERSION = '1.112001';
9  
10 sub initialize {
11 2 ▶ no warnings 'once';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 0 ▶ $DB::alias{p} = 's/^/use Data::Printer; /; eval $cmd';
Subroutine initialize: not called CC=1 SCAR=6.9
Pod documented
13 }
14 2 1;
15  
16 =pod
17  
18 =for test_synopsis 1;
19 __END__
« Pluggable/Plugin/TypeAhead.pm ↑ Summary Pluggable/Role/AfterInit.pm »