-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimal Example #11
Comments
we have a poster on that. http://eprints.uni-kiel.de/34061/1/ssp-poster.pdf |
I've startet an analysis on [1], it's running since yesterday evening. |
Here is a small intro (will be improved in future) https://github.com/rju/architecture-evaluation-tool/wiki/How-to-use-the-Architecture-Evaluation-Tool-for-Java-Code Anyway, Palladio-Analyzer-SimuLizar could have a very large network which will result in long computing times as the O(*) complexity is somewhat high n² or n³. The application can parallelize execution and I set the parameter to 8 in TransformationHypergraphSize. This could be increase if you have more parallel threads in your computer. The key issue is the complexity metric which needs to calculate the size for each sub-hypergraph of each node. Essentially, the more complex your application is the longer the thing runs. Usually it log infos to the Analysis Log View. This could be increased. Also in the Eclipse Progress View you should be able to see activity. In my thesis the analysis run 1-2 days on certain code generator versions. I later improved performance a bit, but currently it is still slow. Alternatively, you could modularize your project and make therefore the observed-system smaller. |
Eclipse is not responding. If it is still stuck tomorrow, I will try the intro. Thanks for your support! :) |
The analysis runs for about 19h for the core project. As we wont run the analysis that often, it seems ok. We've tried to modularize some parts of the core project, but the results are getting worse instead of better (higher complexity and lower cohesion instead of vise versa). Sorry for answering so late, but somehow Corona happened and now is a almost a half year gone... |
I am currently on holiday (vacation). There was some documentation
I have a little more in an unpublished paper which is the text that follows here: The Java type system is very complex due to its multi-inheritance feature, enumerations with methods, and abstract classes, inner classes, anonymous classes, etc. In addition dependency injection frameworks, which resolve interfaces to class instances at runtime, cause additional complexity due to further indirection. Therefore, we present a concise description of a mapping of Java classes, interfaces and methods to modules, nodes, and hyperedges. We distinguish classes in three groups representing the observed system, the infrastructure, and the data types. All classes to be handled as data types are listed data-type- Data Types. Java defines several primitive types, like int, short, and char, supplemented by data classes, e.g., String, Classes and Interfaces. All classes and interfaces belonging to the observed system are analyzed completely, meaning For classes and interfaces of frameworks and libraries, only those are added which are used in the observed system, and The relationships induced by subclassing must also be mapped to the hypergraph. While, the hypergraph is a flat Our mapping distinguishes two kinds of hyperedges, with call edges for method calls, and data edges for access to data Special Class Types. They are handled like normal classes. However, abstract classes’ abstract methods are handled like |
Is there any minimal example (for java?) which demonstrates the functionality and results?
The text was updated successfully, but these errors were encountered: