GitGot/Command/update_status.pm

filter: Statementstmt 65.0% 13 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 50.0% 1 / 2 totaltotal 64.2% 18 / 28 CC 1 SCAR 2.9
CC
1
Cov
65%
options
2.0
_execute
2.0
BEGIN
1.0
CRAP 1.3
« GitGot/Outputter.pm ↑ Summary GitGot/Command/milk.pm »
1 package App::GitGot::Command::update_status;
2 16 our $AUTHORITY = 'cpan:GENEHACK';
3 16 $App::GitGot::Command::update_status::VERSION = '1.339';
4 # ABSTRACT: update managed repositories then display their status
5 16 ▶use 5.014;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 16 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 16 extends 'App::GitGot::Command';
9 16 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 42 ▶sub command_names { qw/ update_status upst / }
Subroutine command_names: called CC=1 SCAR=0.0
Pod documented
12  
13 0 ▶sub options {
Subroutine options: not called CC=1 SCAR=6.9
Pod undocumented
14 0 my( $class , $app ) = @_;
15 return (
16 0 [ 'show-branch' => 'show which branch' => { default => 0 } ] ,
17 );
18 }
19  
20 0 ▶sub _execute {
Subroutine _execute: not called CC=1 SCAR=6.9
21 0 my ( $self, $opt, $args ) = @_;
22  
23 0 say "UPDATE";
24 0 $self->_update( $self->active_repos );
25  
26 0 say "\nSTATUS";
27 0 $self->_status( $self->active_repos );
28 }
29  
30 16 1;
31  
32 ## FIXME docs
33  
34 __END__
« GitGot/Outputter.pm ↑ Summary GitGot/Command/milk.pm »