Non-standard region of module (NonStandardRegion)¶
Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Code smell |
BSL |
Info |
Yes |
1 |
standard |
Description¶
All module code should be structured and divided into sections (regions).
The set of sections for each type of module (form module, object module, common module, etc.) is uniquely determined, the presence of extraneous sections is unacceptable.
Examples¶
Sources¶
- Source: Standard: Module structure (RU)
Snippets¶
Diagnostic ignorance in code¶
// BSLLS:NonStandardRegion-off
// BSLLS:NonStandardRegion-on
Parameter for config¶
"NonStandardRegion": false