... | @@ -58,20 +58,21 @@ The characteristics considered in our work are: |
... | @@ -58,20 +58,21 @@ The characteristics considered in our work are: |
|
|
|
|
|
* Smell Generic
|
|
* Smell Generic
|
|
* Age: The number of versions affected by the smell.
|
|
* Age: The number of versions affected by the smell.
|
|
& Overlap Ratio & The ratio of the total number of components of a given smell that also take part in another smell
|
|
* Overlap Ratio: The ratio of the total number of components of a given smell that also take part in another smell.
|
|
& Centrality & The importance of the components affected by the smell within the system. Measured using the PageRank of the components in the dependency graph. & \cite{Roveda2018b} \\
|
|
* Centrality: The importance of the components affected by the smell within the system. Measured using the PageRank of the components in the dependency graph.
|
|
& Size & The number of elements of the system affected by the smell. & * \\
|
|
* Size: The number of elements of the system affected by the smell.
|
|
& Number of edges & The number of dependency edges among the components affected by the smell. & * \\ \midrule
|
|
* Number of edges: The number of dependency edges among the components affected by the smell.
|
|
\multicolumn{4}{c}{\itshape smell-specific}\\\midrule
|
|
* CD-Smell specific
|
|
\multirow{4}{0.1\linewidth}{CD} & Shape & The cycle shapes as shown in Figure \ref{fig:cycle-dep}. & \cite{Fontana2016,AlMutawa2014}\\
|
|
* Shape: The cycle shapes as shown in the above.
|
|
& Average edge weight & The number of dependencies (weight) between the components affected by the smell. It can be indicative of the difficulty of refactoring the cycle. & \cite{Fontana2017}\\
|
|
* Average edge weight: The number of dependencies (weight) between the components affected by the smell. It can be indicative of the difficulty of refactoring the cycle.
|
|
& Number of inheritance edges & The number of edges in the smell that represent an inheritance between components. & \cite{Laval2012} \\
|
|
* Number of inheritance edges: The number of edges in the smell that represent an inheritance between components.
|
|
& Affected design level & Whether the cycle is present only at architectural level (among packages) or also at design level (among classes) too. & \cite{AlMutawa2014} \\
|
|
* Affected design level: Whether the cycle is present only at architectural level (among packages) or also at design level (among classes) too.
|
|
& Parent centrality$^\dagger$ & The degree to which a package is at the centre of a cycle with its children sub-packages. & \cite{AlMutawa2014}\\ \midrule
|
|
* Parent centrality: The degree to which a package is at the centre of a cycle with its children sub-packages.
|
|
\multirow{2}{0.1\linewidth}{UD} & Instability gap & The difference between the instability of the main component and the average instability of the dependencies less stable than the component itself. & \cite{Fontana2017} \\
|
|
* UD-Smell Specific
|
|
& Strength (or DoUD \cite{Fontana2017}) & The ratio between the number of dependencies that point to less stable components and the total number of dependencies of the class. & \cite{Fontana2017} \\ \midrule
|
|
* Instability gap: The difference between the instability of the main component and the average instability of the dependencies less stable than the component itself.
|
|
\multirow{3}{0.1\linewidth}{HL} & Average internal path length$^\dagger$ & Only computed on package HL. The average length of the paths between internal nodes with afferent dependencies and internal nodes with efferent dependencies within the central package. The shorter the length, the more the packages that depend upon the main component and packages that are depended upon by it are connected. & * \\
|
|
* Strength: The ratio between the number of dependencies that point to less stable components and the total number of dependencies of the class.
|
|
& Affected classes ratio$^\dagger$ & Only computed on package HL. The ratio between the number of classes taking part in a dependency relationship with afferent and efferent packages of the main component and the total number of classes in the main component.
|
|
* HL-Smell Specific
|
|
\end{tabular}
|
|
* Average internal path length: Only computed on package HL. The average length of the paths between internal nodes with afferent dependencies and internal nodes with efferent dependencies within the central package. The shorter the length, the more the packages that depend upon the main component and packages that are depended upon by it are connected.
|
|
|
|
* Affected classes ratio: Only computed on package HL. The ratio between the number of classes taking part in a dependency relationship with afferent and efferent packages of the main component and the total number of classes in the main component.
|
|
|
|
|
|
# Tooling |
|
# Tooling |
|
|
|
\ No newline at end of file |