blib/lib/App/CSE/Command.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 7 | 71.4 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | 0 | 2 | 0.0 |
total | 7 | 12 | 58.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package App::CSE::Command; | ||||||
2 | $App::CSE::Command::VERSION = '0.015'; | ||||||
3 | 2 | 2 | 1235 | use Moose; | |||
2 | 6 | ||||||
2 | 13 | ||||||
4 | |||||||
5 | has 'cse' => ( is => 'ro' , isa => 'App::CSE', weak_ref => 1, required => 1); | ||||||
6 | |||||||
7 | sub options_specs{ | ||||||
8 | 3 | 3 | 0 | 7 | my ($self) = @_; | ||
9 | 3 | 64 | return []; | ||||
10 | } | ||||||
11 | |||||||
12 | =head execute | ||||||
13 | |||||||
14 | Does stuff and return an exit code. | ||||||
15 | |||||||
16 | =cut | ||||||
17 | |||||||
18 | sub execute{ | ||||||
19 | 0 | 0 | 0 | my ($self) = @_; | |||
20 | 0 | die "Implement me in $self"; | |||||
21 | } | ||||||
22 | |||||||
23 | |||||||
24 | __PACKAGE__->meta->make_immutable(); |