line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
2058
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
46
|
|
2
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
48
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package CPAN::Testers::Fact::TestSummary; |
6
|
|
|
|
|
|
|
# ABSTRACT: summary of a CPAN Testers analysis of a distribution |
7
|
|
|
|
|
|
|
our $VERSION = '1.999002'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
5
|
use Carp (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
19
|
|
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
5
|
use Metabase::Fact::Hash 0.016; |
|
1
|
|
|
|
|
20
|
|
|
1
|
|
|
|
|
270
|
|
12
|
|
|
|
|
|
|
our @ISA = qw/Metabase::Fact::Hash/; |
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
0
|
0
|
|
sub required_keys { qw/grade osname osversion archname perl_version/ } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub content_metadata { |
17
|
0
|
|
|
0
|
1
|
|
my ($self) = @_; |
18
|
0
|
|
|
|
|
|
my $content = $self->content; |
19
|
|
|
|
|
|
|
return { |
20
|
0
|
|
|
|
|
|
grade => $content->{grade}, |
21
|
|
|
|
|
|
|
osname => $content->{osname}, |
22
|
|
|
|
|
|
|
archname => $content->{archname}, |
23
|
|
|
|
|
|
|
perl_version => $content->{perl_version}, |
24
|
|
|
|
|
|
|
}; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub content_metadata_types { |
28
|
|
|
|
|
|
|
return { |
29
|
0
|
|
|
0
|
1
|
|
grade => '//str', |
30
|
|
|
|
|
|
|
osname => '//str', |
31
|
|
|
|
|
|
|
archname => '//str', |
32
|
|
|
|
|
|
|
perl_version => '//str', |
33
|
|
|
|
|
|
|
}; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
# should validate grades, etc. -- dagolden, 2009-03-30 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |