Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Discovery
Discovery [message #1759375] Mon, 10 April 2017 22:42 Go to next message
sarah Adam is currently offline sarah AdamFriend
Messages: 5
Registered: March 2017
Junior Member
Hi,

I am trying to test modisco discovery and I find this bug:

1) Any variable declaration in class A which has a type of class B located in same package will not be captured in final UMl model. for example, Package 1 contains classA and classB. If classA has a variable declaration of type class B, it wont be captured in UML model.

2)Second bug: if import statement specify '* ' , any usage of the classes within the specified package will not be captured in UMl dependency relationship. for example classA has import utiliti.* , which contains utility.java class . Hence, if Class A called any method of utility.java class , it wont be recognized.

can you please advice on how to update the prser
thanks

Re: Discovery [message #1759407 is a reply to message #1759375] Tue, 11 April 2017 11:51 Go to previous message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
Hello,

The UML model discoverer from Java source code is actually a chain of the following discoverer + transformations: Java code -> Java model -> KDM model -> UML model.
You can see how it is implemented by looking to these files and their embedding plugin
http://git.eclipse.org/c/modisco/org.eclipse.modisco.git/tree/org.eclipse.modisco.java.discoverer/src/org/eclipse/modisco/java/discoverer/internal/resources/transformations/javaToKdm.atl
http://git.eclipse.org/c/modisco/org.eclipse.modisco.git/tree/org.eclipse.modisco.kdm.uml2converter/src/org/eclipse/modisco/kdm/uml2converter/internal/resources/transformations/KDMtoUML.atl

Kind regards

Hugo Bruneliere

Previous Topic:Return in methods
Next Topic:how install the Method call Graph discovery of Modisco ?
Goto Forum:
  


Current Time: Thu Apr 18 16:07:11 GMT 2024

Powered by FUDForum. Page generated in 0.02100 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top