Traceability matrix

The traceability matrix has one row per requirement and shows the chain of specs below it, the number of code anchors along the chain and the gaps that are still open. It is computed from specs, links and anchors each time it is shown.

To open it, choose Analysis › Open Specs & Audit View and click the Matrix tab.

The Matrix tab of Weatherreport: five URS rows with their FS and TC, anchor counts and gaps

Read the matrix

The line above the table summarises the matrix:

EntryMeaning
ProfileThe active profile, for example gamp5.
Row typeThe first type of the trace chain. Each row is one artifact of this type.
RowsNumber of rows shown.
Error, Warning, InfoRows whose most severe gap has this severity.
OKRows without gaps.

The columns of the table:

ColumnContent
ID, Title, StatusThe requirement. A click on the ID opens it in the Specs tab.
One column per further chain type, for example FS and TCThe linked artifacts of that type. A link counts in either direction.
AnchorsNumber of code anchors of all specs in the row, with (N suspect) and (N missing) where applicable.
GapsOne badge per gap. The tooltip of a badge gives details.

The chain is followed step by step. The TC column lists the test cases linked to the FS of the row, not test cases linked to the requirement directly. When a requirement has several FS, the row has no no test gap as soon as one of them has a test.

Gaps

GapRaised whenSeverity in GAMP 5 and IEC 62304
no implementationNo spec in the row has a code anchor.Error
no testThe last column of the chain is empty, for example no TC.Warning
suspectAt least one anchor in the row is suspect.Warning
missing anchorAt least one anchor does not resolve.Error
obsolete linkA linked spec has the status obsolete.Warning

The profile sets the severity of the first three under traceability.gap_severity. The last two are fixed. See Profile reference.

Find open work

ControlEffect
Open Gaps OnlyShows only rows with a gap of severity Warning or Error.
Suspect OnlyShows only rows with suspect anchors.
Filter by title…Shows only rows whose title contains the text.
RefreshComputes the matrix again.

To deal with a suspect anchor, open the spec from the row and resolve the anchor in its Anchors tab. See Anchors.

Update anchors

Re-index resolves all anchors against the current code index. Moved symbols are found again, changed code makes an anchor suspect. The message afterwards counts the resolved anchors, for example Re-indexed 14 files — 12 ok / 1 missing / 0 ambiguous.

Click Re-index after editing spec files outside Tracemoor and after larger code changes.

Export the matrix

  1. Set the filters for the rows you want to export.
  2. Click Export Markdown.
  3. Choose the file name and click Save.

The file contains a heading with the profile, the counts, and a table with the requirement, its title, the chain columns, the anchor count (✓ or ⚠ for suspect) and the severity. The status of the requirement and the gap badges are not part of the export.

For an audit, use an audit bundle. It contains the matrix together with the specs and the audit trail, with hashes.