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 5     5   31 use strict;
  5         9  
  5         147  
3 5     5   26 use warnings;
  5         11  
  5         231  
4             package App::Spec::Subcommand;
5              
6             our $VERSION = '0.011'; # VERSION
7              
8 5     5   1955 use App::Spec::Option;
  5         14  
  5         163  
9 5     5   2091 use App::Spec::Parameter;
  5         15  
  5         139  
10              
11 5     5   30 use Moo;
  5         9  
  5         19  
12              
13             with('App::Spec::Role::Command');
14              
15             has summary => ( is => 'ro' );
16             has subcommand_required => ( is => 'ro' );
17              
18       60 1   sub default_plugins { }
19              
20             1;
21              
22             __END__