ObeoNetwork / POOSL

Eclipse Public License 2.0
1 stars 0 forks source link

Improve cyclomatic complexity #22

Closed wpiers closed 2 years ago

wpiers commented 3 years ago

Some method in the code base will be refactored to improve their score (using sub-method calls, reduce their scope etc.). For example, see: • nl.esi.poosl.rotalumisclient.debug.PooslDebugTarget.dispatchResponse(Response) • nl.esi.poosl.rotalumisclient.debug.PooslDebugTarget.debugEventSetListener.new IDebugEventSetListener() {…}.handleDebugEvents(DebugEvent[]).

wpiers commented 3 years ago

Postponed to M3, guidelines will be written to avoid introducing new issues.

mypsycho commented 2 years ago

Checkstyle CyclomaticComplexity rule tracks this issue. It will be fixed with the flow.