Incorrect generated relationship from imported code? (#1586)

It's about code generation in from model and model to code.

(This is not about inhertiance)

Right now, SIM generates relationship only when class has instance variable. But when non-instance variable of some type is used inside the body of a method in class, this class become dependent on implementation of the method(from the other class).

Also if any method has parameter that is non-instance variable, by having this variable of that type, it becomes dependent on it.

Image attached to clarrify.

https://www.dropbox.com/s/5a8ftx4f4z9uh92/Incorrect%20relationships.png?dl=0

Is it possible to add generation of those dependencies on a diagram?

https://www.dropbox.com/s/ielzeng5bsfflx4/Incorrect%20relationships.png?dl=0

Created
25 February 2019 15:28:19
Closed
Not Closed
Requested by
Patryk Kiełb
State
Confirmed
Version
Premium
OperatingSystem
-
Solved in
Unsolved

Patryk Kiełb 25 February 2019 15:30:25

Dependency on the image should point from A to C. Sorry for mistake.

Dusan Rodina - softwareideas.net 27 February 2019 8:10:07

Hello,

you are right. Now, only headers are processed. The method body is not included to analysis. It will be improved in one of next versions.

Thank you for your suggestion.

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]