blib/lib/HPCD/uni/Group.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 91.6% 22 / 24 CC 1 SCAR 0.5
CC
1
Cov
89%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/HPCI/Stage.pm ↑ Summary
1 package HPCD::uni::Group;
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 20 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 20 ▶use HPCD::uni::Stage;
Subroutine BEGIN: called CC=1 SCAR=2.6
14  
15 with 'HPCI::Group' => { theDriver => 'HPCD::uni' },
16 'HPCI::JobGroup' => { theDriver => 'HPCD::uni' },
17 HPCI::get_extra_roles('uni', 'group');
18  
19 =head1 NAME
20  
21 HPCD::uni::Group
22  
23 =head1 SYNOPSIS
24  
25 my $group = HPCI->group( cluster => 'uni', ... );
26  
27 =head1 DESCRIPTION
28  
29 This module, distributed internal to the HPCI module, provides
30 the translation required to implement a generic HPCI group using a
31 uni(processor) "cluster". (That means simply forking off processes
32 on the same host system as the original process.)
33  
34 This is mostly useful for testing - as a "cluster" type that is
35 always available on any (POSIX-compatible) host. It is also useful
36 as a fallback when your only cluster is broken or inaccessible.
37  
38 =head1 AUTHOR
39  
40 John Macdonald - Boutros Lab
41  
42 =head1 ACKNOWLEDGEMENTS
43  
44 Paul Boutros, Phd, PI - Boutros Lab
45  
46 The Ontario Institute for Cancer Research
47  
48 =cut
49  
50 1;
51  
« blib/lib/HPCI/Stage.pm ↑ Summary