UsingMoose.pm

filter: Statementstmt 100% 27 / 27 Branchbran n/a Conditioncond 50.0% 1 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 94.7% 36 / 38 CC 2 SCAR 2.0
CC
2
Cov
97%
import
2.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.2
↑ Summary TraitFor/Parser/UsingMoose.pm »
1 1 ▶use 5.14.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine __ANON__: called CC=1 SCAR=0.0
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine __ANON__: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine __ANON__: called CC=1 SCAR=0.0
4  
5 package MoopsX::UsingMoose;
6  
7 # ABSTRACT: A Moops that uses Moose
8 2 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9 2 our $VERSION = '0.0103';
10  
11 2 ▶use base 'Moops';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 2 ▶sub import {
Subroutine import: called CC=2 SCAR=7.0
14 2 my $class = shift;
15 2 my %opts = @_;
16  
17 2 ▶ push @{ $opts{'traits'} ||= [] } => (
Condition50%1/2
$opts{"traits"} ||= []
l!l
02
MC/DC0%0/1
$opts{"traits"} ||= []
$opts{"traits"}
Truth table50%1/2
A
A= $opts{"traits"}
Aresult
11
00
18 'MoopsX::TraitFor::Parser::UsingMoose',
19 );
20 2 $class->SUPER::import(%opts);
21 }
22  
23 2 1;
24  
25 __END__
↑ Summary TraitFor/Parser/UsingMoose.pm »