Branch Coverage

Test_Progs/nested_heading_prompt
Criterion Covered Total %
branch 6 86 6.9


line true false branch
12 0 1 if $Shell::POSIX::Select::DEBUG > 1 and 1
20 0 1 if ($Shell::POSIX::Select::DEBUG > 4)
39 0 1 -t STDIN ? :
41 1 0 if (defined $Shell::POSIX::Select::menu) { }
52 0 1 if ($Shell::POSIX::Select::do_prompt[1])
57 0 0 if ($Shell::POSIX::Select::_extra_nl)
70 1 0 if ($Shell::POSIX::Select::dump_data) { }
85 0 0 unless (defined $Reply)
86 0 0 if defined '' and !1
101 0 0 unless defined $Reply
105 0 0 if defined '' and !1
108 0 0 if ($Reply eq '') { }
0 0 elsif ($Reply =~ /\D/) { }
0 0 elsif ($Reply < 1 or $Reply > $Shell::POSIX::Select::num_values) { }
110 0 0 if $Shell::POSIX::Select::U_WARN > 1
114 0 0 if $Shell::POSIX::Select::U_WARN > 0
119 0 0 if $Shell::POSIX::Select::U_WARN > 0
127 0 0 unless $Shell::POSIX::Select::bad
129 0 0 unless $Shell::POSIX::Select::bad
145 0 0 if $Shell::POSIX::Select::DEBUG > 1 and !1
153 0 0 if ($Shell::POSIX::Select::DEBUG > 4)
172 0 0 -t STDIN ? :
174 0 0 if (defined $Shell::POSIX::Select::menu) { }
185 0 0 if ($Shell::POSIX::Select::do_prompt[2])
190 0 0 if ($Shell::POSIX::Select::_extra_nl)
203 0 0 if ($Shell::POSIX::Select::dump_data) { }
218 0 0 unless (defined $Reply)
219 0 0 if defined '' and !1
227 0 0 if (-t STDIN)
234 0 0 unless defined $Reply
238 0 0 if defined '' and !1
241 0 0 if ($Reply eq '') { }
0 0 elsif ($Reply =~ /\D/) { }
0 0 elsif ($Reply < 1 or $Reply > $Shell::POSIX::Select::num_values) { }
243 0 0 if $Shell::POSIX::Select::U_WARN > 1
247 0 0 if $Shell::POSIX::Select::U_WARN > 0
252 0 0 if $Shell::POSIX::Select::U_WARN > 0
260 0 0 unless $Shell::POSIX::Select::bad
262 0 0 unless $Shell::POSIX::Select::bad
288 0 0 if $Shell::POSIX::Select::DEBUG > 0
290 0 0 if ($Shell::POSIX::Select::dump_data)
322 0 0 if $Shell::POSIX::Select::DEBUG > 0
324 0 0 if ($Shell::POSIX::Select::dump_data)