Command/version.pm

filter: Statementstmt 76.9% 10 / 13 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 1 totaltotal 57.1% 12 / 21 CC 2 SCAR 11.1
CC
2
Cov
67%
run
6.0
__ANON__
1.1
BEGIN
1.0
CRAP 3.0
« Command/initdb.pm ↑ Summary Command/configuration.pm »
1 package PMLTQ::Command::version;
2 1 our $AUTHORITY = 'cpan:MATY';
3 1 $PMLTQ::Command::version::VERSION = '2.0.3';
4 # ABSTRACT: Print PMLTQ version
5  
6 1 ▶use PMLTQ::Base 'PMLTQ::Command';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use PMLTQ;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 0 ▶has usage => sub { shift->extract_usage };
Subroutine __ANON__: not called CC=1 SCAR=1.2
10  
11 0 ▶sub run {
Subroutine run: not called CC=2 SCAR=17.9
Pod undocumented
12 0 my $self = shift;
13 0 ▶ print( ( $PMLTQ::VERSION || 'DEV' ) . "\n" );
Condition0%0/2
$PMLTQ::VERSION || 'DEV'
l!l
00
MC/DC0%0/1
$PMLTQ::VERSION || 'DEV'
$PMLTQ::VERSION
Truth table0%0/2
A
A= $PMLTQ::VERSION
Aresult
11
00
14 }
15  
16 =head1 SYNOPSIS
17  
18 pmltq version
19  
20 =head1 DESCRIPTION
21  
22 Print current PMLTQ version.
23  
24 =head1 OPTIONS
25  
26 =cut
27  
28 1 1;
« Command/initdb.pm ↑ Summary Command/configuration.pm »