Checks if the code uses names not to use for classes, functions and variables etcetera. For example: using myFunc or temp is often discouraged because it is not descriptive and it gives the impression that work is still under construction.

Configurable parameters

  • AspectsToCheck (list): A list of aspects to check, classes, functions, variables etcetera.

  • AvoidNames (list): A list of names that are to be avoided.

  • ReportCaseSensitive (boolean) : Set to true to report case-sensitive matches for 'AvoidNames', the default value for this parameter is true.

  • AvoidRegexps (list): A list of regular expressions that are to be avoided. More information about regular expressions can be found here.

Exemption tag: %@ok<AVNAM>