File Coverage

blib/lib/Moos/Role.pm
Criterion Covered Total %
statement 6 9 66.6
branch 0 2 0.0
condition n/a
subroutine 2 3 66.6
pod n/a
total 8 14 57.1


line stmt bran cond sub pod time code
1             package Moos::Role;
2              
3 1     1   1058 use Moos ();
  1         4  
  1         24  
4 1     1   6 use Carp;
  1         2  
  1         153  
5             sub import {
6 0     0     carp("Please 'use Moos-Role' instead");
7 0 0         shift and unshift @_, qw( Moos -Role );
8 0           goto \&Moos::import;
9             }
10              
11             1;