Add the following metrics to the code analyzer:
Analysis:
Four additional functions have to be added, which will be called by the code analyzer. The functions will get the first and the last line index and will perform their analysis right in between.
Implementation:
The new functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.
Documentation:
A new documentation article for the code analyzer was created and the metrics were added to this article.
Tests:
The definition of the cyclomatic complexity using control graphs is more straight-forward. Therefore the internal calculation had to be adapted. No further deviations detected. Functionality implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Diff: