The Compare
app lets you to:
- Identify differences between Requirement Specifications structures
- Identifying differences between some of the attributes (predefined list) of two objects
of the same type
- For requirement objects, identify content differences
You can view the Duplicate status for children in requirement
structures in the Compare widget. This status is displayed when a child
from a structure is a duplicate of a child from another structure. You can view the
Duplicate status in both index and database modes.
Note:
The Duplicate status is not detected for parameters aggregated by a
requirement object.
The table below explains the possible cases. Here, you get information about which panel (s)
will appear after you compare different object types.
| Compared With |
Specification Folder |
Requirement Specification |
Requirement |
Chapter |
Comment |
Parameter |
| Specification Folder |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
| Requirement Specification |
Property Panel |
Structure Panel, Property Panel, Content Panel |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
| Requirement |
Property Panel |
Property Panel |
Property Panel, Content Panel |
Property Panel |
Property Panel |
Property Panel |
| Chapter |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
| Comment |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
Property Panel, Content Panel |
Property Panel |
| Parameter |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
Property Panel |
All the three panels (Structure Panel, Property Panel, and Content Panel) are visible if you
compare two requirement specifications.
Click
to hide or show any of these three panels.
Notes:
- In the Structure Panel, the structure of the selected objects is compared. Whenever
you change the selection in the structure view, the properties and the Content view are
updated accordingly.
- If the matched object does not have any content, then the Content panel displays the
message "Content is empty". If the object is not supported, the panel displays the
message "No Content to Compare".
- If the object is not matched, and the object have the content, in this case, the
Content panel will load the content of the object.
- Compare
widget supports a maximum of five objects to compare at a time.
If you compare more than five objects, an error message appears. If you select more than
two objects to compare, then only the Properties Panel is visible.
Content Panel Behavior
In the Content Panel, you will see the comparison of content of the selected objects. The
following types of content can be compared:
| Content |
Description |
| Simple Text Compare |
When you select two requirements or comments (that have content) to compare,
the Content Panel shows the result of the comparison. |
| Table Compare |
You can compare the content in the tables. Content Panel will show the result
of comparison.Notes:
- Comparison of content containing table with different size may not show
accurate results.
- If multiple table cells have the same values, then the results might not
be accurate.
|
| Image Compare |
When you compare two objects that contain the images, it will change the
background color of the image according to the legend color, that this image
belongs to this particular object. And if the image is common in both objects then
it will be presented without any color change. |
| List Compare |
When you select two requirements or comments (that have content) to compare,
the Content Panel will show the result of the comparison. |
| Equation Compare |
In case of Equation compare, it does not detect the particular changes in the
equation, rather than content panel will show that the equation was in that
particular object and changes the background color of that equation. |
| RCO Compare |
In case of RCO compare, it will not detect what is inside the object. It will
just compare the object name |
| Hyperlink Compare |
The content panel does not highlight the changes in the hyperlink. |
| Latin Character Compare |
The Content panel displays the compared result and changes the background
color accordingly |
Comparing Requirement Structures Using Custom Rules and Additional Statuses
You can compare requirement structures using custom rules and additional statuses. You can
easily compare requirement structures using your own customized requirement comparison
profiles. For more information, see Social and Collaborative | Structured Collaboration & Collaborative Content | Compare | Compare | Creating and Editing a Comparison Profile.
When you compare the structure of two objects, a comparison status is assigned to both the
objects.
A color code shows the differences. Here is the list of compare statuses (for default
comparison profile) supported by requirement objects:
| Color Code |
Status |
Description |
| |
Identical |
The objects on the left and right are identical, and are at the same position.
|
| |
Right-only |
No matching object has been found in the first structure.
|
| |
Left-only |
No matching object has been found in the second structure.
|
 |
Revision |
The object has been replaced by another revision.
|
 |
Branch |
The object has been replaced by a branch, or an object derived
from a branch. |
 |
Different |
The two objects are unrelated but share common children (identical, revision,
branch, duplicate, or replaced).
|
 |
Unrelated |
The two roots and their descendants are unrelated to each
other. The two root objects are indicated as unrelated, and their descendants are
indicated as left-only and right-only. |
For custom profiles, given below is the additional status:
| Color Code |
Status |
Description |
 |
Properties |
At least one of the properties defined in the list is different between the
object in the left structure and the object in the right structure.
|