See https://blog.holisticon.de/2011/05/softwaremetriken-zyklomatische-komplexitat/
Analysis:
This is a quick fix to be done in the function NumeReEditor::calculateCyclomaticComplexity(), where one has to add the check for the operators.
Implementation:
The fix was implemented as proposed by the analysis. Implementation tests were passed successfully.
Documentation:
The fix was documented in the changes log. The changed behavior was documented in the documentation article concerning the code analyzer.
Tests:
The fix was tested manually. The complexity now also recognizes the binary logical operators and the logical functions and(), or() and xor(). Bug fix implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Diff: