Mercury/Command/mercury.pm

filter: Statementstmt 75.0% 9 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 25.0% 1 / 4 Podpod 100% 1 / 1 totaltotal 64.7% 11 / 17 CC 1 SCAR 2.7
CC
1
Cov
75%
help
2.0
__ANON__
1.1
__ANON__
1.1
CRAP 1.3
« Mojolicious/Plugin/Mercury.pm ↑ Summary Mercury/Controller/PushPull.pm »
1 package Mercury::Command::mercury;
2 1 our $VERSION = '0.016';
3 # ABSTRACT: Mercury command for Mojolicious
4  
5 1 ▶use Mojo::Base 'Mojolicious::Commands';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 has description => 'Mercury message broker';
8 1 has hint => <<EOF;
9  
10 See 'APPLICATION mercury help COMMAND' for more information on a specific
11 command.
12 EOF
13  
14 0 ▶has message => sub { shift->extract_usage . "\nCommands:\n" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
15 0 ▶has namespaces => sub { ['Mercury::Command::mercury'] };
Subroutine __ANON__: not called CC=1 SCAR=1.2
16  
17 0 ▶sub help { shift->run(@_) }
Subroutine help: not called CC=1 SCAR=6.9
Pod documented
18  
19 1 1;
20  
21 __END__
« Mojolicious/Plugin/Mercury.pm ↑ Summary Mercury/Controller/PushPull.pm »