App/Role/Common.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« App/ParsedArgv/Value.pm ↑ Summary
1 # ============================================================================
2 package MooseX::App::Role::Common;
3 # ============================================================================
4  
5 16 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 16 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 16 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 16 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 16 has extra_argv => (
12 is => 'rw',
13 isa => 'ArrayRef',
14 );
15  
16 16 has 'help_flag' => (
17 is => 'ro',
18 isa => 'Bool',
19 traits => ['MooseX::App::Meta::Role::Attribute::Option'],
20 cmd_flag => 'help',
21 cmd_aliases => [ qw(h usage ?) ], # LOCALIZE
22 cmd_type => 'proto',
23 cmd_position => 99999,
24 documentation => 'Prints this usage information.', # LOCALIZE
25 );
26  
27 16 1;
« App/ParsedArgv/Value.pm ↑ Summary