blib/lib/App/Pinto/Command/delete.pm

filter: Statementstmt 68.7% 11 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.8% 3 / 7 Podpod 50.0% 2 / 4 totaltotal 59.2% 16 / 27 CC 1 SCAR 4.5
CC
1
Cov
69%
command_names
2.0
opt_spec
2.0
args_attribute
2.0
CRAP 1.6
« blib/lib/Pinto/ModlistWriter.pm ↑ Summary blib/lib/Pinto/DifferenceEntry.pm »
1 # ABSTRACT: permanently remove an archive
2  
3 package App::Pinto::Command::delete;
4  
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #------------------------------------------------------------------------------
9  
10 1 ▶use base 'App::Pinto::Command';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 #------------------------------------------------------------------------------
13  
14 1 our $VERSION = '0.14'; # VERSION
15  
16 #-----------------------------------------------------------------------------
17  
18 0 ▶sub command_names { return qw(delete remove del rm) }
Subroutine command_names: not called CC=1 SCAR=6.9
Pod documented
19  
20 #-----------------------------------------------------------------------------
21  
22 0 ▶sub opt_spec {
Subroutine opt_spec: not called CC=1 SCAR=6.9
Pod documented
23 0 my ( $self, $app ) = @_;
24  
25 0 return ( [ 'force' => 'Delete even if packages are pinned' ], );
26 }
27  
28 #------------------------------------------------------------------------------
29  
30 0 ▶sub args_attribute { return 'targets'; }
Subroutine args_attribute: not called CC=1 SCAR=6.9
Pod undocumented
31  
32 #------------------------------------------------------------------------------
33  
34 0 ▶sub args_from_stdin { return 1; }
Subroutine args_from_stdin: not called CC=1 SCAR=6.9
Pod undocumented
35  
36 #------------------------------------------------------------------------------
37 1 1;
38  
39 __END__
« blib/lib/Pinto/ModlistWriter.pm ↑ Summary blib/lib/Pinto/DifferenceEntry.pm »