JESP/Cmd/Command/about.pm

filter: Statementstmt 73.6% 14 / 19 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 57.1% 4 / 7 Podpod 100% 3 / 3 totaltotal 65.6% 21 / 32 CC 2 SCAR 9.2
CC
2
Cov
67%
execute
6.0
abstract
2.0
description
2.0
CRAP 2.5
« JESP/Patch.pm ↑ Summary JESP/Cmd.pm »
1 package App::JESP::Cmd::Command::about;
2 1 $App::JESP::Cmd::Command::about::VERSION = '0.016';
3 1 ▶use base qw/App::JESP::Cmd::Command/;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Log::Any qw/$log/;
Subroutine BEGIN: called CC=1 SCAR=0.0
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 ▶sub abstract { "About this software" }
Subroutine abstract: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub description { "About this software" }
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub execute {
Subroutine execute: not called CC=2 SCAR=17.9
Pod documented
26 0 my ($self, $opt, $args) = @_;
27 0 ▶ $log->info("This is App::JESP version ". ( $App::JESP::Cmd::VERSION || '-DEVELOPMENT-' ) );
Condition0%0/2
$App::JESP::Cmd::VERSION || '-DEVELOPMENT-'
l!l
00
MC/DC0%0/1
$App::JESP::Cmd::VERSION || '-DEVELOPMENT-'
$App::JESP::Cmd::VERSION
Truth table0%0/2
A
A= $App::JESP::Cmd::VERSION
Aresult
11
00
28 0 $log->info("Project homepage: https://github.com/jeteve/App-JESP");
29 }
30  
31 1 1;
« JESP/Patch.pm ↑ Summary JESP/Cmd.pm »