Default Lint Rules
EPM Workbench comes with 12 built-in Lint Rules. Ten read Calc Script files and two read Groovy. You can change the level of any of them, turn any of them off, or excuse one file from one of them with a Lint Exception.
Starts at is the level a Lint Rule runs at until you change it. Checks says which files it reads. All means Rules, Templates, and Scripts. Rules means Rules only, because the setting belongs to the whole Rule, and a Template or Script is only part of one.
Calc Script
Section titled “Calc Script”| Lint Rule | Starts at | Checks | What it catches |
|---|---|---|---|
calc/member-exists | Error | All | A member that doesn’t exist in the application, an alias that matches more than one member, or a word a function doesn’t accept. |
calc/fix-balance | Error | All | A FIX with no ENDFIX, or the other way round. |
calc/exclude-balance | Error | All | An EXCLUDE with no ENDEXCLUDE, or the other way round. |
calc/fix-trailing-comma | Error | All | A comma just before the closing bracket of a FIX, FIXPARALLEL, or EXCLUDE member list. |
calc/require-updatecalc-off | Warning | Rules | A Rule that never sets UPDATECALC. |
calc/require-aggmissg-on | Warning | Rules | A Rule that never sets AGGMISSG. |
calc/require-emptymembersets-on | Warning | Rules | A Rule that never sets EMPTYMEMBERSETS. |
calc/createblockoneq-paired | Warning | Rules | SET CREATEBLOCKONEQ ON; that is never turned back off. |
calc/createnonmissingblk-paired | Warning | Rules | SET CREATENONMISSINGBLK ON; that is never turned back off. |
calc/all-dimensions-accounted | Warning | Rules | A dimension the Rule never names, so it runs across all of that dimension’s members. |
Groovy
Section titled “Groovy”| Lint Rule | Starts at | Checks | What it catches |
|---|---|---|---|
groovy/rtp-declared | Warning | All | A Run-Time Prompt the Rule reads but never declares. |
groovy/macro-resolves | Error | All | A %Template, %Script, or %Rule call that names one the Pod doesn’t have. |