Source Analyze Codes (tlvsc3111m000)

Use this session to maintain source analyze codes.

Each source analyze code is linked to an expression text and to a warning message. The expression text contains a search pattern, which is used to find errors.

For more information, refer to Source Analyze Codes.

To make sure that the checks defined in a source analyze code's expression are executed, you must link the source analyze code to one or more verification filters. For more information, refer to To configure VSC.

 

Source Analyze Code
The code that identifies the source analyze code.
Message ID
The code that uniquely identifies the message that is linked to the source analyze code.

For example: the message ID for a warning is 5053. The corresponding message text is "Function 'sleep' is not supported by Web UI ".

Rule ID
The code that uniquely identifies the rule that is linked to the source analyze code.
Warning Message
The text of the message that is linked to the source analyze code.

For example:

  • Function 'sleep' is not supported by Web UI
  • Goto statements are forbidden

VSC uses this text in the warnings that are generated based on the source analyze code. You can view the warnings in the Warnings (tlvsc3500m000) session.

Category
The category to which the source analyze code is linked.

The following categories exist:

  • General
  • Tools Consistency
  • Application Design
  • Application Logic
  • Standards
  • Text
  • Performance
  • Integration
  • Runtime
  • Export.
Priority
The priority that VSC assigns to the warnings, which are generated based on the source analyze code: high, normal, suspicious, or low.
Alternate Implementation
A text that contains a hint for an alternate implementation that might solve the error, which is found based on the source analyze code.
Warning MessageAlternate Implementation
Function 'sleep' is not supported by Web UIDisable the command
Browse filter in wrong field sectionMove filter to selection.filter:

 

VSC uses this text in the warnings that are generated based on the source analyze code. You can view the warnings in the Warnings (tlvsc3500m000) session.

DLL
The DLL that is used to perform more complex search actions.

For example, a source analyze code is linked to an expression text and to a DLL:

  • The expression searches for lines that contain the "message" function.
  • Subsequently, the DLL checks the message arguments. VSC generates a warning if a message call contains plain text, instead of a message code.

Note: This field is optional.

Expression Text
This check box indicates whether an expression text is linked to the source analyze code. The expression text contains a search pattern, which is used to find errors.

Click Edit Text to view, create, or edit an expression text.

Note: You must define an expression text for each source analyze code.

Source Analyze Help
This check box indicates whether a help text with explanatory text is linked to the source analyze code.

Click Edit Text to view, create, or edit a help text.

Note: Help texts are optional.