blib/lib/HPCD/uni/Run.pm

filter: Statementstmt 68.1% 15 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 4 / 8 Podpod n/a totaltotal 63.3% 19 / 30 CC 1 SCAR 2.2
CC
1
Cov
68%
__ANON__
2.0
_get_submit_command
2.0
BEGIN
1.0
CRAP 1.2
« blib/lib/HPCI/JobGroup.pm ↑ Summary blib/lib/HPCI/File.pm »
1 package HPCD::uni::Run;
2  
3 ### INCLUDES ######################################################################################
4  
5 # safe Perl
6 20 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 20 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 20 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 ▶sub _register_status {
Subroutine _register_status: not called CC=1 SCAR=0.0
13 }
14  
15 ▶sub _collect_job_stats {
Subroutine _collect_job_stats: not called CC=1 SCAR=0.0
16 }
17  
18 20 with 'HPCI::Run' => { theDriver => 'HPCD::uni' };
19  
20 has 'stats_keys' => (
21 is => 'ro',
22 isa => 'ArrayRef[Str]',
23 init_arg => undef,
24 0 ▶ default => sub { [ ] },
Subroutine __ANON__: not called CC=1 SCAR=6.9
25 20 );
26  
27 sub _get_submit_command {
28 0 ▶ my $self = shift;
Subroutine _get_submit_command: not called CC=1 SCAR=6.9
29  
30 0 my $stage = $self->stage;
31 0 my $shell_script = $stage->script_file;
32 0 my $output_file = $self->_stdout;
33 0 my $error_file = $self->_stderr;
34  
35 0 return "exec $shell_script >$output_file 2>$error_file",
36 $stage->_get_submit_timeouts;
37 };
38  
39 20 1;
« blib/lib/HPCI/JobGroup.pm ↑ Summary blib/lib/HPCI/File.pm »