dbiproxy.PL

filter: Statementstmt 91.6% 11 / 12 Branchbran 50.0% 2 / 4 Conditioncond 35.7% 5 / 14 MC/DCmcdc 0.0% 0 / 7 Subroutinesub n/a Podpod n/a totaltotal 48.6% 18 / 37 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« dbiprof.PL ↑ Summary dbilogstrip.PL »
1 #!/usr/bin/perl
2 # -*- perl -*-
3  
4 1 ▶my $file = $ARGV[0] || 'dbiproxy';
Condition50%1/2
$ARGV[0] || 'dbiproxy'
l!l
10
MC/DC0%0/1
$ARGV[0] || 'dbiproxy'
$ARGV[0]
Truth table50%1/2
A
A= $ARGV[0]
Aresult
11
00
5  
6 1 my $script = <<'SCRIPT';
7 ~startperl~
8  
9 use strict;
10  
11 my $VERSION = sprintf("1.%06d", q$Revision$ =~ /(\d+)/o);
12  
13 my $arg_test = shift(@ARGV) if $ARGV[0] eq '--test';
14 $ENV{DBI_TRACE} = shift(@ARGV) || 2 if $ARGV[0] =~ s/^--dbitrace=?//;
15  
16 require DBI::ProxyServer;
17  
18 # XXX these should probably be moved into DBI::ProxyServer
19 delete $ENV{IFS};
20 delete $ENV{CDPATH};
21 delete $ENV{ENV};
22 delete $ENV{BASH_ENV};
23  
24 if ($arg_test) {
25 require RPC::PlServer::Test;
26 @DBI::ProxyServer::ISA = qw(RPC::PlServer::Test DBI);
27 }
28  
29 DBI::ProxyServer::main(@ARGV);
30  
31 exit(0);
32  
33  
34 __END__
« dbiprof.PL ↑ Summary dbilogstrip.PL »