Missing Variable Definition
Definition:
A variable or out parameter is read before its value has been defined. Access to undefined variables might result in unpredictable behavior.
Also Known As:
Ur Data Flow Anomaly
Code Example:
function f (in integer i, out integer j) {
var integer k := 1, l;
j := i + j + k + l;
}
References:
Quality attributes
- Code Example
- Cause and Effect
- Frequency
- Refactoring