File Coverage

blib/lib/App/JESP/Cmd/Command/status.pm
Criterion Covered Total %
statement 15 21 71.4
branch n/a
condition n/a
subroutine 5 9 55.5
pod 4 4 100.0
total 24 34 70.5


line stmt bran cond sub pod time code
1             package App::JESP::Cmd::Command::status;
2             $App::JESP::Cmd::Command::status::VERSION = '0.015';
3 1     1   2228 use base qw/App::JESP::Cmd::CommandJESP/;
  1         2  
  1         127  
4 1     1   5 use strict; use warnings;
  1     1   3  
  1         21  
  1         4  
  1         2  
  1         37  
5 1     1   5 use Log::Any qw/$log/;
  1         2  
  1         7  
6              
7 1     1   589 use utf8;
  1         12  
  1         5  
8              
9             =head1 NAME
10              
11             App::JESP::Cmd::Command::status - Shows the status of patches
12              
13             =cut
14              
15             =head2 options
16              
17             See superclass L<App::JESP::Cmd::CommandJESP>
18              
19             =head2 abstract
20              
21             =head2 description
22              
23             =head2 execute
24              
25             See L<App::Cmd>
26              
27             =cut
28              
29             sub options{
30 0     0 1   my ($class, $app) = @_;
31 0           return ();
32             }
33              
34              
35 0     0 1   sub abstract { "Show the status of the plan VS the DB" }
36 0     0 1   sub description { "Show the status of the patches in the plan versus the patches recorded in the DB" }
37             sub execute {
38 0     0 1   my ($self, $opts, $args) = @_;
39 0           $self->jesp->status( $opts );
40             }
41              
42             1;