G-7210
🆓Warning
Try to keep your packages small. Include only few procedures and functions that are used in the same context.
Reason
The entire package is loaded into memory when the package is called the first time. To optimize memory consumption and keep load time small packages should be kept small but include components that are used together.
Parameters
Use parameters to customize the rule to your needs.
Parameter | Description | Default Value |
---|---|---|
MaxNumberOfLines | Maximum number of lines in package bodies, type bodies, triggers, functions and procedures. | 2000 |
References
- same as PMD ExcessivePackageBodyLength
- same as Trivadis G-7210
- same as plsql:S104