Magpie/App/Command/missing.pm

filter: Statementstmt 65.0% 13 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 57.1% 4 / 7 Podpod 100% 3 / 3 totaltotal 66.6% 20 / 30 CC 1 SCAR 3.6
CC
1
Cov
65%
description
2.0
opt_spec
2.0
execute
2.0
CRAP 1.4
« Magpie/App/Command/fixspec.pm ↑ Summary Magpie/App/Command/recent.pm »
1 #
2 # This file is part of App-Magpie
3 #
4 # This software is copyright (c) 2011 by Jerome Quelin.
5 #
6 # This is free software; you can redistribute it and/or modify it under
7 # the same terms as the Perl 5 programming language system itself.
8 #
9 1 ▶use 5.012;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 package App::Magpie::App::Command::missing;
14 # ABSTRACT: List modules shipped by Mageia not present locally
15 1 $App::Magpie::App::Command::missing::VERSION = '2.010';
16 1 ▶use App::Magpie::App -command;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18  
19 # -- public methods
20  
21 0 ▶sub description {
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
22 0 'This command lists Perl modules shipped by Mageia but not present on
23 the local system. This is especially useful if one wants to run "magpie
24 old" afterwards.'
25 }
26  
27 0 ▶sub opt_spec {
Subroutine opt_spec: not called CC=1 SCAR=6.9
Pod documented
28 0 my $self = shift;
29 return (
30 0 [],
31 $self->verbose_options,
32 );
33 }
34  
35 0 ▶sub execute {
Subroutine execute: not called CC=1 SCAR=6.9
Pod documented
36 0 my ($self, $opts, $args) = @_;
37 0 $self->log_init($opts);
38 0 require App::Magpie::Action::Missing;
39 0 App::Magpie::Action::Missing->new->run($opts);
40 }
41  
42 1 1;
43  
44 __END__
« Magpie/App/Command/fixspec.pm ↑ Summary Magpie/App/Command/recent.pm »