line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Determine the responsible party for tests via git for upload to elasticsearch |
2
|
|
|
|
|
|
|
# PODNAME: App::Prove::Elasticsearch::Blamer::Git |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package App::Prove::Elasticsearch::Blamer::Git; |
5
|
|
|
|
|
|
|
$App::Prove::Elasticsearch::Blamer::Git::VERSION = '0.001'; |
6
|
1
|
|
|
1
|
|
84047
|
use strict; |
|
1
|
|
|
|
|
15
|
|
|
1
|
|
|
|
|
33
|
|
7
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
8
|
1
|
|
|
1
|
|
663
|
use utf8; |
|
1
|
|
|
|
|
15
|
|
|
1
|
|
|
|
|
7
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
618
|
use Git; |
|
1
|
|
|
|
|
25961
|
|
|
1
|
|
|
|
|
136
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub get_responsible_party { |
13
|
1
|
|
|
1
|
1
|
96
|
my $email = Git::command_oneline('config', 'user.email'); |
14
|
1
|
|
|
|
|
4
|
chomp $email; |
15
|
1
|
|
|
|
|
7
|
return $email; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |