Finding defects from Code Explorer

You can list defects from the code itself. Start from an object, a code rule, or one rule in one object.

The Code Review commands are in the left menu. They are also in the right-click menu.

To start from the dashboard, see Triaging defects.

These procedures use Visual Expert Web. For Visual Expert Desktop, see In Visual Expert Desktop.

On this page

List the defects of an object

  1. Click the Code Explorer tab.
  2. In the Main view, click an object, such as a window or a procedure (A).
  3. In the left menu, click Manage Defects (B). A View Defects for node appears under the object.

Finding defects from Code Explorer

  1. Click View Defects for object name (A).
  2. In the left menu, click View Defects. The defect list opens in the Code Inspection tab.

Finding defects from Code Explorer

The object name is in the list title.

Finding defects from Code Explorer

List the defects of a code rule

  1. Click the Code Explorer tab.
  2. In the Main view, under Code Inspection, expand the node for your language, such as Code Inspection for PowerBuilder.
  3. Under All Issues, click a rule (A).
  4. In the left menu, click Manage Defects (B). The defect list opens in the Code Inspection tab.

Finding defects from Code Explorer

The rule name is at the top of the list. Click More info to read about the rule.

Finding defects from Code Explorer

List the defects of a rule in one object

  1. Click the Code Explorer tab.
  2. In the Main view, click an object (A).
  3. In the left menu, click Show Defects Occurrences (B). The rules that the object breaks appear under it (C).

Finding defects from Code Explorer

  1. Click a rule (A).
  2. In the left menu, click Manage Defects (B). A View Defects for node appears under the rule.
  3. Click View Defects for rule name.
  4. In the left menu, click View Defects. The defect list opens in the Code Inspection tab.

Finding defects from Code Explorer

The list shows only the defects of this rule in this object. The object path is above the list.

Finding defects from Code Explorer

Open a defect

  1. In the defect list, click a defect ID. The defect opens.

Finding defects from Code Explorer

For each area of this window, see Defect Details.

In Visual Expert Desktop

The same commands are in the Code Review section of the navigation bar. They are also in the right-click menu.

The defect list opens in the right-hand panel, in place of the source code view.

For other differences in Desktop, see Defect & Task Management in Visual Expert Desktop.