blib/lib/ShipIt/Step/Manifest.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 83.3% 10 / 12 CC 1 SCAR 0.9
CC
1
Cov
78%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
↑ Summary
1 package ShipIt::Step::Manifest;
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 0 ▶use Dist::Joseki;
Subroutine BEGIN: called CC=1 SCAR=2.6
6  
7  
8 our $VERSION = '0.01';
9  
10  
11 use base 'ShipIt::Step';
12  
13  
14 sub run {
15 my ($self, $state) = @_;
16  
17 if ($state->dry_run) {
18 warn "*** DRY RUN, not making manifest\n";
19 return;
20 }
21  
22 my $dist = Dist::Joseki->get_dist_type;
23 $dist->ACTION_manifest;
24 }
25  
26  
27 1;
28  
29  
30 __END__
↑ Summary