lib/App/Morris.pm

filter: Statementstmt 79.1% 19 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 0.0% 0 / 2 totaltotal 72.7% 24 / 33 CC 1 SCAR 2.5
CC
1
Cov
79%
__ANON__
2.0
run
2.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Morris/Plugin/MP.pm ↑ Summary
1 package App::Morris;
2 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use Config::Any;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use Morris;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use namespace::clean -except => qw(meta);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 with qw(MooseX::Getopt MooseX::SimpleConfig);
8  
9 2 has '+configfile' => (
10 default => '/etc/morris.conf'
11 );
12  
13 2 has config => (
14 traits => ['NoGetopt'],
15 is => 'ro',
16 isa => 'HashRef',
17 );
18  
19 0 ▶around _usage_format => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
20 0 return "usage: %c %o (run 'perldoc App::Morris' for more info)";
21 2 };
22
23 0 ▶sub run {
Subroutine run: not called CC=1 SCAR=6.9
Pod undocumented
24 0 my $self = shift;
25  
26 0 my $morris = Morris->new_from_config( $self->config );
27 0 $morris->run();
28 0 $morris->condvar->recv;
29 }
30  
31 2 ▶sub config_any_args {
Subroutine config_any_args: called CC=1 SCAR=0.0
Pod undocumented
32 return {
33 2 driver_args => {
34 General => {
35 -LowerCaseNames => 1
36 }
37 }
38 };
39 }
40  
41  
42 2 __PACKAGE__->meta->make_immutable();
43  
44 2 1;
45  
46 __END__
« blib/lib/Morris/Plugin/MP.pm ↑ Summary