Filtering Traceability

You can apply a filter to clear the view and display only the elements to be analyzed.

This task shows you how to:

Filter Structure Elements

The Coverage view displays the traceability coverage in a matrix or a graphical format. From these views, you can hide or keep some of the structure elements.

For more information, see:

Note: The filters are graphical filters. The application of filters does not change the traceability computation.

  1. From the Coverage view, select the graphical or matrix view.
  2. To filter the structure, select an element and click one of these commands:
    CommandDescription
    Keep Object Keeps the branch of the selected element (parent and child levels).
    Hide Object Hides the selected element and its children from the structure.

    Tip: To unhide these objects, click Restore Complete View .

Filter with a Configuration Filter

To filter your analysis, you can take advantage of a configuration filter applied to requirements, functional, logical, and physical objects.

Before you begin: Apply a configuration filter to a root element. For more information, see Defining Root Elements Parameters.
  1. Open a scope, and expand the Roots node.
    A filter icon appears on the filtered root element, it indicates that a filter is applied to a product configuration filter, a model version, or an advanced parameter.
  2. Click this icon to open the configuration filter or the model version.
What's Next
Tip: You can also add a configuration filter to context and filter your navigation. When opening traceability, the filter is applied to the result.

Notes:
  • After adding a configuration filter in context, click Refresh .
  • If a configuration filter is applied to a root element, the configuration filter as context is not taken into account.
  • Click Refresh to update the traceability result.
  • Click Filter to filter the results.

For more information, see Navigating with Context.

Filter Scope

At the scope level, you can create filters on types, links, and data. These filters are applied to the Coverage graphical view, and to the Table view. You can expand or collapse the filter list.

  1. From the context toolbar of traceability documents or tables, click Filter .

    Note: The Filter command is exclusive to either documents or tables and is not interchangeable. The filters are graphical filters. The application of filters does not change the traceability computation.

  2. From the Filter panel, click to create a new filter.

    Tip: Hover over the filter to display the Edit and Delete buttons.

    Note: Select or clear the filter to apply or ignore the filter respectively.

  3. Based on the type of filter you want to create, the following possibilities are available:

    Type of Filter Options
    Filter on types

    The roots having at least one child is displayed in the roots list.

    Specify the:

    • Name
    • Description
    • Roots

    Choose to Keep or Hide the objects.

    Filter on links Specify the:

    • Name
    • Description

    Choose to Keep or Hide the objects.

    Click Delete in the filter list to delete the filter.

    You can choose to filter based on the link status:

    • Valid
    • Invalid
    • Suspicious

    Or based on the Link Type.

    Filter on data

    The roots having at least one child is displayed in the roots list.

    Specify the:

    • Name
    • Description
    • Roots

    Choose to Keep or Hide objects with All or Any of the attributes.

    The attributes available under the root hierarchy are shown in the attributes list.

    Choose between:

    • contains
    • equals
    • notEquals
    • startsWith
    • endsWith
    • empty
    • notEmpty

    Click Add to create multiple conditions based on the possible combinations.

    Click Edit to edit the filter.

    Click Delete in the filter list to delete the filter.

    Important: If a parent object does not fulfill the filter criteria, children are skipped even if they fulfill the filter criteria. Add the parent elements in the filter condition to filter a child.

    Filter on groups

    Combine any of the above filters and apply them simultaneously to the traceability preview model.

    Specify:

    • Name
    • Description
    • Required filters

    Note: Turn on or turn off the Filters toggle to switch between two views.

  4. Click Create.
    The filter is created.