QuestionQ209

Chapter 3: Static Testing

Which of the following bug types is more likely to be identified through static testing than through dynamic testing?

  • A Variables that were declared in the code without initialization
  • B Functions that take much longer time to complete than expected
  • C Crashes of the application
  • D A sub-system that does not perform the intended functionality
Explanation

Static analysis can detect variables declared without initialization by inspecting the source code and control flow without running the application. Performance problems, crashes, and failures to deliver intended functionality typically require execution-based testing to observe.

Community Discussion

No comments yet. Be the first to start the discussion!