line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
127220
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
98
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
59
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Path::IsDev::HeuristicSet::FromConfig; |
5
|
|
|
|
|
|
|
BEGIN { |
6
|
1
|
|
|
1
|
|
29
|
$Path::IsDev::HeuristicSet::FromConfig::AUTHORITY = 'cpan:KENTNL'; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
{ |
9
|
|
|
|
|
|
|
$Path::IsDev::HeuristicSet::FromConfig::VERSION = '0.002000'; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# ABSTRACT: A Custom Heuristic Set from a configuration file |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
1067
|
use Role::Tiny::With; |
|
1
|
|
|
|
|
6638
|
|
|
1
|
|
|
|
|
250
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
with 'Path::IsDev::Role::HeuristicSet::Simple'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
require Path::IsDev::HeuristicSet::FromConfig::Loader; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
my $loader = Path::IsDev::HeuristicSet::FromConfig::Loader->new(); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub heuristics { |
26
|
1
|
|
|
1
|
1
|
2407
|
return @{ $loader->heuristics() }; |
|
1
|
|
|
|
|
29
|
|
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub negative_heuristics { |
31
|
1
|
|
|
1
|
1
|
40557
|
return @{ $loader->negative_heuristics() }; |
|
1
|
|
|
|
|
28
|
|
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__END__ |