Skip to main content



      Home
Home » Modeling » MoDisco » Discovery
Discovery [message #1759375] Mon, 10 April 2017 18:42 Go to next message
Eclipse UserFriend
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 07:51 Go to previous message
Eclipse UserFriend
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: Sun May 11 23:35:28 EDT 2025

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

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

Back to the top