Commando.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Commando/Program.pm ↑ Summary
1 package App::Commando;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # ABSTRACT: Flexible library to build command-line apps
7  
8 2 our $VERSION = '0.012'; # VERSION
9  
10 2 ▶use App::Commando::Program;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 8 ▶sub program {
Subroutine program: called CC=1 SCAR=0.0
Pod documented
13 8 my ($name) = @_;
14  
15 8 my $program = App::Commando::Program->new($name);
16  
17 8 return $program;
18 }
19  
20 2 1;
21  
22 __END__
« Commando/Program.pm ↑ Summary