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

filter: Statementstmt 0.0% 0 / 35 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod n/a totaltotal 0.0% 0 / 47 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, 2014 Rocky Bernstein <rocky@cpan.org>
3 use warnings; no warnings 'redefine'; no warnings 'once';
4 use rlib '../../../../..';
5 use strict;
6 use vars qw(@ISA @SUBCMD_VARS);
7  
8 package Devel::Trepan::CmdProcessor::Command::Show::Trace;
9  
10 use Devel::Trepan::CmdProcessor::Command::Subcmd::Core;
11 use Devel::Trepan::CmdProcessor::Command::Subcmd::SubsubMgr;
12 use vars qw(@ISA @SUBCMD_VARS);
13 our $MIN_ABBREV = length('au');
14 =pod
15  
16 =head2 Synopsis:
17  
18 =cut
19 our $HELP = <<"HELP";
20 =pod
21  
22 Show tracing of various sorts.
23  
24 The types of tracing include events from the trace buffer, or printing
25 those events.
26  
27 =head2
28  
29 C<help set trace *> for a list of subcommands or C<help set trace>
30 I<name> for help on a particular trace subcommand.
31  
32 =cut
33 HELP
34 our $SHORT_HELP = 'Show tracing event-related controls';
35  
36 @ISA = qw(Devel::Trepan::CmdProcessor::Command::SubsubcmdMgr);
37  
38 # sub run($$)
39 # {
40 # my ($self, $args) = @_;
41 # $self->SUPER;
42 # }
43  
44 unless (caller) {
45 # Demo it.
46 require Devel::Trepan;
47 # require_relative '../../mock'
48 # dbgr, parent_cmd = MockDebugger::setup('set', false);
49 # $cmd = __PACKAGE__->new(dbgr.core.processor,
50 # parent_cmd);
51 # $cmd->run(($cmd->prefix ('string', '30'));
52  
53 # for my $prefix qw(s lis foo) {
54 # p [prefix, cmd.complete(prefix)];
55 # }
56 }
57  
58 1;