blib/lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/Eval.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod n/a totaltotal 0.0% 0 / 44 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::Auto::Eval;
7 use Devel::Trepan::CmdProcessor::Command::Subcmd::Subsubcmd;
8  
9 use strict;
10 use vars qw(@ISA @SUBCMD_VARS);
11 @ISA = qw(Devel::Trepan::CmdProcessor::Command::ShowBoolSubsubcmd);
12 # Values inherited from parent
13  
14 use vars @Devel::Trepan::CmdProcessor::Command::Subsubcmd::SUBCMD_VARS;
15  
16 our $IN_LIST = 1;
17 use constant MAX_ARGS => 0;
18 =pod
19  
20 =head2 Synopsis:
21  
22 =cut
23 our $HELP = <<"HELP";
24 =pod
25  
26 B<show auto eval>
27  
28 Show whether unrecognized debugger commands are evaluated.
29  
30 =head2 See also:
31  
32 L<C<set auto eval>|Devel::Trepan::CmdProcessor::Command::Set::Auto Eval>, and L<C<eval>|Devel::Trepan::CmdProcessor::Command::Eval>
33 =cut
34 HELP
35  
36 our $MIN_ABBREV = length('ev');
37 our $SHORT_HELP = "Show evaluation of unrecognized debugger commands";
38  
39 unless (caller) {
40 # Demo it.
41 # require_relative '../../../mock'
42  
43 # dbgr, set_cmd = MockDebugger::setup('set');
44 # $max_cmd = __PACKAGE__->new(dbgr.core.processor, $set_cmd);
45 # $cmd_ary = __PACKAGE__->{prefix};
46 # $cmd_name = cmd_ary.join(' ');
47 # $subcmd = __PACAKGE__->new(set_cmd.proc, max_cmd, cmd_name);
48 # prefix_run = cmd_ary[1..-1]
49 # $subcmd->run(prefix_run)
50 # $subcmd->run(($prefix_run, qw(0)));
51 # $subcmd->run(($prefix_run, qw(20)));
52 # $subcmd->summary_help($name);
53 # print
54 # print '-' x 20;
55 # print $subcmd->save_command
56 }
57  
58 1;