App/Plugin/Config.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 1 totaltotal 96.6% 29 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« App/Plugin/MutexGroup.pm ↑ Summary App/Role.pm »
1 # ============================================================================
2 package MooseX::App::Plugin::Config;
3 # ============================================================================
4  
5 7 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 7 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 7 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 7 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 7 ▶use MooseX::App::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 7 ▶use Config::Any;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 7 has 'config' => (
15 is => 'ro',
16 predicate => 'has_config',
17 documentation => q[Path to command config file],
18 traits => ['MooseX::App::Meta::Role::Attribute::Option'],
19 cmd_type => 'proto',
20 cmd_position => 99990,
21 );
22  
23 7 has '_config_data' => (
24 is => 'ro',
25 isa => 'HashRef',
26 predicate => 'has_config_data',
27 );
28  
29 6 ▶sub plugin_metaroles {
Subroutine plugin_metaroles: called CC=1 SCAR=0.0
Pod undocumented
30 6 my ($self,$class) = @_;
31  
32 return {
33 6 class => ['MooseX::App::Plugin::Config::Meta::Class'],
34 }
35 }
36  
37 7 1;
38  
39 __END__
« App/Plugin/MutexGroup.pm ↑ Summary App/Role.pm »