File Coverage

blib/lib/MooseX/Method/Signatures/Types.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package MooseX::Method::Signatures::Types;
2             #ABSTRACT: Provides common MooseX::Types used by MooseX::Method::Signatures
3             $MooseX::Method::Signatures::Types::VERSION = '0.48';
4 29     29   147 use MooseX::Types 0.19 -declare => [qw/ Injections PrototypeInjections Params /];
  29         619  
  29         230  
5 29     29   127123 use MooseX::Types::Moose qw/Str ArrayRef/;
  29         56  
  29         235  
6 29     29   133548 use MooseX::Types::Structured 0.24 qw/Dict/;
  29         849  
  29         188  
7 29     29   5185 use Parse::Method::Signatures::Types qw/Param/;
  29         61  
  29         300  
8 29     29   51029 use if MooseX::Types->VERSION >= 0.42, 'namespace::autoclean';
  29         51  
  29         484  
9              
10             subtype Injections,
11             as ArrayRef[Str];
12              
13             subtype PrototypeInjections,
14             as Dict[declarator => Str, injections => Injections];
15              
16             subtype Params,
17             as ArrayRef[Param];
18              
19             1;
20              
21             __END__
22              
23             =pod
24              
25             =encoding UTF-8
26              
27             =head1 NAME
28              
29             MooseX::Method::Signatures::Types - Provides common MooseX::Types used by MooseX::Method::Signatures
30              
31             =head1 VERSION
32              
33             version 0.48
34              
35             =head1 AUTHOR
36              
37             Florian Ragwitz <rafl@debian.org>
38              
39             =head1 COPYRIGHT AND LICENSE
40              
41             This software is copyright (c) 2014 by Florian Ragwitz.
42              
43             This is free software; you can redistribute it and/or modify it under
44             the same terms as the Perl 5 programming language system itself.
45              
46             =cut