Moos/Role.pm

filter: Statementstmt 70.0% 7 / 10 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 60.0% 9 / 15 CC 2 SCAR 12.5
CC
2
Cov
58%
import
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.5
« oos.pm ↑ Summary
1 package Moos::Role;
2  
3 1 ▶use Moos ();
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 0 ▶sub import {
Subroutine import: not called CC=2 SCAR=17.9
6 0 carp("Please 'use Moos-Role' instead");
7 0 ▶ shift and unshift @_, qw( Moos -Role );
Branch: 1 branch
BranchTrueFalseTotal
shift() and unshift @_, ("Moos", "-Role") 0 0 0
8 0 goto \&Moos::import;
9 }
10  
11 1 1;
« oos.pm ↑ Summary