File Coverage

blib/lib/App/JESP/Cmd/Command/about.pm
Criterion Covered Total %
statement 12 17 70.5
branch n/a
condition 0 2 0.0
subroutine 4 7 57.1
pod 3 3 100.0
total 19 29 65.5


line stmt bran cond sub pod time code
1             package App::JESP::Cmd::Command::about;
2             $App::JESP::Cmd::Command::about::VERSION = '0.016';
3 1     1   1501 use base qw/App::JESP::Cmd::Command/;
  1         1  
  1         82  
4 1     1   5 use strict; use warnings;
  1     1   2  
  1         15  
  1         3  
  1         2  
  1         23  
5 1     1   4 use Log::Any qw/$log/;
  1         2  
  1         13  
6              
7             =head1 NAME
8              
9             App::JESP::Cmd::Command::about - Simple about command
10              
11             =cut
12              
13             =head2 abstract
14              
15             =head2 description
16              
17             =head2 execute
18              
19             See L<App::Cmd>
20              
21             =cut
22              
23 0     0 1   sub abstract { "About this software" }
24 0     0 1   sub description { "About this software" }
25             sub execute {
26 0     0 1   my ($self, $opt, $args) = @_;
27 0   0       $log->info("This is App::JESP version ". ( $App::JESP::Cmd::VERSION || '-DEVELOPMENT-' ) );
28 0           $log->info("Project homepage: https://github.com/jeteve/App-JESP");
29             }
30              
31             1;