Condition Coverage

blib/lib/Shell/POSIX/Select.pm
Criterion Covered Total %
condition 38 144 26.3


and 3 conditions

line !l l&&!r l&&r condition
36 0 0 0 defined $ON and $ON ne ''
206 19 0 0 $DEBUG > 1 and $LOGGING
220 0 0 0 $LOGGING and print LOG "\$_ is all white space or else empty\n"
287 9 0 16 defined $loop_var and $loop_var ne ''
302 0 0 25 defined $loop_list and $loop_list ne ''
334 0 0 25 defined $loop_block and $loop_block ne ''
449 0 0 0 $match eq '' and warn "${subname}: \$match is empty\n"
515 14 0 11 defined $decl and $decl ne ''
14 0 11 defined $decl and $decl ne '' and defined $loop_var
0 0 11 defined $decl and $decl ne '' and defined $loop_var and $loop_var ne ''
14 0 0 defined $decl and $decl ne ''
14 0 0 defined $decl and $decl ne '' and !defined($loop_var) || $loop_var eq ''
9 0 5 defined $loop_var and $loop_var ne ''
9 5 0 defined $loop_var and $loop_var ne '' and !defined($decl) || $decl eq ''
561 0 0 0 $DEBUG > 1 and warn "${PKG}: extracted var diff from parsed var: ", $DEBUG > 0
580 0 25 0 defined $decl and $decl eq 'unset'
593 0 0 25 defined $values and $values ne ''
598 0 5 20 defined $decl && $decl ne ''
832 17 0 0 $DEBUG > 3 and $LOGGING
835 17 0 0 $DEBUG > 3 and $LOGGING
845 17 0 0 $DEBUG > 3 and $LOGGING
871 13 0 4 defined $Prompt && $Prompt ne ''
874 17 0 0 $DEBUG > 3 and $LOGGING
912 0 0 0 $DEBUG > 1 and $LOGGING > 0
921 0 0 0 $DEBUG > 1 and $LOGGING > 0
1296 0 0 0 is_unix() and defined $ENV{'TERM'}
0 0 0 is_unix() and defined $ENV{'TERM'} and not system('tput -V >/dev/null 2>&1')
1327 0 0 0 $Shell::POSIX::Select::_TTY and print TTY "$PKG-END(): Failed to open '${cdump}' for writing, $!\n"
1332 0 0 19 defined $Shell::POSIX::Select::filter_output and print SOURCE $Shell::POSIX::Select::filter_output
1343 0 0 0 defined $SGR0 and $SGR0 ne ''
1344 0 0 0 $DEBUG > 1 and $LOGGING

or 2 conditions

line l !l condition
1262 0 0 shift() || ''
1263 0 0 shift() || ''
1264 0 0 shift() || 0
1265 0 0 shift() || 9999
1313 0 19 $on || ''
0 19 $off || ''
0 19 $bold || ''
0 19 $sgr0 || ''
0 19 $cols || 80

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 0 $SGR0 || $OFF
504 0 2 23 not defined $values or $values =~ /^\s*\(\s*\)\s*$/
515 0 0 0 !defined($loop_var) || $loop_var eq ''
5 0 0 !defined($decl) || $decl eq ''
541 0 2 23 not defined $codeblock or $codeblock =~ /^\s*{\s*}\s*$/
554 0 0 25 $default_loopvar || $loop_var =~ /^\$::\w+/
620 0 0 0 print PART1 $parts[0] or _DIE("failed to write to PART1\n")
636 0 0 0 print PART2 $parts[1] or _DIE("failed to write to PART1\n")
789 0 0 0 print PART3 $parts[2] or _DIE("failed to write to PART3\n")
797 0 0 0 print PART4 $parts[3] or _DIE("failed to write to PART4\n")
1304 0 0 0 `tput rmso` || `tput sgr0`