pub fn flow_load_from_items(active: u32, waiting: u32) -> u32Expand description
Flow load: total count of flow items currently active or waiting in the value stream.
Flow load (chapter 2.4) is a count, not a computed ratio — it is what
crate::code_churn-style metrics are to churn, a raw tally that other
formulas (Little’s law) then relate to other quantities. This helper
simply sums active and waiting items so the intent is explicit at the
call site.
§Arguments
active— count of items currently being actively worked on.waiting— count of items currently waiting in a queue.
§Returns
The total flow load, active + waiting.
§Examples
use software_engineering::flow_framework::flow_load_from_items;
// 5 items actively being worked, 17 waiting: flow load of 22.
assert_eq!(flow_load_from_items(5, 17), 22);