File Coverage

lib/Git/PurePerl/Walker/Types.pm
Criterion Covered Total %
statement 13 15 86.6
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 20 90.0


line stmt bran cond sub pod time code
1 1     1   1881 use 5.008; # utf8
  1         3  
  1         59  
2 1     1   7 use strict;
  1         2  
  1         41  
3 1     1   6 use warnings;
  1         2  
  1         34  
4 1     1   2014 use utf8;
  1         14  
  1         7  
5              
6             package Git::PurePerl::Walker::Types;
7              
8             our $VERSION = '0.004000';
9              
10             # ABSTRACT: Misc utility types for Git::PurePerl::Walker
11              
12             our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
13              
14 0           use MooseX::Types -declare => [
15             qw(
16             GPPW_Repository
17             GPPW_Methodish
18             GPPW_Method
19             GPPW_OnCommitish
20             GPPW_OnCommit
21             ),
22 1     1   962 ];
  0            
23              
24             use MooseX::Types::Moose qw( Str CodeRef );
25              
26             ## no critic (Subroutines::ProhibitCallsToUndeclaredSubs)
27             class_type GPPW_Repository, { 'class' => 'Git::PurePerl' };
28             role_type GPPW_Method, { role => 'Git::PurePerl::Walker::Role::Method' };
29             role_type GPPW_OnCommit, { role => 'Git::PurePerl::Walker::Role::OnCommit' };
30             union GPPW_Methodish, [ Str, GPPW_Method ];
31             union GPPW_OnCommitish, [ Str, CodeRef, GPPW_OnCommit ];
32             ## use critic
33              
34             1;
35              
36             __END__
37              
38             =pod
39              
40             =encoding UTF-8
41              
42             =head1 NAME
43              
44             Git::PurePerl::Walker::Types - Misc utility types for Git::PurePerl::Walker
45              
46             =head1 VERSION
47              
48             version 0.004000
49              
50             =head1 AUTHOR
51              
52             Kent Fredric <kentnl@cpan.org>
53              
54             =head1 COPYRIGHT AND LICENSE
55              
56             This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =cut