blib/lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Abbrev.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 31 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2011, 2012, 2014 Rocky Bernstein <rocky@cpan.org>
3 use warnings; no warnings 'redefine'; no warnings 'once';
4 use rlib '../../../../..';
5  
6 package Devel::Trepan::CmdProcessor::Command::Show::Abbrev;
7  
8 use Devel::Trepan::CmdProcessor::Command::Subcmd::Core;
9  
10 @ISA = qw(Devel::Trepan::CmdProcessor::Command::ShowBoolSubcmd);
11 # Values inherited from parent
12 use vars @Devel::Trepan::CmdProcessor::Command::Subcmd::SUBCMD_VARS;
13  
14 =pod
15  
16 =head2 Synopsis:
17  
18 =cut
19 our $HELP = <<'EOH';
20 =pod
21  
22 B<show abbrev>
23  
24 Show whether we allow abbreviated debugger command names
25  
26 =head2 See also:
27  
28 L<C<set abbrev>|Devel::Trepan::CmdProcessor::Command::Set::Abbrev>
29 =cut
30 EOH
31  
32 our $SHORT_HELP = "Show whether we allow abbreviated debugger command names";
33 our $MIN_ABBREV = length('ab');
34  
35 unless (caller) {
36 # Demo it.
37 # require_relative '../../mock'
38  
39 # # FIXME: DRY the below code
40 # my ($dbgr, $cmd) = MockDebugger::setup('show');
41 # $subcommand = __PACKAGE__->new($cmd);
42 # $testcmdMgr = Trepan::Subcmd->new($subcommand);
43  
44 # $subcommand->run_show_bool();
45 # $subcommand->summary_help($NAME);
46 }
47  
48 1;