Sweet/Types.pm

filter: Statementstmt 94.7% 18 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod n/a totaltotal 92.3% 24 / 26 CC 1 SCAR 1.3
CC
1
Cov
95%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Sweet/Meta/Class.pm ↑ Summary Sweet/Meta/Test.pm »
1 package Test::Sweet::Types;
2 3 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 $Test::Sweet::Types::VERSION = '0.03';
4 }
5 # ABSTRACT: types used internally
6 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 ▶use MooseX::Types -declare => [qw/SuiteClass/];
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶use MooseX::Types::Moose qw(Object);
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ▶use Moose::Util qw(does_role);
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 0 ▶subtype SuiteClass, as Object, where {
Subroutine __ANON__: not called CC=1 SCAR=6.9
14 0 return does_role($_->meta, 'Test::Sweet::Meta::Class');
15 3 };
16  
17 3 1;
18  
19 __END__
« Sweet/Meta/Class.pm ↑ Summary Sweet/Meta/Test.pm »