File Coverage

blib/lib/App/Prove/Elasticsearch/Blamer/Env.pm
Criterion Covered Total %
statement 11 11 100.0
branch 2 2 100.0
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: Determine the responsible party for tests via environment variable for upload to elasticsearch
2             # PODNAME: App::Prove::Elasticsearch::Blamer::Env
3              
4             package App::Prove::Elasticsearch::Blamer::Env;
5             $App::Prove::Elasticsearch::Blamer::Env::VERSION = '0.001';
6 1     1   106949 use strict;
  1         10  
  1         21  
7 1     1   3 use warnings;
  1         2  
  1         26  
8 1     1   419 use utf8;
  1         10  
  1         4  
9              
10             sub get_responsible_party {
11 2 100   2 1 959 die "TESTSUITE_EXECUTOR not set" unless $ENV{TESTSUITE_EXECUTOR};
12 1         7 return $ENV{TESTSUITE_EXECUTOR};
13             }
14              
15             1;
16              
17             __END__