line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
383
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
45
|
|
2
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
27
|
|
3
|
1
|
|
|
1
|
|
9
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
37
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package CPAN::Testers::Fact::InstalledModules; |
6
|
|
|
|
|
|
|
# ABSTRACT: Versions of particular modules installed on a system |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '1.999003'; |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
3
|
use Carp (); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
15
|
|
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
3
|
use Metabase::Fact::Hash 0.016; |
|
1
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
101
|
|
13
|
|
|
|
|
|
|
our @ISA = qw/Metabase::Fact::Hash/; |
14
|
|
|
|
|
|
|
|
15
|
0
|
|
|
0
|
0
|
|
sub optional_keys { qw/prereqs toolchain undeclared/ } |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub validate_content { |
18
|
0
|
|
|
0
|
1
|
|
my ($self) = @_; |
19
|
0
|
|
|
|
|
|
$self->SUPER::validate_content; |
20
|
0
|
|
|
|
|
|
my $content = $self->content; |
21
|
0
|
|
|
|
|
|
for my $key ( keys %$content ) { |
22
|
0
|
0
|
|
|
|
|
Carp::croak "key '$key' must be a hashref" unless ref $content->{$key} eq 'HASH'; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |