OX/Types.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OX/Response.pm ↑ Summary
1 package OX::Types;
2 57 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 57 $OX::Types::AUTHORITY = 'cpan:STEVAN';
4 }
5 57 $OX::Types::VERSION = '0.14';
6 57 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 57 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 57 ▶use Class::Load 'load_class';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 57 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 57 class_type('Plack::Middleware');
13 subtype 'OX::Types::MiddlewareClass',
14 as 'Str',
15 13 ▶ where { load_class($_); $_->isa('Plack::Middleware') };
Subroutine __ANON__: called CC=1 SCAR=0.0
16 57 subtype 'OX::Types::Middleware',
17 as 'CodeRef|OX::Types::MiddlewareClass|Plack::Middleware';
18  
19 =for Pod::Coverage
20  
21 =cut
22  
23 57 1;
« OX/Response.pm ↑ Summary