Using Software Metrics and Program Slicing for Refactoring
A. T. Chamillard, David Cook, Ricky E. Sward · 2004
Abstract : Refactoring can improve the quality of a software system as measured by coupling, cohesion, and cyclomatic complexity, but knowing which refactoring choices should be implemented is key. This article presents an approach that guides the refactoring of software systems by combining the use of software metrics and a technique called program slicing. Program slices produced from a single software module are sorted by the respective values of the metrics; a design that provides the most beneficial metric values can be selected from these. This approach can produce a software system with higher quality and maintainability as measured by the metrics.