Approaches for improving classcohesion identify refactoringopportunities using metrics that capture structural relationships between the methods of a class, e.g., attribute references. Semantic metrics, e.g., C3 metric, have also been proposed to measureclasscohesion, as they seem to complement structural metrics. However, until now semantic relationships between methods have not been used to identify refactoringopportunities. In this paper we propose an ExtractClassrefactoring method based on graph theory that exploits structural and semantic relationships between methods. The empirical evaluation of the proposed approach highlighted the benefits provided by the combination of semantic and structuralmeasures and the potential usefulness of the proposed method as a feature for software development environments.

Identifying Extract Class Refactoring Opportunities Using Structural and Semantic Cohesion Measures

DE LUCIA, Andrea;
2011-01-01

Abstract

Approaches for improving classcohesion identify refactoringopportunities using metrics that capture structural relationships between the methods of a class, e.g., attribute references. Semantic metrics, e.g., C3 metric, have also been proposed to measureclasscohesion, as they seem to complement structural metrics. However, until now semantic relationships between methods have not been used to identify refactoringopportunities. In this paper we propose an ExtractClassrefactoring method based on graph theory that exploits structural and semantic relationships between methods. The empirical evaluation of the proposed approach highlighted the benefits provided by the combination of semantic and structuralmeasures and the potential usefulness of the proposed method as a feature for software development environments.
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11386/3025842
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 86
  • ???jsp.display-item.citation.isi??? 73
social impact