File Coverage

lib/Path/IsDev/HeuristicSet/Basic.pm
Criterion Covered Total %
statement 17 17 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 2 2 100.0
total 26 26 100.0


line stmt bran cond sub pod time code
1 12     12   13896 use 5.008;
  12         50  
  12         744  
2 12     12   70 use strict;
  12         23  
  12         434  
3 12     12   66 use warnings;
  12         26  
  12         607  
4 12     12   1036 use utf8;
  12         45  
  12         109  
5              
6             package Path::IsDev::HeuristicSet::Basic;
7              
8             our $VERSION = '1.001002';
9              
10             # ABSTRACT: Basic IsDev set of Heuristics
11              
12             our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
13              
14              
15              
16              
17              
18              
19              
20              
21              
22              
23              
24              
25              
26 12     12   13011 use Role::Tiny::With qw( with );
  12         88876  
  12         1793  
27             with 'Path::IsDev::Role::HeuristicSet::Simple';
28              
29              
30              
31              
32              
33              
34              
35              
36              
37              
38              
39              
40              
41              
42              
43              
44              
45             sub negative_heuristics {
46 16     16 1 73 return qw( IsDev::IgnoreFile HomeDir PerlINC );
47             }
48              
49              
50              
51              
52              
53              
54              
55              
56              
57              
58              
59              
60              
61              
62              
63              
64              
65              
66              
67              
68              
69              
70              
71              
72              
73              
74              
75              
76              
77              
78              
79             sub heuristics {
80 16     16 1 159 return qw(
81             Tool::Dzil Tool::MakeMaker Tool::ModuleBuild
82             META Changelog TestDir DevDirMarker MYMETA Makefile
83             VCS::Git
84             );
85             }
86              
87             1;
88              
89             __END__
90              
91             =pod
92              
93             =encoding UTF-8
94              
95             =head1 NAME
96              
97             Path::IsDev::HeuristicSet::Basic - Basic IsDev set of Heuristics
98              
99             =head1 VERSION
100              
101             version 1.001002
102              
103             =head1 METHODS
104              
105             =head2 C<negative_heuristics>
106              
107             Excluding heuristics in this set are
108              
109             =over 4
110              
111             =item 1. L<< C<IsDev::IgnoreFile>|Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile >>
112              
113             =item 2. L<< C<HomeDir>|Path::IsDev::NegativeHeuristic::HomeDir >>
114              
115             =item 3. L<< C<PerlINC>|Path::IsDev::NegativeHeuristic::PerlINC >>
116              
117             =back
118              
119             =head2 C<heuristics>
120              
121             Heuristics included in this set:
122              
123             =over 4
124              
125             =item 1. L<< C<Tool::Dzil>|Path::IsDev::Heuristic::Tool::Dzil >>
126              
127             =item 2. L<< C<Tool::MakeMaker>|Path::IsDev::Heuristic::Tool::MakeMaker >>
128              
129             =item 3. L<< C<Tool::ModuleBuild>|Path::IsDev::Heuristic::Tool::ModuleBuild >>
130              
131             =item 4. L<< C<META>|Path::IsDev::Heuristic::META >>
132              
133             =item 5. L<< C<Changelog>|Path::IsDev::Heuristic::Changelog >>
134              
135             =item 6. L<< C<TestDir>|Path::IsDev::Heuristic::TestDir >>
136              
137             =item 7. L<< C<DevDirMarker>|Path::IsDev::Heuristic::DevDirMarker >>
138              
139             =item 8. L<< C<MYMETA>|Path::IsDev::Heuristic::MYMETA >>
140              
141             =item 9. L<< C<Makefile>|Path::IsDev::Heuristic::Makefile >>
142              
143             =item 10. L<< C<VCS::Git>|Path::IsDev::Heuristic::VCS::Git >>
144              
145             =back
146              
147             =begin MetaPOD::JSON v1.1.0
148              
149             {
150             "namespace":"Path::IsDev::HeuristicSet::Basic",
151             "interface":"single_class",
152             "does":"Path::IsDev::Role::HeuristicSet::Simple"
153             }
154              
155              
156             =end MetaPOD::JSON
157              
158             =head1 AUTHOR
159              
160             Kent Fredric <kentfredric@gmail.com>
161              
162             =head1 COPYRIGHT AND LICENSE
163              
164             This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.
165              
166             This is free software; you can redistribute it and/or modify it under
167             the same terms as the Perl 5 programming language system itself.
168              
169             =cut