line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
19
|
|
|
19
|
|
142
|
use strict; |
|
19
|
|
|
|
|
41
|
|
|
19
|
|
|
|
|
640
|
|
2
|
19
|
|
|
19
|
|
109
|
use warnings; |
|
19
|
|
|
|
|
36
|
|
|
19
|
|
|
|
|
886
|
|
3
|
|
|
|
|
|
|
package MetaCPAN::Client::Module; |
4
|
|
|
|
|
|
|
# ABSTRACT: A Module data object |
5
|
|
|
|
|
|
|
$MetaCPAN::Client::Module::VERSION = '2.028000'; |
6
|
19
|
|
|
19
|
|
105
|
use Moo; |
|
19
|
|
|
|
|
42
|
|
|
19
|
|
|
|
|
107
|
|
7
|
|
|
|
|
|
|
extends 'MetaCPAN::Client::File'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub metacpan_url { |
10
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
11
|
0
|
|
|
|
|
|
sprintf("https://metacpan.org/pod/release/%s/%s/%s", |
12
|
|
|
|
|
|
|
$self->author, $self->release, $self->path ); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub package { |
16
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
17
|
0
|
|
|
|
|
|
return $self->client->package( $self->documentation ); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub permission { |
21
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
22
|
0
|
|
|
|
|
|
return $self->client->permission( $self->documentation ); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |