lib/Devel/Trepan/Terminated.pm

filter: Statementstmt 60.0% 3 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 0.0% 0 / 2 totaltotal 44.4% 4 / 9 CC 1 SCAR 1.2
CC
1
Cov
60%
at_exit
1.1
at_exit
1.1
CRAP 1.1
« example/my.pl ↑ Summary lib/Devel/Trepan/CmdProcessor/Command/Server.pm »
1 # Copyright (C) 2012 Rocky Bernstein <rocky@cpan.org>
2 =head1 C<Devel::Trepan::Terminated>
3  
4 Contains the C<at_exit> routine that the debugger uses to issue the
5 C<Debugged program terminated ...> message after the program completes.
6  
7 =cut
8  
9 # rocky: I'm copying what perl5db does here, which I suppose has some
10 # time-honored benefit. That doesn't mean though that I like it. FIXME!
11 package Devel::Trepan::Terminated;
12  
13 12 ▶sub at_exit {
Subroutine at_exit: called CC=1 SCAR=1.2
Pod undocumented
14 0 ▶ $DB::ready = 1;
Subroutine at_exit: not called CC=1 SCAR=1.2
Pod undocumented
15 # The below is there to have something to look at in "list" command.
16 0 "Debugged program terminated. Use 'q' to quit or 'R' to restart.";
17 }
18  
19 12 'Just another Perl module';
« example/my.pl ↑ Summary lib/Devel/Trepan/CmdProcessor/Command/Server.pm »