Version
- Tags:
- analysis
- feature property
CA032 - Long routine implementation
Description
A routine implementation that contains many instructions should be shortened to make it easier to understand.
Scope feature Status Enabled Severity Warning Applicability All Score 70 Instructions threshold 70
Example of violation
A routine with many lines of code.
Recommendation
Decompose the routine by creating new routines that will be used in the original long routine.
Back to Rules