Table of Contents

GR0012: Constructors should minimise work and not execute methods

TitleConstructors should minimise work and not execute methods
IdGR0012
CategoryMaintainability
Default SeverityWarning
Enabled By DefaultTrue
DescriptionConstructors should minimise work and not execute methods. This is to make code easier to test, avoid performance risks, race conditions and quirks of the IDE designer.
Custom Tags