lib/BioX/Workflow/Command.pm

filter: Statementstmt 75.0% 18 / 24 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 63.6% 21 / 33 CC 3 SCAR 17.4
CC
3
Cov
64%
__ANON__
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 5.7
« lib/BioX/Workflow/Command/run/Utils/Files/TrackChanges.pm ↑ Summary lib/BioX/Workflow/Command/run/Rules/Directives/Types/CSV.pm »
1 package BioX::Workflow::Command;
2  
3 2 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 our $VERSION = '2.4.1';
5  
6 2 ▶use MooseX::App 1.39 qw(Color);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 app_strict 0;
9 2 app_exclude(
10 'BioX::Workflow::Command::run::Rules',
11 'BioX::Workflow::Command::run::Utils',
12 'BioX::Workflow::Command::Utils',
13 'BioX::Workflow::Command::inspect::Utils',
14 'BioX::Workflow::Command::inspect::Exceptions',
15 'BioX::Workflow::Command::Exceptions',
16 );
17  
18 2 with 'BioX::Workflow::Command::Utils::Log';
19 2 with 'BioSAILs::Utils::Plugin';
20 2 with 'BioSAILs::Utils::LoadConfigs';
21  
22 2 option '+config_base' => (
23 is => 'rw',
24 default => '.bioxworkflow',
25 );
26  
27 0 ▶sub BUILD { }
Subroutine BUILD: not called CC=1 SCAR=0.0
28  
29 0 ▶after 'BUILD' => sub {
Subroutine __ANON__: not called CC=3 SCAR=24.8
30 0 my $self = shift;
31  
32 0 ▶ return unless $self->plugins;
Branch: 1 branch
BranchTrueFalseTotal
unless $self->plugins 0 0 0
33  
34 0 $self->app_load_plugins( $self->plugins );
35 0 $self->parse_plugin_opts( $self->plugins_opts );
36  
37 ##Must reload the configs to get any options from the plugins
38 0 ▶ if ( $self->has_config_files ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->has_config_files) 0 0 0
39 0 $self->load_configs;
40 }
41 2 };
42  
43 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
44 2 __PACKAGE__->meta->make_immutable;
45  
46 2 1;
47  
48 __END__
« lib/BioX/Workflow/Command/run/Utils/Files/TrackChanges.pm ↑ Summary lib/BioX/Workflow/Command/run/Rules/Directives/Types/CSV.pm »