lib/Dist/Zilla/Plugin/CSJEWELL/AuthorTest.pm

filter: Statementstmt 78.9% 15 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 76.0% 19 / 25 CC 1 SCAR 1.8
CC
1
Cov
79%
test
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/Dist/Zilla/Plugin/CSJEWELL/VersionGetter.pm ↑ Summary lib/Dist/Zilla/Plugin/CSJEWELL/BeforeBuild.pm »
1 package Dist::Zilla::Plugin::CSJEWELL::AuthorTest;
2  
3 1 ▶use 5.008003;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Module::Build;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 with 'Dist::Zilla::Role::TestRunner';
7  
8 1 our $VERSION = '0.993';
9  
10 0 ▶sub test {
Subroutine test: not called CC=1 SCAR=6.9
Pod undocumented
11 0 my ($self, $test_dir) = @_;
12  
13 # This has the same effect as
14 # "perl Build.PL && Build authortest",
15 # only in code.
16 0 my $builder = Module::Build->new_from_context;
17 0 $builder->ACTION_authortest;
18  
19 0 return 1;
20 }
21  
22 1 __PACKAGE__->meta->make_immutable;
23 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 1;
25  
26 __END__
« lib/Dist/Zilla/Plugin/CSJEWELL/VersionGetter.pm ↑ Summary lib/Dist/Zilla/Plugin/CSJEWELL/BeforeBuild.pm »