Branch Coverage

Test_Progs/prompt.nested
Criterion Covered Total %
branch 6 86 6.9


line true false branch
14 0 1 if $Shell::POSIX::Select::DEBUG > 1 and 1
22 0 1 if ($Shell::POSIX::Select::DEBUG > 4)
41 0 1 -t STDIN ? :
43 1 0 if (defined $Shell::POSIX::Select::menu) { }
54 0 1 if ($Shell::POSIX::Select::do_prompt[1])
59 0 0 if ($Shell::POSIX::Select::_extra_nl)
72 1 0 if ($Shell::POSIX::Select::dump_data) { }
87 0 0 unless (defined $Reply)
88 0 0 if defined '' and !1
103 0 0 unless defined $Reply
107 0 0 if defined '' and !1
110 0 0 if ($Reply eq '') { }
0 0 elsif ($Reply =~ /\D/) { }
0 0 elsif ($Reply < 1 or $Reply > $Shell::POSIX::Select::num_values) { }
112 0 0 if $Shell::POSIX::Select::U_WARN > 1
116 0 0 if $Shell::POSIX::Select::U_WARN > 0
121 0 0 if $Shell::POSIX::Select::U_WARN > 0
129 0 0 unless $Shell::POSIX::Select::bad
131 0 0 unless $Shell::POSIX::Select::bad
144 0 0 if $Shell::POSIX::Select::DEBUG > 1 and !1
152 0 0 if ($Shell::POSIX::Select::DEBUG > 4)
171 0 0 -t STDIN ? :
173 0 0 if (defined $Shell::POSIX::Select::menu) { }
184 0 0 if ($Shell::POSIX::Select::do_prompt[2])
189 0 0 if ($Shell::POSIX::Select::_extra_nl)
202 0 0 if ($Shell::POSIX::Select::dump_data) { }
217 0 0 unless (defined $Reply)
218 0 0 if defined '' and !1
226 0 0 if (-t STDIN)
233 0 0 unless defined $Reply
237 0 0 if defined '' and !1
240 0 0 if ($Reply eq '') { }
0 0 elsif ($Reply =~ /\D/) { }
0 0 elsif ($Reply < 1 or $Reply > $Shell::POSIX::Select::num_values) { }
242 0 0 if $Shell::POSIX::Select::U_WARN > 1
246 0 0 if $Shell::POSIX::Select::U_WARN > 0
251 0 0 if $Shell::POSIX::Select::U_WARN > 0
259 0 0 unless $Shell::POSIX::Select::bad
261 0 0 unless $Shell::POSIX::Select::bad
283 0 0 if $Shell::POSIX::Select::DEBUG > 0
285 0 0 if ($Shell::POSIX::Select::dump_data)
315 0 0 if $Shell::POSIX::Select::DEBUG > 0
317 0 0 if ($Shell::POSIX::Select::dump_data)