
This
section contains information about the evaluation features available in dotEASY
for evaluation purposes.
“dotEASY” lets you perform
“advices” over source code. These advices are performed following the
parameters described in the configuration. You can use dotEASY as a metric
evaluation-tool and you can also use the metrics calculated information (and,
optionally additional information) to detect Code Smells and perform Advices.
Here we will show you both.
Evaluating Metrics
“dotEASY” lets you evaluate metrics to get a general idea of
your project’s “numbers”. There are two ways of doing this. The first option
is: Go to the tools
menu>dotEASY>Metrics Explorer. This opens a new window. The window
contains a tree showing the structure of the solution and two Grids. Te upper
grid shows information about the selected item. This information includes:
Name, Full Name, References, etc. The information varies according to the
selected item. The lower grid shows the
metrics results of the selected item. Note that all possible metrics are shown
for each element no matter if it is enabled or not in the configuration.
The second one is discussed in the next section.
Evaluating Code
Smells and Advices.
In order to perform the Code Smell and Advice’s
evaluation properly, you should configure “dotEASY” to accommodate it to your
requirements. After that, you’re ready to evaluate your code. To perform code
evaluation, go to tools
menu>dotEASY>Evaluation Explorer. This option adds a new pane to the
Development Enviroment named “Evaluation Explorer”. This pane lets you perform
the following:
There is also a fifth option: go to code. This option lets you go directly to the code of the selected element.All this options share a common feature: they let you perform a the selected operation either on a specific node (e.g: node evaluation) or on an entire branch of your solution structure. When you perform a node action, the selected operation will be performed only on the selected node. When you perform a branch evaluation, the selected operation will be performed on the selected node and all of its children.
Note that you can perform this operations either by right-clicking on an element or using the buttons located on the top of the Evaluation Explorer Pane.