Data not found

Finding needles in a haystack: Leveraging co-change dependencies to recommend refactorings

Country : Singapore
Department : Singapore Management University
Project Title : Finding needles in a haystack: Leveraging co-change dependencies to recommend refactorings
Researcher : DE OLIVEIRA, Marcos César , FREITAS, Davi , BONIFACIO, Rodrigo , PINTO, Gustavo , LO, David
Keyword : Remodularization; Software clustering; Design quality; Refactoring; Co-change dependencies , Computer Engineering , Software Engineering
Publisher : Institutional Knowledge at Singapore Management University
Year End : 2019
Identifier : https://ink.library.smu.edu.sg/sis_research/4470
Source : Research Collection School Of Information Systems
Abstract / Description :

A fine-grained co-change dependency arises when two fine-grained source-code entities, e.g., a method,change frequently together. This kind of dependency is relevant when considering remodularization efforts (e.g., to keep methods that change together in the same class). However, existing approaches forrecommending refactorings that change software decomposition (such as a move method) do not explorethe use of fine-grained co-change dependencies. In this paper we present a novel approach for recommending move method and move field refactorings, which removes co-change dependencies and evolutionary smells, a particular type of dependency that arise when fine-grained entities that belong to different classes frequently change together. First we evaluate our approach using 49 open-source Java projects,finding 610 evolutionary smells. Our approach automatically computes 56 refactoring recommendationsthat remove these evolutionary smells, without introducing new static dependencies. We also evaluateour approach by submitting pull-requests with the recommendations of our technique, in the contextof one large and two medium size proprietary Java systems. Quantitative results show that our approachoutperforms existing approaches for recommending refactorings when dealing with co-change dependencies. Qualitative results show that our approach is promising, not only for recommending refactorings butalso to reveal opportunities of design improvements.

References

DE OLIVEIRA, Marcos César and others / et al. (2019). Finding needles in a haystack: Leveraging co-change dependencies to recommend refactorings.  Singapore: Singapore Management University.
DE OLIVEIRA, Marcos César and others / et al. 2019. "Finding needles in a haystack: Leveraging co-change dependencies to recommend refactorings".  Singapore: Singapore Management University.
DE OLIVEIRA, Marcos César and others / et al. "Finding needles in a haystack: Leveraging co-change dependencies to recommend refactorings."  Singapore: Singapore Management University, 2019. Print.
DE OLIVEIRA, Marcos César and others / et al. Finding needles in a haystack: Leveraging co-change dependencies to recommend refactorings. Singapore: Singapore Management University; 2019.

Export

Share