line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::CPANTS::Kwalitee::Distros; |
2
|
7
|
|
|
7
|
|
3051
|
use warnings; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
203
|
|
3
|
7
|
|
|
7
|
|
32
|
use strict; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
782
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.01'; |
6
|
|
|
|
|
|
|
$VERSION =~ s/_//; ## no critic |
7
|
|
|
|
|
|
|
|
8
|
28
|
|
|
28
|
1
|
127
|
sub order { 800 } |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
################################################################## |
11
|
|
|
|
|
|
|
# Analyse |
12
|
|
|
|
|
|
|
################################################################## |
13
|
|
|
|
|
|
|
my $debian; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub analyse { |
16
|
11
|
|
|
11
|
1
|
31
|
my $class = shift; |
17
|
11
|
|
|
|
|
24
|
my $me = shift; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# NOTE: The data source of these debian metrics has not been |
20
|
|
|
|
|
|
|
# updated for more than a year, and mirroring stuff from |
21
|
|
|
|
|
|
|
# external source every time you test is very nasty. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# These metrics are deprecated and actually removed to |
24
|
|
|
|
|
|
|
# reduce unwanted dependencies for Test::Kwalitee users. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# Note also that this stub should not be removed so that |
27
|
|
|
|
|
|
|
# this can replace the old ::Distro module, and the old |
28
|
|
|
|
|
|
|
# metrics will not be loaded while loading plugins. |
29
|
|
|
|
|
|
|
|
30
|
11
|
|
|
|
|
28
|
return; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
################################################################## |
34
|
|
|
|
|
|
|
# Kwalitee Indicators |
35
|
|
|
|
|
|
|
################################################################## |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub kwalitee_indicators{ |
38
|
8
|
|
|
8
|
1
|
24
|
return []; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
q{Favourite record of the moment: |
42
|
|
|
|
|
|
|
Lili Allen - Allright, still}; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |