File Coverage

lib/Code/Statistics/App/Command/nop.pm
Criterion Covered Total %
statement 9 12 75.0
branch n/a
condition n/a
subroutine 3 5 60.0
pod 2 2 100.0
total 14 19 73.6


line stmt bran cond sub pod time code
1 1     1   439 use strict;
  1         2  
  1         26  
2 1     1   4 use warnings;
  1         2  
  1         59  
3              
4             package Code::Statistics::App::Command::nop;
5             $Code::Statistics::App::Command::nop::VERSION = '1.190680';
6             # ABSTRACT: does nothing
7              
8 1     1   6 use Code::Statistics::App -command;
  1         2  
  1         5  
9              
10 0     0 1   sub abstract { return 'do nothing' }
11              
12             sub execute {
13 0     0 1   my ( $self, $opt, $arg ) = @_;
14              
15 0           return $self->cstat;
16             }
17              
18             1;
19              
20             __END__
21              
22             =pod
23              
24             =encoding UTF-8
25              
26             =head1 NAME
27              
28             Code::Statistics::App::Command::nop - does nothing
29              
30             =head1 VERSION
31              
32             version 1.190680
33              
34             =head1 AUTHOR
35              
36             Christian Walde <mithaldu@yahoo.de>
37              
38             =head1 COPYRIGHT AND LICENSE
39              
40              
41             Christian Walde has dedicated the work to the Commons by waiving all of his
42             or her rights to the work worldwide under copyright law and all related or
43             neighboring legal rights he or she had in the work, to the extent allowable by
44             law.
45              
46             Works under CC0 do not require attribution. When citing the work, you should
47             not imply endorsement by the author.
48              
49             =cut