Prev Next

Check Project Data Integrity

Over time as the models in your repository evolve small aberrations can occur in the database typically as a result of badly formed XMI imported from third-party systems or network crashes or other unforeseen events that disrupt the integrity of information in the repository. To ensure your repository is in good-health it is recommended that you run the Project Integrity Check function to check that your project data is structurally complete.

You can select a variety of items to check. The integrity check examines all database records and ensures there are no 'orphaned' records or inaccurate or unset identifiers. This function does NOT check UML or other modeling language  conformance, only the data relationships and repository structure. So it will check that all attributes have identifiers but it will NOT check that you have used the correct relationship between a Use Case and an Actor.

project-integrity-check-report

You can conveniently run the integrity checker first in Report mode to discover and analyze problems located by the Integrity Checker. Once you have looked through the list of Problems that the check has found and viewed the proposed actions you can and then run it again in 'Recover/Clean' mode.

Other than for quite small repositories It is recommended that you don't run all the available checks at the same time as this can take some time to complete. Either run them individually or in small sets.

When Enterprise Architect 'Cleans' the model, it attempts to recover any lost Packages and Elements, and generates a new Package called _Recovered_. Check through any elements that are found and, if required, drag them back to where they belong in the Browser window. If they are not required, you can choose to delete them or export them as an XMI export to serve as a backup.

Access

Ribbon

Configure > Model > Integrity > Project Integrity

Check the data integrity of your project

Step

Action

See also

1

Open the project.

2

Select the 'Project Integrity Check' menu option.

The 'Project Integrity Check' dialog displays.

3

Select the checkbox for each check to run:

  • Package Structure
  • Object Structure
  • Object Features
  • All GUIDs
  • Cross References
  • Connectors
  • UML 2.0 Migration

4

Select either:

  • The 'Report Only' option to just view a report on the state of your model, or
  • The 'Recover/Clean' option to recover and clean your project; before selecting this option, back up your project file first

5

To write a log of the integrity check, click on the Save Results button and select a log file.

6

Click on the Go button to run the check.

If you want to display the resulting information in a more readable layout, you can resize the dialog and its columns.

UML 2.0 Migration

The UML 2.0 Migration check enables you to migrate the project from UML 1.3 semantics to UML 2.0 semantics. The migration process currently converts activities that are invocations of operations into called operation actions as per the UML 2.0 specification.

The UML 2.0 Migration option is an exclusive process that does not enable any of the other checks to be selected. When you click on the Go button to perform the migration, a prompt displays for you to confirm the operation.

Notes

  • In the Corporate, Unified and Ultimate Editions of Enterprise Architect, if security is enabled you must have 'Check Data Integrity' permission to perform a data integrity check

Learn more