BLAH/Types.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 85.7% 12 / 14 CC 1 SCAR 2.9
CC
1
Cov
91%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« BLAH/Enforces/Authorization.pm ↑ Summary BLAH.pm »
1 #
2 # This file is part of BLAH
3 #
4 # This software is Copyright (c) 2015 by Chris Weyl.
5 #
6 # This is free software, licensed under:
7 #
8 # The GNU Lesser General Public License, Version 2.1, February 1999
9 #
10 package BLAH::Types;
11 1 our $AUTHORITY = 'cpan:RSRCHBOY';
12 1 $BLAH::Types::VERSION = '0.001'; # TRIAL
13 # ABSTRACT: A library of BLAH types
14  
15 1 ▶use MooseX::Types -declare => [ qw{ BLAHObject } ];
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 #use MooseX::Types::LoadableClass
18 1 ▶use MooseX::Types::Moose 'Object';
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 subtype BLAHObject,
21 as Object,
22 0 ▶ where { $_->isa('BLAH') },
Subroutine __ANON__: not called CC=1 SCAR=6.9
23 1 ;
24  
25  
26  
27 1 !!42;
28  
29 __END__
« BLAH/Enforces/Authorization.pm ↑ Summary BLAH.pm »