line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
23
|
use strict; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
119
|
|
2
|
4
|
|
|
4
|
|
23
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
221
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Footprintless::Resource::Maven; |
5
|
|
|
|
|
|
|
$Footprintless::Resource::Maven::VERSION = '1.26'; |
6
|
|
|
|
|
|
|
# ABSTRACT: A resource described by Maven artifact |
7
|
|
|
|
|
|
|
# PODNAME: Footprintless::Resource::Maven |
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
24
|
use parent qw(Footprintless::Resource); |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
20
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub get_artifact { |
12
|
0
|
|
|
0
|
1
|
|
return $_[0]->{artifact}; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _init { |
16
|
0
|
|
|
0
|
|
|
my ( $self, $artifact ) = @_; |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
$self->Footprintless::Resource::_init( $artifact->get_url() ); |
19
|
0
|
|
|
|
|
|
$self->{artifact} = $artifact; |
20
|
|
|
|
|
|
|
|
21
|
0
|
|
|
|
|
|
return $self; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |