|
[] |
|
# Trade-off Manager
|
|
\ No newline at end of file |
|
This subsection provides an overview of the user interface designed until this point for the Trade-off Manager component. This interface is located under the 'Decision Support' tab of the SDK4ED platform.
|
|
|
|
|
|
|
|
![image](uploads/572e9a961aefa7dfa13c4fd5d83a1fbd/image.png)
|
|
|
|
|
|
|
|
By clicking on 'Decision Support', the user is presented with the 2 options resembling the subsystems included in this document: Trade-off Manager and Refactorings as a Financial Investment. The next step is to click on the first subsystem.
|
|
|
|
|
|
|
|
As shown above, the user is greeted with a warning message and asked to acknowledge that her project has already been analyzed from the analysis toolboxes1. Then, the user is welcome to initiate the Trade-off Manager flow via pressing the 'Gather Refactorings' button.
|
|
|
|
|
|
|
|
![image](uploads/ef4ba427b4ec4505f004e64525eda937/image.png)
|
|
|
|
|
|
|
|
Upon pressing the button, results are retrieved from the analysis toolboxes and the initial design space is displayed to the user in two formats:
|
|
|
|
|
|
|
|
- Tabular form, where each refactoring suggestion is accompanied with the impacts it is expected to have in the code qualities of Energy, Technical Debt and Security. This format resembles the corresponding entry saved in the look-up table
|
|
|
|
- Three figures of 2-dimensional vectors, each focusing on the trade-offs between code quality pairs. The figures are interactive in the sense that the user can manually choose any subset of design space points that she may want to compareAs a visualization scheme, the choice of 2-dimensional vectors is intuitively fitting, even for a manual exploration of the design space. It is obvious that if the user wants to improve the Security aspect, then from the 'Energy vs Security' we can safely exclude the 'Loop Unrolling' option (black arrow) since it has no impact on the specific quality.
|
|
|
|
|