FromConfig.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« FromConfig/Loader.pm ↑ Summary
1 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Path::IsDev::HeuristicSet::FromConfig;
5 2 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 $Path::IsDev::HeuristicSet::FromConfig::AUTHORITY = 'cpan:KENTNL';
7 }
8 {
9 2 $Path::IsDev::HeuristicSet::FromConfig::VERSION = '0.002000';
10 }
11  
12 # ABSTRACT: A Custom Heuristic Set from a configuration file
13  
14  
15  
16 2 ▶use Role::Tiny::With;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 2 with 'Path::IsDev::Role::HeuristicSet::Simple';
19  
20 2 require Path::IsDev::HeuristicSet::FromConfig::Loader;
21  
22 2 my $loader = Path::IsDev::HeuristicSet::FromConfig::Loader->new();
23  
24  
25 1 ▶sub heuristics {
Subroutine heuristics: called CC=1 SCAR=0.0
Pod documented
26 1 return @{ $loader->heuristics() };
27 }
28  
29  
30 1 ▶sub negative_heuristics {
Subroutine negative_heuristics: called CC=1 SCAR=0.0
Pod documented
31 1 return @{ $loader->negative_heuristics() };
32 }
33  
34 2 1;
35  
36 __END__
« FromConfig/Loader.pm ↑ Summary