line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
19
|
|
|
19
|
|
138
|
use strict; |
|
19
|
|
|
|
|
44
|
|
|
19
|
|
|
|
|
594
|
|
2
|
19
|
|
|
19
|
|
98
|
use warnings; |
|
19
|
|
|
|
|
38
|
|
|
19
|
|
|
|
|
855
|
|
3
|
|
|
|
|
|
|
package MetaCPAN::Client::Module; |
4
|
|
|
|
|
|
|
# ABSTRACT: A Module data object |
5
|
|
|
|
|
|
|
$MetaCPAN::Client::Module::VERSION = '2.029000'; |
6
|
19
|
|
|
19
|
|
125
|
use Moo; |
|
19
|
|
|
|
|
40
|
|
|
19
|
|
|
|
|
98
|
|
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__ |