Minilla/CLI/Run.pm

filter: Statementstmt 76.1% 16 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 75.0% 21 / 28 CC 1 SCAR 1.5
CC
1
Cov
76%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Minilla/Profile/XS.pm ↑ Summary Minilla/CLI/Migrate.pm »
1 package Minilla::CLI::Run;
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 Minilla::WorkDir;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Minilla::Project;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 0 ▶sub run {
Subroutine run: not called CC=1 SCAR=6.9
Pod undocumented
10 0 my ($self, @args) = @_;
11  
12 0 my $project = Minilla::Project->new();
13 0 my $work_dir = $project->work_dir;
14 0 my $code = $work_dir->run(@args);
15 0 exit $code;
16 }
17  
18 1 1;
19 __END__
« Minilla/Profile/XS.pm ↑ Summary Minilla/CLI/Migrate.pm »