| 1 | # ============================================================================ | ||||||||||||||||||||||||||||
| 2 | package MooseX::App::Plugin::Man; | ||||||||||||||||||||||||||||
| 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 | 0 | ▶ | sub plugin_metaroles { | ||||||||||||||||||||||||||
|
Subroutine
plugin_metaroles: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 12 | 0 | my ($self,$class) = @_; | |||||||||||||||||||||||||||
| 13 | |||||||||||||||||||||||||||||
| 14 | return { | ||||||||||||||||||||||||||||
| 15 | 0 | class => ['MooseX::App::Plugin::Man::Meta::Class'], | |||||||||||||||||||||||||||
| 16 | } | ||||||||||||||||||||||||||||
| 17 | } | ||||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||
| 19 | 0 | ▶ | around 'initialize_command_class' => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||
| 20 | 0 | my $orig = shift; | |||||||||||||||||||||||||||
| 21 | 0 | my $self = shift; | |||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||
| 23 | 0 | my $return = $self->$orig(@_); | |||||||||||||||||||||||||||
| 24 | 0 | ▶ | if (blessed $return | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
builtin::blessed($return) and $return->isa("MooseX::App::Plugin::Man::Command")
MC/DC0%0/2
builtin::blessed($return) and $return->isa("MooseX::App::Plugin::Man::Command")
builtin::blessed($return)
$return->isa("MooseX::App::Plugin::Man::Command")
Truth table0%0/3
A and B
A= builtin::blessed($return)B= $return->isa("MooseX::App::Plugin::Man::Command")
| |||||||||||||||||||||||||||||
| 25 | && $return->isa('MooseX::App::Plugin::Man::Command')) { | ||||||||||||||||||||||||||||
| 26 | 0 | return $return->man($self); | |||||||||||||||||||||||||||
| 27 | } | ||||||||||||||||||||||||||||
| 28 | |||||||||||||||||||||||||||||
| 29 | 0 | return $return; | |||||||||||||||||||||||||||
| 30 | 1 | }; | |||||||||||||||||||||||||||
| 31 | 1 | 1; | |||||||||||||||||||||||||||
| 32 | |||||||||||||||||||||||||||||
| 33 | __END__ | ||||||||||||||||||||||||||||