line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Minilla::Profile::ExtUtilsMakeMaker; |
2
|
1
|
|
|
1
|
|
939
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
4
|
1
|
|
|
1
|
|
6
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
33
|
use parent qw(Minilla::Profile::Base); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
76
|
use File::Spec::Functions qw(catfile); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
44
|
|
9
|
1
|
|
|
1
|
|
6
|
use File::Path qw(mkpath); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
51
|
|
10
|
1
|
|
|
1
|
|
7
|
use File::Basename qw(dirname); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
50
|
|
11
|
1
|
|
|
1
|
|
8
|
use CPAN::Meta; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
23
|
|
12
|
1
|
|
|
1
|
|
5
|
use Data::Section::Simple qw(get_data_section); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
47
|
|
13
|
1
|
|
|
1
|
|
6
|
use File::pushd; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
49
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
8
|
use Minilla::License::Perl_5; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
159
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub generate { |
18
|
0
|
|
|
0
|
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; |
35
|
|
|
|
|
|
|
__DATA__ |