line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
15
|
|
|
15
|
|
7146
|
use strict; |
|
15
|
|
|
|
|
23
|
|
|
15
|
|
|
|
|
544
|
|
2
|
15
|
|
|
15
|
|
67
|
use warnings; |
|
15
|
|
|
|
|
18
|
|
|
15
|
|
|
|
|
648
|
|
3
|
|
|
|
|
|
|
package MetaCPAN::API::Module; |
4
|
|
|
|
|
|
|
# ABSTRACT: Module information for MetaCPAN::API |
5
|
|
|
|
|
|
|
$MetaCPAN::API::Module::VERSION = '0.50'; |
6
|
15
|
|
|
15
|
|
75
|
use Carp; |
|
15
|
|
|
|
|
21
|
|
|
15
|
|
|
|
|
854
|
|
7
|
15
|
|
|
15
|
|
68
|
use Moo::Role; |
|
15
|
|
|
|
|
21
|
|
|
15
|
|
|
|
|
81
|
|
8
|
15
|
|
|
15
|
|
4530
|
use namespace::autoclean; |
|
15
|
|
|
|
|
31
|
|
|
15
|
|
|
|
|
125
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# /module/{module} |
11
|
|
|
|
|
|
|
sub module { |
12
|
2
|
|
|
2
|
1
|
1809
|
my $self = shift; |
13
|
2
|
|
|
|
|
4
|
my $name = shift; |
14
|
|
|
|
|
|
|
|
15
|
2
|
100
|
|
|
|
164
|
$name or croak 'Please provide a module name'; |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
|
|
9
|
return $self->fetch("module/$name"); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |