The region should not be empty (EmptyRegion)¶
Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Code smell |
BSL OS |
Info |
Yes |
1 |
standard |
Description¶
Module should not contain empty regions.
Examples¶
#Region EmptyRegion
#EndRegion
Sources¶
- Source: Standard: Module structure (RU)
Snippets¶
Diagnostic ignorance in code¶
// BSLLS:EmptyRegion-off
// BSLLS:EmptyRegion-on
Parameter for config¶
"EmptyRegion": false