Static testing basics · Question 51 of 60
A tool reports that a variable is used before a value has been assigned to it. Which statements are correct?
2 answers are correct. Hard Created with AI
Show answer
Answer
- A The defect is found directly without a failure having to occur
- B This is static analysis
Explanation
Variables with undefined values are a typical finding of static analysis, which reports defects directly.