blib/lib/Code/TidyAll/Plugin/TestCount.pm

filter: Statementstmt 69.2% 9 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 70.5% 12 / 17 CC 1 SCAR 2.9
CC
1
Cov
69%
transform_file
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
↑ Summary
1 package Code::TidyAll::Plugin::TestCount;
2 1 $Code::TidyAll::Plugin::TestCount::VERSION = '0.0.2';
3 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 extends 'Code::TidyAll::Plugin';
6  
7 1 ▶use Test::Count::FileMutator::ByFileType::Lib ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub transform_file
10 0 ▶{
Subroutine transform_file: not called CC=1 SCAR=6.9
Pod documented
11 0 my ( $self, $fn ) = @_;
12  
13 0 my $obj = Test::Count::FileMutator::ByFileType::Lib->new(
14 {
15 filename => $fn,
16 }
17 );
18  
19 0 $obj->run;
20  
21 0 return;
22 }
23  
24 1 1;
25  
26 __END__
↑ Summary