App/Role.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 1 totaltotal 97.1% 34 / 35 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« App/Plugin/Config.pm ↑ Summary App/Meta/Role/Class/Command.pm »
1 # ============================================================================
2 package MooseX::App::Role;
3 # ============================================================================
4  
5 10 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 10 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 10 ▶use Moose::Role ();
Subroutine BEGIN: called CC=1 SCAR=0.0
11 10 ▶use MooseX::App::Exporter qw(option parameter);
Subroutine BEGIN: called CC=1 SCAR=0.0
12 10 ▶use Moose::Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 10 Moose::Exporter->setup_import_methods(
15 also => 'Moose::Role',
16 with_meta => [qw(option parameter)],
17 );
18  
19 10 ▶sub init_meta {
Subroutine init_meta: called CC=1 SCAR=0.0
Pod undocumented
20 10 my (undef,%args) = @_;
21  
22 10 my $meta = Moose::Role->init_meta( %args );
23  
24 10 Moose::Util::MetaRole::apply_metaroles(
25 for => $meta,
26 role_metaroles => {
27 applied_attribute => ['MooseX::App::Meta::Role::Attribute::Option'],
28 },
29 );
30  
31 10 return $meta;
32 }
33  
34 10 1;
35  
36 __END__
« App/Plugin/Config.pm ↑ Summary App/Meta/Role/Class/Command.pm »