Test_Progs/argv_heading

filter: Statementstmt 45.5% 31 / 68 Branchbran 17.5% 7 / 40 Conditioncond 33.3% 3 / 9 MC/DCmcdc 0.0% 0 / 5 Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 35.2% 44 / 125 CC 2 SCAR 4.5
CC
2
Cov
35%
BEGIN
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
« Test_Progs/sub2 ↑ Summary Test_Progs/eslect »
1 #! /usr/bin/perl -w
2  
3 1 my $VERSION = 1.03;
4  
5 1 ▶use blib;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use Shell::POSIX::Select(
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 '$Heading',
9 # debug => 9,
10 # logging => 1,
11 1 );
12  
13 1 ▶BEGIN { @ARGV or @ARGV=qw(A B C) }
Subroutine BEGIN: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
@ARGV or @ARGV = ("A", "B", "C") 0 1 1
14  
15 1 $Heading='MENU CITY';
16 select $var (@ARGV) { print "$var\n"; }
« Test_Progs/sub2 ↑ Summary Test_Progs/eslect »