SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:jtransformer:tutorial:working_with_jt [2015/01/14 05:10]
127.0.0.1 external edit
research:jtransformer:tutorial:working_with_jt [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== Using Analyses (As) and Transformations (Ts) ======
 +
 +This section gives an overview about the activation of JTransformer and its main components. It is recommended to use the //JT User// perspective when working with JTransformer (//​JTransformer//​ -> //JT User Perspective//​).
 +
 +{{:​research:​jtransformer:​tutorial:​work_perspective_user_highlight.png?​600px|}}
 +
 +The perspective contains the following elements:
 +  - the [[control_center|JTransformer Control Center]],
 +  - the Package Explorer and
 +  - the Outline.
 +
 +===== Activate JTransformer for a project =====
 +
 +Before JTransformer can be used on a Java project, it needs to be activated. This is done by assigning the //​JTransformer Nature// to a project, select //​Configure//​ -> //Assign JTransformer Factbase// in the context menu of a project.
 +
 +{{:​research:​jtransformer:​tutorial:​work_assign_menu.png?​400px|}}
 +
 +In the upcoming dialog a factbase name needs to be defined. To every factbase there is one Prolog process. It is possible to use one factbase for multiple projects. \\
 +The default name is the name of the selected project.
 +
 +{{:​research:​jtransformer:​tutorial:​work_assign_dialog.png|}}
 +
 +The activation of JTransformer will trigger the initial generation of the factbase for the selected project. After the generation is finished the project icon will have a green JT overlay {{:​research:​jtransformer:​tutorial:​work_nature_icon.png|}}.
 +From then on JTransformer will automatically update the factbase each time any Java source code is modified in the project.
 +
 +===== Overview about the main components =====
 +
 +Once JTransformer is activated for a project it is possible to load and run analyses, inspect the PEF, etc. The following table presents an overview.
 +
 +| The [[control_center|Control Center]] is the most important view. \\ It allows enabling/​disabling of analyses, running of analyses, \\ inspecting analysis results and more. |  {{:​research:​jtransformer:​tutorial:​cc_overview.png?​450px|}} ​ |
 +| The [[viewing_results|viewing and acting on analysis results]] includes \\ the listing in the Control Center, the highlighting in the code and \\ the applying of possible quick fixes. |  {{:​research:​jtransformer:​tutorial:​cc_analysis_result_table.png?​450px|}} ​ |
 +| The [[factbase_inspector|Factbase Inspector]] offers the possibility to \\ inspect the PEFs of a factbase in a tree representation. |  {{:​research:​jtransformer:​tutorial:​fbi_overview.png?​450px|}} ​ |
 +| The [[factbase_statistics|Factbase Statistics]] view \\ shows statistics about a factbase. |  {{:​research:​jtransformer:​tutorial:​stats_overview.png?​450px|}} ​ |
 +| JTransformer allows to generate reverse engineered code \\ which is explained [[reverse_engineering|here]]. |  {{:​research:​jtransformer:​tutorial:​re_refactoring_dialog.png?​450px|}} ​  |
  
research/jtransformer/tutorial/working_with_jt.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019