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

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 22 / 22 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/Plugin/GenericTransformer.pm ↑ Summary blib/lib/Code/TidyAll/Plugin/SortLines.pm »
1 package Code::TidyAll::Plugin::GenericValidator;
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 4 ▶sub validate_file {
Subroutine validate_file: called CC=1 SCAR=0.0
Pod documented
15 4 my $self = shift;
16 4 my $file = shift;
17  
18 4 $self->_run_generic_executable_or_die($file);
19  
20 2 return;
21 }
22  
23 1 1;
24  
25 # ABSTRACT: A plugin to run any executable as a validator
26  
27 __END__
« blib/lib/Code/TidyAll/Plugin/GenericTransformer.pm ↑ Summary blib/lib/Code/TidyAll/Plugin/SortLines.pm »