Book a Demo

Author Topic: Finding Unused Operations  (Read 2851 times)

michael_rainwater

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Finding Unused Operations
« on: August 30, 2008, 04:06:06 am »
I have created a large number of sequence diagrams.  Each sequence diagram uses "operations" as the system message, placed directly to a class.  This means, I created class objects and used these for my diagrams.

As I add sequence diagrams, and system messages, I am adding the appropriate class and operations on the class.

My problem (and my question) is, how do I determine which operations may not be used, or how often a particular operation is used?

When I create a system message from Class-A to Class-B (calling operation GetData) I am actually saying that Class-A is dependent on Class-B.  But EA doesn't really see this as a dependency.  I draw this dependency seperately (which I wish I didn't need to do).

But now, I need to find out if there are any operations that are not being used.  I also need to know (at the operation level) a total list of the dependencies.

Is there any way I can get this information from EA without just going through every diagram manually and then taking notes on paper?
« Last Edit: August 30, 2008, 04:10:56 am by michael_rainwater@ »

Hilario Grun

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Finding Unused Operations
« Reply #1 on: October 01, 2008, 06:24:54 am »
Take a look of this issues I wrote some days ago at this forum
"Find where I use an operation?"

Must to be your problem...

I

michael_rainwater

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: Finding Unused Operations
« Reply #2 on: October 01, 2008, 06:37:22 am »
I found the conversation.  Here is a link if others are interested.

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1213818463/0#0

Thanks
« Last Edit: October 01, 2008, 06:41:00 am by michael_rainwater@ »