-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Sonar Code Quality Testing Essentials
By :

Software and its complexity could be described as of how difficult it is to understand, alter, or extend the internal interaction of its components. The more complex the components of the software are, the more difficult it is to change them or add new functionality and features, preserving stability. In some cases, large complexity can even negate refactoring techniques because of the great effort required. A quicker solution would be to totally rewrite those complex pieces of code.
There are many different metrics to measure the complexity of a software component. Cyclomatic Complexity evaluates the complexity of methods in isolation, while Response for Class, Coupling, and Cohesion examine the complexity of the component in correlation to other interacting components.
Cyclomatic Complexity was introduced by Thomas J. McCabe, and is the most popular and widely accepted method of measuring code complexity. The metric defines...
Change the font size
Change margin width
Change background colour