Magpie/App/Command/update.pm

filter: Statementstmt 61.9% 13 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 4 / 8 Podpod 100% 4 / 4 totaltotal 63.6% 21 / 33 CC 1 SCAR 4.1
CC
1
Cov
62%
command_names
2.0
description
2.0
opt_spec
2.0
CRAP 1.5
« Magpie/Config.pm ↑ Summary Magpie/App/Command/bswait.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::update;
14 # ABSTRACT: update a perl module to its latest version
15 1 $App::Magpie::App::Command::update::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 command_names { qw{ update refresh }; }
Subroutine command_names: not called CC=1 SCAR=6.9
Pod documented
22  
23 0 ▶sub description {
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
24  
25 0 "Update a perl module package to its latest version, try to rebuild it,
26 commit and submit if successful."
27  
28 }
29  
30 0 ▶sub opt_spec {
Subroutine opt_spec: not called CC=1 SCAR=6.9
Pod documented
31 0 my $self = shift;
32 return (
33 0 [],
34 $self->verbose_options,
35 );
36 }
37  
38 0 ▶sub execute {
Subroutine execute: not called CC=1 SCAR=6.9
Pod documented
39 0 my ($self, $opts, $args) = @_;
40 0 $self->log_init($opts);
41 0 require App::Magpie::Action::Update;
42 0 App::Magpie::Action::Update->new->run;
43 }
44  
45 1 1;
46  
47 __END__
« Magpie/Config.pm ↑ Summary Magpie/App/Command/bswait.pm »