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   1912 use Modern::Perl;
  1         1  
  1         6  
3 1     1   108 use IO::All;
  1         1  
  1         10  
4 1     1   44 use Moo;
  1         1  
  1         4  
5 1     1   178 use Types::Standard qw/Int Str/;
  1         1  
  1         10  
6 1     1   835 use MooX::Cmd;
  1         4291  
  1         20  
7 1     1   67421 use MooX::Options prefer_commandline => 1;
  1         13938  
  1         6  
8              
9             our $VERSION = '0.0.10'; # 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__