xowf::test_item::Question_manager method questions_without_minutes (public)

 <instance of xowf::test_item::Question_manager[i]> questions_without_minutes \
    [ -max_items max_items ] form_info

Defined in packages/xowf/tcl/test-item-procs.tcl

Compute the number of questions without provided time

Switches:
-max_items
(optional)
Parameters:
form_info

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
set number 0
foreach title_info [:title_infos -max_items $max_items $form_info] {
  if {[dict exists $title_info minutes]} {
    set value [dict get $title_info minutes]
    if {$value eq ""} {
      set value 0
    }
    if {$value == 0} {
      incr number
    }
  }
}
return $number
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: