XRef Evaluation Version 8.3.6 for Windows

Introduction to XRef Evaluation

This section covers the following topics:


About XRef Data

XRef data is stored in the development server file.

XRef data documents objects of an application that have already been implemented. Data of this type mirrors the "real world" of the implementation, providing a comprehensive summary of information for all implemented members of an application.

Name references will be evaluated during cross reference analysis to reflect the functional structure in an environment you specify.

XRef data can be used to retrieve information on individual members or to retrieve comprehensive information about applications as a whole:

For further details, please refer to the following sections:

Contents of XRef Data for Natural

The following information is stored for each Natural program cataloged:

Benefits of XRef Data

The application development process can be advanced significantly at almost all phases by using XRef data:

Phase Benefits of XRef Data
Design Identifying programs of other applications that might possibly be used in the planned application.
Implementation

Finding resources that are not (or no longer) used.
Finding errors and inconsistencies that cause errors at runtime, for example calls to non-existent subroutines.
Supervising the implementation state of an application.

Testing

Detecting incomplete documentation.
Detecting differences between design and implementation.
Detecting programming errors.

Production Reporting all information about the programs that are in production.
Maintenance

Estimating the impact of changes.
Discovering the invocation structure of an application.

Creating XRef Data for Natural Members

XRef data for Natural is generated in the following cases:

The Natural XREF parameter determines whether XRef data is created. Valid values:

ON XRef data is created when a Natural object is cataloged.
OFF XRef data is not created when a Natural object is cataloged.
FORCE A Natural object can only be cataloged if a Predict documentation object exists for it. XRef data is then created when cataloging an object.
DOC A Natural object can only be cataloged if a Predict documentation object exists for it. No XRef data is created.

There are different ways to set the Natural XREF parameter:

Top of page

What are Active and Passive Cross-References?

In general, there are two kinds of cross-references which you can display separately in the XRef Evaluation: active and passive cross-references (i.e. referencing and referenced).

Active cross-references will provide you with an answer to the question: "What does a certain object reference?"

Select passive cross-references if you want to know which other objects reference a certain object. For example, if you have a copycode you might want to know in which parts of your implementation it is included. There are some types of objects which by default only have passive cross-references, such as copycodes and DDMs.

Top of page

What is XRef Evaluation?

XRef Evaluation is available as an optional plug-in unit for Natural Studio. When the generation of cross-reference data is activated, the Natural compiler provides cross-reference (XRef) data created during CAT or STOW commands in the development server file.

XRef Evaluation evaluates this data with respect to your environmental settings, for example your logon library. It enables you to retrieve and display this essential development and maintenance information conveniently in Natural Studio. You can easily navigate through the analysis result output in tree views or list views.

For a detailed description of the XRef Evaluation functions, see the section Using XRef Evaluation.

XRef Evaluation is automatically installed when you install the Natural development environment for Windows (see the Natural for Windows installation documentation for further information).

Top of page