Preprints‎ > ‎

Recommending Refactorings based on Team Co-Maintenance Patterns by Gabriele Bavota, Sebastiano Panichella, Nikolaos Tsantalis, Massimiliano Di Penta, Rocco Oliveto, Gerardo Canfora

pubblicato 5 gen 2015, 14:25 da Gerardo Canfora
Refactoring aims at restructuring existing source code when undisciplined development activities have deteriorated its comprehensibility and maintainability. There exist various approaches for suggesting refactoring opportunities, based on different sources of information, e.g., structural, seman- tic, and historical. In this paper we claim that an addi- tional source of information for identifying refactoring op- portunities, sometimes orthogonal to the ones mentioned above, is team development activity. When the activity of a team working on common modules is not aligned with the current design structure of a system, it would be possi- ble to recommend appropriate refactoring operations—e.g., extract class/method/package—to adjust the design accord- ing to the teams’ activity patterns. Results of a preliminary study—conducted in the context of extract class refactoring— show the feasibility of the approach, and also suggest that this new refactoring dimension can be complemented with others to build better refactoring recommendation tools.
ASE 2014: 337-342
Ċ
Gerardo Canfora,
5 gen 2015, 14:26
Comments