blib/lib/Shipwright/Script/Create.pm

filter: Statementstmt 77.2% 17 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 0.0% 0 / 2 totaltotal 70.9% 22 / 31 CC 1 SCAR 2.5
CC
1
Cov
77%
options
2.0
run
2.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Shipwright/Base.pm ↑ Summary blib/lib/Shipwright/Util/PatchModuleBuild.pm »
1 package Shipwright::Script::Create;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use base qw/App::CLI::Command Shipwright::Script/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use Shipwright;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Shipwright::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 __PACKAGE__->mk_accessors('force');
12  
13 0 ▶sub options {
Subroutine options: not called CC=1 SCAR=6.9
Pod undocumented
14 0 ( 'f|force' => 'force' );
15 }
16  
17 0 ▶sub run {
Subroutine run: not called CC=1 SCAR=6.9
Pod undocumented
18 0 my $self = shift;
19  
20 0 my $shipwright = Shipwright->new( repository => $self->repository, );
21 0 $shipwright->backend->initialize();
22 0 $self->log->fatal( 'successfully created' );
23 }
24  
25 1 1;
26  
27 __END__
« blib/lib/Shipwright/Base.pm ↑ Summary blib/lib/Shipwright/Util/PatchModuleBuild.pm »