Configuring code analysis

You can enable the code analysis tool to receive various compiler warning messages.

The code analysis is performed only in a full client.

  1. Select Tools > Settings > Compiler > Code Analysis.
  2. Select any of these options:
    Async Calls Analysis
    Selected by default. Shows a warning message if an asynchronous process is started in a loop.
    Expression Analysis
    Shows a warning message if an expression is constant or can be simplified.
    Obsolete Functions Detection
    Selected by default. Shows a warning message if an obsolete function is used.
    Unused Variable Detection
    Shows a warning message if a variable is declared but not used.
    Unused Parameter Detection
    Shows a warning message if a process parameter is declared but not used.
    Unused Return Value Detection
    Shows a warning message if a function return value is not verified.
    Unused Include Detection
    Selected by default. Shows a warning message if an included process is not used.
    Unreachable Code Detection
    Selected by default. Shows a warning message if a code contains a block of code that cannot be reached.
    Connection Leak Detection
    Selected by default. Shows a warning message if a connection is opened but not closed, or an object is not disposed.
    Never-ending Loop Prediction
    Shows a warning message if an interminable loop is detected.