0
0
Testing Fundamentalstesting~5 mins

Static analysis tools in Testing Fundamentals - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What are static analysis tools in software testing?
Static analysis tools examine source code without running the program. They find errors, bugs, or style issues early, like a spell-checker for code.
Click to reveal answer
beginner
Name two common problems static analysis tools can detect.
They can detect syntax errors and potential security vulnerabilities before the code runs.
Click to reveal answer
intermediate
How is static analysis different from dynamic analysis?
Static analysis checks code without running it. Dynamic analysis tests the program while it runs to find runtime errors.
Click to reveal answer
beginner
Why is using static analysis tools early in development helpful?
Finding bugs early saves time and cost. Fixing problems before running the program prevents bigger issues later.
Click to reveal answer
beginner
Give an example of a popular static analysis tool.
Examples include SonarQube, ESLint for JavaScript, and Pylint for Python. They help keep code clean and error-free.
Click to reveal answer
What does a static analysis tool do?
ATests user interface responsiveness
BRuns the program to find errors
CManually reviews code by a tester
DChecks code without running it
Which problem can static analysis tools detect?
AMemory leaks during runtime
BSyntax errors
CUser experience issues
DNetwork latency
When is the best time to use static analysis tools?
ADuring user acceptance testing
BAfter the program crashes
CBefore running the program
DOnly after deployment
Which of these is NOT a static analysis tool?
AValgrind
BPylint
CSonarQube
DESLint
Static analysis tools help improve code by:
AFinding bugs early
BMeasuring user satisfaction
CTesting hardware compatibility
DMonitoring server uptime
Explain what static analysis tools do and why they are useful in software testing.
Think about checking your homework before submitting it.
You got /4 concepts.
    Compare static analysis and dynamic analysis in simple terms.
    One is like proofreading, the other like testing a car by driving it.
    You got /4 concepts.