You can create and modify impact analysis diagrams to find artifacts that are related to
a selected focus artifact. You can then analyze each of the linked artifacts.
Before you begin
Impact analysis diagrams provide an overall view of how artifacts in a product are related. You
must have at least one impact analysis profile before you create an impact analysis diagram.
About this task
Use impact analysis diagrams to discover all the artifacts that link to or from the focus
artifact, or to explore the impact of changes on the related artifacts.
When you create an impact analysis diagram, depending on the focus artifact that you choose, the
initial diagram can include many artifacts. You can focus on specific artifacts and links in the
diagram by removing existing artifacts (Hide artifact) or by adding new ones
(Add artifact). You can also examine the properties of specific artifacts in
the diagram (Preview).
You can set up a diagram by using one of the four workflows. Steps are given for the following
workflows:
- Run an analysis by right-clicking over a focus artifact and selecting Start
analysis.
- Create an analysis diagram from scratch.
- Modify an analysis diagram and then save a copy of the changed diagram.
- Modify an analysis, but do not save a copy of the changed diagram.
Procedure
- In the main menu, click .
Alternatively, you can create a diagram by right-clicking a focus artifact and selecting
Start analysis. To start the analysis in a new tab, right-click a focus
artifact, then press and hold the Ctrl key, and click Start analysis.
-
In the Impact Analysis dialog box, set the focus artifact, the profile,
and the project scope.
-
Search for, and select the artifact to be the starting point for the analysis by entering a
partial or full artifact name in the Focus artifact field. If you do not find
the artifact that you need, click Advanced search to enter more detailed
search criteria.
If you started the analysis by right-clicking a focus artifact, you can change the artifact here,
if necessary.
-
Select a profile.
A profile specifies the traversal direction, traversal depth, and conditions to
apply during an analysis.
If your administrator deployed the analysis content package, the Default
profile and four more profiles are in the Profile list box.
- To select the project scope, click the pencil icon
from the Focus and
Profile tab. From the Select project area dialog, select the
project areas that you want to include for the impact analysis.
- Click Start analysis to run impact analysis on your focus
artifact.
The analysis starts and draws the focus artifact with the artifacts that have a relationship to
it.
- To specify how the analysis traverses artifacts as it builds the diagram, change the
profile in the Traversal tab:
- To include artifacts that are upstream from the focus artifact, downstream from the
focus artifact, or both, click the Traversal tab.
To learn more about the upstream and downstream settings, hover over the word
Traversal to read hover help.
- Set the depth that you want analyzed by entering a number in the depth
field.
- Optional: Set a type for the analysis to find by clicking the
Set depth based on type icon. In the Select type
dialog, set Value to specify the artifact type. The artifact type that you
set replaces the depth, and the analysis searches until it finds the type.
After you edit the profile in the Traversal tab, save the changes.
- Click the Focus and Profile tab, and then click
Save to the immediate right of Impact analysis
profile.
- In the Save profile dialog box, give the new profile a name and change
the description to match the changes you made.
If you do not give the profile a new name before
you save, you overwrite the existing profile with the new settings.
If you cancel the save,
you lose the changes that you made to the profile, even if you save the diagram.
- To generate the impact analysis diagram, click Apply.
As the following screen capture shows, when you run an impact analysis, the diagram is
displayed under the edit window. Further, details about the analysis, such as added and hidden
artifacts, are displayed in the accordion tabs on the right.
-
In the editor, click in the title field, and type a name for the new impact analysis diagram,
if you want to save the diagram.
- Optional: You can control how the diagram is displayed on the page by using
the controls on the diagram toolbar.
- To save the impact analysis diagram so that other team members can use it, click
Save.
The new diagram is automatically included in the list
of available diagrams.
- Explore the potential impact of changes by adding or removing artifacts.
This exploration is useful when you must introduce a change to fix a defect.
- Optional: To examine the properties of an artifact in the impact analysis
diagram, select the artifact and click the Preview icon.