Control flow graph is used to calculate _______.
a. Cyclomatic Complexity
b. Efferent Coupling
c. Afferent Coupling
Answers
Answered by
8
The constant flow graph is used to calculate a) cyclomatic complexity.
Cyclomatic is known as software metric employed to measure the complexness of a program.
This metric tends to measure the independent paths via the program source code.
The complexity seems to be calculated used methods, classes, modules or functions within a program.
Answered by
0
Control flow graph is used to calculate Cyclomatic complexity.
Option (a)
EXPLANATION:
- 'Cyclomatic complexity' is a 'software metric' used to 'measure the complexity of a program'. These 'metric' measures 'independent paths' through 'program source code'.
- 'Independent path' is defined as a 'path' that has at least 'one edge' which has not been traversed before in any other parts. 'Cyclomatic complexity' can be calculated with respect to 'function modules', 'methods' or 'classes within a program'.
- This 'metric' was developed by 'Thomas. J. McCabe in 1976' and it is 'based on a control flow representation' of the program.
Similar questions