File Coverage

lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Trace_Subcmd/Print.pm
Criterion Covered Total %
statement 24 24 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod n/a
total 32 32 100.0


line stmt bran cond sub pod time code
1             # -*- coding: utf-8 -*-
2             # Copyright (C) 2011, 2014 Rocky Bernstein <rocky@cpan.org>
3 12     12   86 use warnings; no warnings 'redefine'; no warnings 'once';
  12     12   36  
  12     12   624  
  12         77  
  12         36  
  12         403  
  12         80  
  12         34  
  12         451  
4 12     12   72 use rlib '../../../../../..';
  12         32  
  12         73  
5              
6             package Devel::Trepan::CmdProcessor::Command::Show::Trace::Print;
7 12     12   5113 use Devel::Trepan::CmdProcessor::Command::Subcmd::Subsubcmd;
  12         33  
  12         271  
8              
9 12     12   66 use strict;
  12         31  
  12         306  
10 12     12   110 use vars qw(@ISA @SUBCMD_VARS);
  12         34  
  12         773  
11             @ISA = qw(Devel::Trepan::CmdProcessor::Command::ShowBoolSubsubcmd);
12             # Values inherited from parent
13              
14 12     12   81 use vars @Devel::Trepan::CmdProcessor::Command::Subsubcmd::SUBCMD_VARS;
  12         36  
  12         2047  
15              
16             our $IN_LIST = 1;
17             our $MIN_ABBREV = length('p');
18             =pod
19              
20             =head2 Synopsis:
21              
22             =cut
23             our $HELP = <<"HELP";
24             =pod
25              
26             B<show trace print>
27              
28             Show tracing print (set -x) status.
29              
30             =head2 See also:
31              
32             L<C<set trace print>|Devel::Trepan::CmdProcessor::Set::Trace::Print>
33              
34             =cut
35             HELP
36              
37             our $SHORT_HELP = "Show tracing print (set -x) status";
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 = Trepan::SubSubcommand::SetMaxList::PREFIX
46             # $cmd_name = cmd_ary.join(' ')
47             # $subcmd = __PACKAGE__->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 "\n";
54             # print '-' x 20, "\n";
55             # print $subcmd->save_command;
56             }
57              
58             1;