Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Defects

In your modeling, problems in the development of the system or model might arise; more formally, you encounter an obstacle to meeting defined requirements for the current system, through a defect of the model, system or process. You can represent this failure using a Defect element, which is a structured comment containing information about the defect and the measures taken to manage it. The element is rendered as shown.

d_defect_element

You can link Defects to model elements that are responsible for the problem, using Realize connectors. You can also create a hierarchy of related Defects using Aggregation connectors. Each Defect element has a status band at the left end, which is color coded to visually represent the value of the Status field in the element properties. The element has an identifying D in the top right corner, which you can hide if you prefer not to show it.

You can create Defect elements on most types of diagram, although the Maintenance diagram is specifically designed for displaying and managing them. You can also create your own defect-management diagram as a Custom diagram. You can add the Defect (and other) elements to the diagram from the Diagram Toolbox, or directly to a Package in the Project Browser.

Add a Defect to the model using the Toolbox

Step

Action

See also

1

Open the Maintenance or Custom (or other) diagram to define the problem.

 

 

2

From the Custom pages or Common page of the Diagram Toolbox, drag the Defect icon onto the diagram.

Custom Toolbox

Common Page

 

3

If the Properties dialog does not automatically display, double-click on the element. Record the name and details of the Defect, in the Properties dialog.

Properties Dialog

Create Maintenance Items

 

 

Add a Defect to the model using the New Element dialog

Step

Action

See also

1

Identify the Package in which to record the Defect, in the Project Browser.

Right-click on this Package and select the Insert | New Element context menu option.

 

 

2

Complete the fields on the New Element dialog - in the Type field, click on the drop-down arrow and select Defect.

Add Elements Directly To Packages

 

3

When you have created the element, double-click on it. Record the name and details of the Defect, in the Properties dialog.

Properties Dialog

Create Maintenance Items

 

Notes

·To toggle display of the letter D in the top right corner of the element, select or deselect the Show stereotype icon for requirements checkbox on the Options dialog, Objects page
 

Learn more