line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::CPANTS::Kwalitee::Distros; |
2
|
7
|
|
|
7
|
|
3751
|
use warnings; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
241
|
|
3
|
7
|
|
|
7
|
|
35
|
use strict; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
897
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.02'; |
6
|
|
|
|
|
|
|
$VERSION =~ s/_//; ## no critic |
7
|
|
|
|
|
|
|
|
8
|
28
|
|
|
28
|
1
|
183
|
sub order { 800 } |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
################################################################## |
11
|
|
|
|
|
|
|
# Analyse |
12
|
|
|
|
|
|
|
################################################################## |
13
|
|
|
|
|
|
|
my $debian; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub analyse { |
16
|
12
|
|
|
12
|
1
|
39
|
my $class = shift; |
17
|
12
|
|
|
|
|
21
|
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
|
12
|
|
|
|
|
38
|
return; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
################################################################## |
34
|
|
|
|
|
|
|
# Kwalitee Indicators |
35
|
|
|
|
|
|
|
################################################################## |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub kwalitee_indicators{ |
38
|
8
|
|
|
8
|
1
|
33
|
return []; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
q{Favourite record of the moment: |
42
|
|
|
|
|
|
|
Lili Allen - Allright, still}; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |