Author Topic: <<call> depencency, call graphs  (Read 1465 times)

ocroquette

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
<<call> depencency, call graphs
« on: October 10, 2007, 06:07:36 am »
Hi all

The UML superstructure states:

A call dependency specifies that the source operation or an operation in the source class invokes the target operation or an operation in the target class.

I have several questions about that:

- Does EA support dependencies between operations?

- As far as I know, operations are not representable as such on a diagram (they just appear in a class). Therefore a <<call>> between operations can not be represented either. It would live only in the model, but could not be shown on any diagram. Is that the case?

- I don't understand why UML doesn't allow for any call diagram (ie. call graph) while defining <<call>> dependencies between operations. Any hint on that?

Thanks for your comments and ideas!

Olivier
« Last Edit: October 10, 2007, 06:09:12 am by ocroquette »

thomaskilian

  • Guest
Re: <<call> depencency, call graphs
« Reply #1 on: October 10, 2007, 06:12:50 am »
1. There is a way to create dependencies via Tags (there's a recent thread telling how to do that - you likely have to search for it).

2. Have a look at sequence diagrams.

ocroquette

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: <<call> depencency, call graphs
« Reply #2 on: October 10, 2007, 06:22:20 am »
OK thanks. I will check that, even if searching on the forum is really a pain.

But if there is no way to represent them, there is no point.

About the sequence diagram, I have to disagree. It does not have the same purpose as a call graph, and neither does it contain the same information.



thomaskilian

  • Guest
Re: <<call> depencency, call graphs
« Reply #3 on: October 10, 2007, 06:36:55 am »
I guess the cited paragraph does not elaborate over call graphs, does it?

ocroquette

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: <<call> depencency, call graphs
« Reply #4 on: October 10, 2007, 07:20:23 am »
Quote
I guess the cited paragraph does not elaborate over call graphs, does it?


Nope.

It's a pity to be able to put (theoretically) this information in a model but not to be able to draw a call graph, which is quite a standard in the industry.
« Last Edit: October 10, 2007, 07:20:43 am by ocroquette »