File Coverage

blib/lib/BioX/Map/CLIS.pm
Criterion Covered Total %
statement 18 23 78.2
branch 0 2 0.0
condition n/a
subroutine 6 7 85.7
pod 1 1 100.0
total 25 33 75.7


line stmt bran cond sub pod time code
1             package BioX::Map::CLIS;
2 1     1   1694 use Modern::Perl;
  1         2  
  1         5  
3 1     1   107 use IO::All;
  1         1  
  1         9  
4 1     1   42 use Moo;
  1         1  
  1         4  
5 1     1   179 use Types::Standard qw/Int Str/;
  1         1  
  1         11  
6 1     1   827 use MooX::Cmd;
  1         4317  
  1         18  
7 1     1   130135 use MooX::Options prefer_commandline => 1;
  1         13789  
  1         5  
8              
9             our $VERSION = '0.0.11'; # VERSION
10             # ABSTRACT: a mapping toolkit
11              
12              
13              
14             sub execute {
15 0     0 1   my ($self, $args_ref, $chain_ref) = @_;
16 0           my $pre_message = "\nWarning:\n this is a apps collection, your can only execute it's sub_command or sub_sub_command. more detail can be obtain by --man paramter\n";
17 0 0         unless (@$args_ref) {
18 0           say $pre_message;
19 0           $self->options_usage;
20             }
21             }
22              
23             1;
24              
25             __END__