line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
2735
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
43
|
|
2
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
63
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package CPAN::Testers::Report; |
6
|
|
|
|
|
|
|
# ABSTRACT: CPAN Testers report object |
7
|
|
|
|
|
|
|
our $VERSION = '1.999002'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
1042
|
use Metabase::Report 0.016 (); |
|
1
|
|
|
|
|
83989
|
|
|
1
|
|
|
|
|
192
|
|
10
|
|
|
|
|
|
|
our @ISA = qw/Metabase::Report/; |
11
|
|
|
|
|
|
|
CPAN::Testers::Report->load_fact_classes; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub report_spec { |
14
|
|
|
|
|
|
|
return { |
15
|
1
|
|
|
1
|
1
|
23
|
'CPAN::Testers::Fact::LegacyReport' => 1, |
16
|
|
|
|
|
|
|
'CPAN::Testers::Fact::TestSummary' => 1, # include date |
17
|
|
|
|
|
|
|
'CPAN::Testers::Fact::TestOutput' => '0+', # eventually by phase |
18
|
|
|
|
|
|
|
'CPAN::Testers::Fact::TesterComment' => '0+', |
19
|
|
|
|
|
|
|
'CPAN::Testers::Fact::PerlConfig' => '0+', |
20
|
|
|
|
|
|
|
'CPAN::Testers::Fact::TestEnvironment' => '0+', |
21
|
|
|
|
|
|
|
'CPAN::Testers::Fact::Prereqs' => '0+', # declared versions |
22
|
|
|
|
|
|
|
'CPAN::Testers::Fact::InstalledModules' => '0+', |
23
|
|
|
|
|
|
|
# XXX needs NNTP_ID for old reports -- dagolden, 2009-06-24 |
24
|
|
|
|
|
|
|
# future goals |
25
|
|
|
|
|
|
|
# 'CPAN::Testers::Fact::TAPArchive' => 1, |
26
|
|
|
|
|
|
|
}; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub content_metadata { |
30
|
0
|
|
|
0
|
1
|
|
my ($self) = @_; |
31
|
0
|
|
|
|
|
|
for my $fact ( $self->facts ) { |
32
|
0
|
0
|
|
|
|
|
next unless $fact->type eq 'CPAN-Testers-Fact-LegacyReport'; |
33
|
0
|
|
|
|
|
|
return $fact->content_metadata; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub content_metadata_types { |
38
|
0
|
|
|
0
|
1
|
|
require CPAN::Testers::Fact::LegacyReport; |
39
|
0
|
|
|
|
|
|
return CPAN::Testers::Fact::LegacyReport->content_metadata_types; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |