SOFTWARE TESTING
TEST PLAN AND TEST CASE DEVELOPMENT
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following is a benefit of static analysis?
|
Defects can be identified that might not be caught by dynamic testing
|
|
Early defect identification requires less documentation
|
|
Early execution of the code provides a gauge of code quality
|
|
Tools are not needed because reviews are used instead of executing code
|
Explanation:
Detailed explanation-1: -Usually, the defect discovered during static testing is due to security vulnerabilities, undeclared variables, boundary violations, syntax violations, inconsistent interface, etc.
Detailed explanation-2: -The defects found in static testing and dynamic testing are same. True or false. Comment During static analysis, program is not executed yet so defects such as missing requirements, programming standard violation etc. can be found while during dynamic testing, program is actually executed so failures can be found.
Detailed explanation-3: -By using static analysis tools user acceptance testing can be shortened because the users need to execute less tests.
There is 1 question to complete.