CohortExplorer.pm

filter: Statementstmt 87.5% 14 / 16 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 81.8% 18 / 22 CC 1 SCAR 0.0
CC
1
Cov
78%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« CohortExplorer/Application/OpenClinica/Datasource.pm ↑ Summary
1 #!/usr/bin/perl
2  
3 package CohortExplorer;
4  
5 2 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 our $VERSION = 0.14;
11  
12 2 ▶use CohortExplorer::Application;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 # Untaint arguments
15 2 for ( 0 .. $#ARGV ) {
16 0 ▶ if ( $ARGV[$_] =~ /^(.*)$/ ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($ARGV[$_] =~ /^(.*)$/) 0 0 0
17 0 $ARGV[$_] = $1;
18 }
19 }
20  
21 #-------
22  
23 2 1;
24  
25 __END__
« CohortExplorer/Application/OpenClinica/Datasource.pm ↑ Summary