bin/ebug_backend_perl

filter: Statementstmt 81.8% 9 / 11 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 70.5% 12 / 17 CC 1 SCAR 0.0
CC
1
Cov
67%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Devel/ebug/Backend/Plugin/StackTrace.pm ↑ Summary corpus/args.pl »
1 #!perl
2  
3 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 #use lib::findbin '../lib'; # dev-only
6  
7 # PODNAME: ebug_backend_perl
8 # ABSTRACT: Backend for ebug
9 6 our $VERSION = '0.69'; # VERSION
10  
11  
12 # On Windows exec starts a new process and exits this one, so the frontend
13 # would see the process it started die before the backend connects. Wait
14 # for the backend instead, and exit with its status.
15 6 ▶if ($^O eq 'MSWin32') {
Branch: 1 branch
BranchTrueFalseTotal
if ($^O eq "MSWin32") 0 6 6
16 0 system $^X, "-d:ebug::Backend", @ARGV;
17 0 ▶ exit($? == -1 ? 255 : $? >> 8);
Branch: 1 branch
BranchTrueFalseTotal
$? == -1 ? : 0 0 0
18 }
19  
20 6 exec $^X, "-d:ebug::Backend", @ARGV;
21  
22 __END__
« blib/lib/Devel/ebug/Backend/Plugin/StackTrace.pm ↑ Summary corpus/args.pl »