File Coverage

blib/lib/App/Spec/Subcommand.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 1 1 100.0
total 22 22 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: Represents an App::Spec subcommand
2 8     8   344221 use strict;
  8         28  
  8         333  
3 8     8   33 use warnings;
  8         15  
  8         764  
4             package App::Spec::Subcommand;
5              
6             our $VERSION = 'v0.15.0'; # VERSION
7              
8 8     8   3640 use App::Spec::Option;
  8         64  
  8         403  
9 8     8   4546 use App::Spec::Parameter;
  8         25  
  8         316  
10              
11 8     8   51 use Moo;
  8         13  
  8         33  
12              
13             with('App::Spec::Role::Command');
14              
15             has summary => ( is => 'ro' );
16             has subcommand_required => ( is => 'ro' );
17              
18       71 1   sub default_plugins { }
19              
20             1;
21              
22             __END__