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