Author Topic: Printing the Data Integrity Report  (Read 5659 times)

fcomtz

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • Dino
    • View Profile
Printing the Data Integrity Report
« on: December 02, 2004, 02:48:43 pm »
Hi:

I have to clean my model.

I'm using the Project Integrity Check function.

Is there any way to print the results of this report?

Thanks for your help

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Printing the Data Integrity Report
« Reply #1 on: December 03, 2004, 01:08:53 am »
I must add that the report would be more useful if it was more specific in identifying the faulty elements, so that I could have a look to check whether I could just delete them - or provide a Locate Selected button as per Find.

PS - why is this posted in the Automation forum ? When it says "Automation, Add ins and Tools" I don't think it means "things off the Tools menu" !!
« Last Edit: December 03, 2004, 01:14:47 am by mikewhit »

fcomtz

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • Dino
    • View Profile
Re: Printing the Data Integrity Report
« Reply #2 on: December 03, 2004, 08:30:21 am »
Hola:

The faulty elements are "horphan" objects

Thanks

- PS I post here because in the description of the forum refers also to "information for creating Reports"

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Printing the Data Integrity Report
« Reply #3 on: December 03, 2004, 10:12:14 am »
Hola,

orphan objects can easily be found using the Find dialog (check option "Find Orphans").
I find the "Data Integrity" dialog a bit confusing, it did not really do anything meaningful for me.

Bruno

Quote
Hola:

The faulty elements are "horphan" objects

Thanks

- PS I post here because in the description of the forum refers also to "information for creating Reports"


mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Printing the Data Integrity Report
« Reply #4 on: December 03, 2004, 10:22:06 am »
You should try to keep the Data Integrity report clean, but only do a Repair after a backup.

I tend to check each of the categories in turn (e.g. Connections), and then do a fix on it, before going to the next category.

I think you only tend to get problems in the database when EA has crashed. If you have subsequently been using the model without any problems then it probably is OK to do a Repair, but as I said, I do it one stage at a time.

Running an HTML documentation on your whole model would (I presume) throw up any problems in visible model elements - I'm guessing that errors found by the Integrity tool are database entries which "shouldn't happen", e.g. a connector without anything to connect !

Though perhaps Sparx could advise here ... or maybe they don't want to.

Orphan objects are sometimes OK if you are in the process of building a model - Actors without any associations yet, for example. They are elements which do not appear on any diagram (according to the Help file), or (this shouldn't happen) not even in the Project View.

Be careful before deleting them though - they may be within a package which is on a diagram although not in a diagram on their own - eg. a Requirement.

They are not the same as errors in the Integrity report.
« Last Edit: December 07, 2004, 01:49:30 am by mikewhit »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Printing the Data Integrity Report
« Reply #5 on: December 05, 2004, 02:14:37 pm »
Quote
Though perhaps Sparx could advise here ...


The only interesting information you are likely to get from an integrity check is the number of faults reported. Run it if you notice any weird behaviour, especially after EA (or the PC it's running on) has crashed. If it shows lots of faults fixed, it means you've probably found what was causing the weirdness; if it's zero, it means your problem is somewhere else.
The Sparx Team
[email protected]