Two-Way Traceability Percentage Display in NI Requirements Gateway 2018

Updated Mar 19, 2026

Environment

Software

  • Requirements Gateway 2018

This article explains how to correctly display traceability percentages (%) in both directions when using Two-Way Traceability in NI Requirements Gateway 2018, including:

  • Forward Traceability (Requirements → Coverage)
  • Reverse Traceability (Coverage → Requirements)

The procedure uses a built-in sample project to demonstrate how traceability percentages are calculated and how to verify the behavior step by step.

1. How Traceability Percentages Are Calculated

In NI Requirements Gateway 2018, traceability percentages (%) are calculated based on how Coverage relationships are defined and in which direction they are configured. If the Coverage relationship is incomplete or defined in an unintended direction, the traceability percentage may appear correct in one direction (forward) but incorrect in the other (reverse).

 

2. Verification Using a Sample Project

You can verify the behavior using the following sample project included with NI Requirements Gateway.

Sample Path : C:\Users\Public\Documents\National Instruments\Requirements Gateway 2018\Examples\Text 

This example uses a Text ⇔ Text configuration. However, the same concept applies to Text ⇔ XML configurations, such as ATML or TestStand Reports.

 

3. Procedure

  1. Open the project file

    • Open Text Example.
  2. Open the Configuration window.
     

  3. Configure the Coverage relationship

    • Add a Cover relationship from Requirements to Coverage.
    • Click Apply, then OK to close the Configuration window.
  4. Open the Requirements document

    • In Project Overview, click Requirements.
    • Open Text Example - Requirements.txt.
  5. Modify the Covers definition

    • By adding appropriate Covers entries in the Requirements file, you can change the traceability percentage.

 

In Text Example - Coverage.txt, the following three coverage items are defined:

  • LL-REQ1
  • LL-REQ2
  • LL-REQ3

If you add the following line to Text Example - Requirements.txt: [Covers: LL-REQ1]

One out of three coverage items is linked. As a result, the traceability percentage is displayed as 33%.