SOFTWARE TESTING
TEST PLAN AND TEST CASE DEVELOPMENT
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which one of the following attributes of a program can be inferred from its Cyclomatic complexity?
|
Computational complexity
|
|
Lines of code (LoC)
|
|
Executable code size
|
|
Testability
|
Explanation:
Detailed explanation-1: -Cyclomatic complexity is a software metric in open box testing that helps testers determine the complexity of a software program. It helps in identifying the number of decision points in a code. If the number of decision points is high, the complexity of the code is also high.
Detailed explanation-2: -Initially developed in 1976 by Thomas McCabe, it measures the number of linearly independent paths through a program’s source code. You compute it by using the control flow graph of the program.
There is 1 question to complete.