App/Plugin/Man/Meta/Class.pm

filter: Statementstmt 76.1% 16 / 21 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 70.0% 21 / 30 CC 2 SCAR 8.9
CC
2
Cov
70%
__ANON__
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.4
« App/Meta/Role/Class/Documentation.pm ↑ Summary App/Plugin/BashCompletion/Command.pm »
1 # ============================================================================
2 package MooseX::App::Plugin::Man::Meta::Class;
3 # ============================================================================
4  
5 1 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use MooseX::App::Plugin::Man::Command;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 0 ▶around '_build_app_commands' => sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
14 0 my $orig = shift;
15 0 my $self = shift;
16  
17 0 my $return = $self->$orig(@_);
18 0 ▶ $return->{man} ||= 'MooseX::App::Plugin::Man::Command';
Condition0%0/2
$return->{"man"} ||= "MooseX::App::Plugin::Man::Command"
l!l
00
MC/DC0%0/1
$return->{"man"} ||= "MooseX::App::Plugin::Man::Command"
$return->{"man"}
Truth table0%0/2
A
A= $return->{"man"}
Aresult
11
00
19  
20 0 return $return;
21 1 };
22  
23 1 1;
« App/Meta/Role/Class/Documentation.pm ↑ Summary App/Plugin/BashCompletion/Command.pm »