File Coverage

blib/lib/Git/PurePerl/Walker/Types.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


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