Skip to content

Missed postfix "Client" (CommonModuleNameClient)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Code smell BSL Minor Yes 5 standard
badpractice
unpredictable

Description

Client common modules contain client business logic (functionality specific to the client only) and have the following features:

  • Client (Managed application)
  • Client (Ordinary application)

In cases where client methods should be available only in managed application mode (or only in regular application mode or only in external connection mode), a different combination of these two features is allowed.

Client common modules are named with the "Client" postfix ( "Клиент" in Rus). Except when the Global flag is on.

Examples

FilesClient, CommonClient, StandardSubsystemsClient

Sources

Standard: Modules (RU)

Snippets

Diagnostic ignorance in code

// BSLLS:CommonModuleNameClient-off
// BSLLS:CommonModuleNameClient-on

Parameter for config

"CommonModuleNameClient": false