- This is not the released version of the documentation. Recommended Version
- Tags:
- analysis
- class properties
CA033 - Large class
Description
A large class declaration might not be ideal for readability. Consider moving out features that are not really part of the class.
- Scope classStatus EnabledSeverity WarningApplicability AllScore 60Features threshold 20Instructions threshold 300
Example of violation
A class with too many routines or too many instructions.
Recommendation
Refactor the class to reduce the number of routines or instructions.
Back to Rules