_build/lib/MyModuleBuilder.pm

filter: Statementstmt 42.1% 8 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 3 totaltotal 38.4% 10 / 26 CC 1 SCAR 4.1
CC
1
Cov
42%
ACTION_authortest
2.0
ACTION_distdir
2.0
BEGIN
1.0
CRAP 1.5
« blib/lib/Perl/Critic/Policy/Moose/ProhibitNewMethod.pm ↑ Summary
1 package MyModuleBuilder;
2 1 ▶use Module::Build;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 our @ISA = qw(Module::Build);
4  
5 sub ACTION_test {
6 1 ▶ my ($self) = @_;
Subroutine ACTION_test: called CC=1 SCAR=0.0
Pod undocumented
7  
8 1 $self->depends_on('manifest');
9  
10 1 return $self->SUPER::ACTION_test();
11 } # end ACTION_test()
12  
13 sub ACTION_authortest {
14 0 ▶ my ($self) = @_;
Subroutine ACTION_authortest: not called CC=1 SCAR=6.9
Pod undocumented
15  
16 0 $self->depends_on('build');
17 0 $self->depends_on('manifest');
18 0 $self->depends_on('distmeta');
19  
20 0 $self->test_files( qw< t xt/author > );
21 0 $self->recursive_test_files(1);
22  
23 0 $self->depends_on('test');
24  
25 0 return;
26 } # end ACTION_authortest()
27  
28 sub ACTION_distdir {
29 0 ▶ my ($self) = @_;
Subroutine ACTION_distdir: not called CC=1 SCAR=6.9
Pod undocumented
30  
31 0 $self->depends_on('authortest');
32  
33 0 return $self->SUPER::ACTION_distdir();
34 } # end ACTION_distdir
35  
36  
37 1 1;
« blib/lib/Perl/Critic/Policy/Moose/ProhibitNewMethod.pm ↑ Summary