expand icon
book Object-Oriented and Classical Software Engineering 8th Edition by Stephen Schach cover

Object-Oriented and Classical Software Engineering 8th Edition by Stephen Schach

Edition 8ISBN: 978-0073376189
book Object-Oriented and Classical Software Engineering 8th Edition by Stephen Schach cover

Object-Oriented and Classical Software Engineering 8th Edition by Stephen Schach

Edition 8ISBN: 978-0073376189
Exercise 20
Draw a flowchart of your solution to Problem 6.14 (or code distributed by your instructor). Determine its cyclomatic complexity. If you are unable to determine the number of branches, consider the flowchart as a directed graph. Determine the number of edges e, nodes n, and connected components c. (Each method constitutes a connected component.) The cyclomatic complexity M is then given by the formula [McCabe, 1976]
M = e ? n + 2 c
Explanation
Verified
like image
like image

Cyclomatic complexity determines the num...

close menu
Object-Oriented and Classical Software Engineering 8th Edition by Stephen Schach
cross icon