File Coverage

blib/lib/MooseX/App/Plugin/Version/Meta/Class.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             # ============================================================================
2             package MooseX::App::Plugin::Version::Meta::Class;
3             # ============================================================================
4              
5 4     4   3062 use 5.010;
  4         9  
6 4     4   17 use utf8;
  4         4  
  4         26  
7              
8 4     4   97 use namespace::autoclean;
  4         6  
  4         26  
9 4     4   260 use Moose::Role;
  4         6  
  4         27  
10              
11 4     4   16579 use MooseX::App::Plugin::Version::Command;
  4         8  
  4         380  
12              
13             around '_build_app_commands' => sub {
14             my $orig = shift;
15             my $self = shift;
16              
17             my $return = $self->$orig(@_);
18             $return->{version} ||= 'MooseX::App::Plugin::Version::Command';
19              
20             return $return;
21             };
22              
23             1;