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

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Code/TidyAll/CacheModel/Shared.pm ↑ Summary blib/lib/Code/TidyAll/Plugin/GenericValidator.pm »
1 package Code::TidyAll::Plugin::GenericTransformer;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 extends 'Code::TidyAll::Plugin';
9  
10 1 with 'Code::TidyAll::Role::GenericExecutable';
11  
12 1 our $VERSION = '0.85';
13  
14 5 ▶sub transform_file {
Subroutine transform_file: called CC=1 SCAR=0.0
Pod documented
15 5 my $self = shift;
16 5 my $file = shift;
17  
18 5 my $output = $self->_run_generic_executable_or_die($file);
19 4 $file->spew_raw($output);
20  
21 4 return;
22 }
23  
24 1 1;
25  
26 # ABSTRACT: A plugin to run any executable as a transformer
27  
28 __END__
« blib/lib/Code/TidyAll/CacheModel/Shared.pm ↑ Summary blib/lib/Code/TidyAll/Plugin/GenericValidator.pm »