Minilla/Profile/ExtUtilsMakeMaker.pm

filter: Statementstmt 80.9% 34 / 42 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 91.6% 11 / 12 Podpod 0.0% 0 / 1 totaltotal 81.8% 45 / 55 CC 1 SCAR 0.8
CC
1
Cov
81%
generate
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Minilla/Errors.pm ↑ Summary Minilla/Profile/ModuleBuild.pm »
1 package Minilla::Profile::ExtUtilsMakeMaker;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent qw(Minilla::Profile::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use File::Spec::Functions qw(catfile);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use File::Path qw(mkpath);
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use File::Basename qw(dirname);
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use CPAN::Meta;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use Data::Section::Simple qw(get_data_section);
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use File::pushd;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 1 ▶use Minilla::License::Perl_5;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 0 ▶sub generate {
Subroutine generate: not called CC=1 SCAR=6.9
Pod undocumented
18 0 my $self = shift;
19  
20 0 $self->render('Module.pm', catfile('lib', $self->path));
21  
22 0 $self->render('Changes');
23 0 $self->render('t/00_compile.t');
24 0 $self->render('github_actions_test.yml', catfile('.github', 'workflows', 'test.yml'));
25  
26 0 $self->render('.gitignore');
27 0 $self->write_file('LICENSE', Minilla::License::Perl_5->new(
28 holder => sprintf('%s <%s>', $self->author, $self->email)
29 )->fulltext);
30  
31 0 $self->render('cpanfile');
32 }
33  
34 1 1;
35 __DATA__
« Minilla/Errors.pm ↑ Summary Minilla/Profile/ModuleBuild.pm »