line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
22
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
96
|
|
2
|
4
|
|
|
4
|
|
15
|
use warnings; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
180
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Footprintless::Resource::Maven; |
5
|
|
|
|
|
|
|
$Footprintless::Resource::Maven::VERSION = '1.28'; |
6
|
|
|
|
|
|
|
# ABSTRACT: A resource described by Maven artifact |
7
|
|
|
|
|
|
|
# PODNAME: Footprintless::Resource::Maven |
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
20
|
use parent qw(Footprintless::Resource); |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
22
|
|
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__ |