Modern.pm

filter: Statementstmt 100% 29 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 1 totaltotal 97.3% 36 / 37 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Modern/Role.pm ↑ Summary
1 package MooseX::Modern;
2 2 $MooseX::Modern::VERSION = '0.0200';
3 2 ▶use Moose ();
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use Moose::Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use Moose::Util::TypeConstraints ();
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use MooseX::AttributeShortcuts ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use MooseX::HasDefaults::RO ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 ▶use namespace::autoclean ();
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 2 Moose::Exporter->setup_import_methods(also => ['Moose']);
12  
13 1 ▶sub init_meta {
Subroutine init_meta: called CC=1 SCAR=0.0
Pod undocumented
14 1 my $class = shift;
15 1 my %params = @_;
16 1 my $for_class = $params{for_class};
17  
18 1 Moose->init_meta(@_);
19 1 Moose::Util::TypeConstraints->import({ into => $for_class });
20 1 MooseX::AttributeShortcuts->init_meta(@_);
21 1 MooseX::HasDefaults::RO->import({ into => $for_class });
22  
23 1 namespace::autoclean->import( -cleanee => $for_class );
24 }
25  
26 2 1;
27  
28 # ABSTRACT: Precision classes for Modern Perl
29  
30 __END__
« Modern/Role.pm ↑ Summary