Viewing PL/I Metrics

The editors display PL/I Metrics values for an opened file in the Properties view. These values are the same PL/I Metrics values previously displayed through a Software Analyzer job.

Before you begin

Supported Editors:
  • PL/I Editor
  • z Systems® LPEX Editor
You can refer to IBM® Developer for z/OS® Metrics for more information.

Procedure

  1. Open a PL/I file in the editor.
  2. Locate the Properties view on your current perspective.

Results

PL/I Metrics values grouped as Basic Metrics, Complexity Metrics, and Halstead Metrics are automatically generated in the Properties view.

PL/I metrics in the Properties view

Limitations:
  • The PL/I file must successfully parse in the editor for metrics values to be generated in the Properties view.
  • The real-time metrics displayed for preprocessor statements in the PL/I file might not be exact.
  • Any new syntax from Enterprise PL/I v5.3 causes metrics to fail. The metrics calculator does not support Enterprise PL/I v5.3.
  • New style comments // that have no text and a new style comment followed by an opening block comment on the same line, such as // /*, cause metrics to fail.