Performance
Module with many line items
A module with more than 50 line items is hard to read and usually mixes several purposes, so split it into inputs, calculations and outputs.
What MaxCheck detects
A module with more than 50 line items. One finding per module.
Why it hurts
Very long modules are hard to read and usually mix several purposes.
Example
Taken from the rule's own test cases: formulas it must flag, and formulas it must not.
HintFlags this(51 line items)
HintModule 1
51 line items
Fine (50 line items)
Module 1
50 line items
How to fix
Split the module by purpose: inputs, calculations, outputs.
- Severity
- HintShown in the report. Hints never count toward a score.
- Area
- Performance
- Runs in
- Basic and full check
- Rule ID
- P_TOOMANYLIS
- Version
- Rule 1.0.0, rule set 1.4.0
Does your model do this?
Upload the line-items blueprint. This rule runs in the basic check, in your browser, with no email.