Adıyaman Üniversitesi Kurumsal Arşivi

Identification of Extract Method Refactoring Opportunities through Analysis of Variable Declarations and Uses

Basit öğe kaydını göster

dc.contributor.author Kaya, Mehmet
dc.contributor.author Fawcett, James W.
dc.date.accessioned 2024-04-30T07:53:01Z
dc.date.available 2024-04-30T07:53:01Z
dc.date.issued 2017
dc.identifier.issn 0218-1940
dc.identifier.uri http://dspace.adiyaman.edu.tr:8080/xmlui/handle/20.500.12414/5035
dc.description.abstract Software development is a continuous process that usually starts with analyzing the system requirements and proceeds with design, implementation, testing, and maintenance. Regardless of how good an initial design was achieved, quality of source code tends to decay throughout the development process as software evolves. One of the main contributing factors to this degradation of initial quality can be considered as maintenance operations, for instance to enhance performance or other attributes of the system or to fix newly discovered bugs. For such large software systems, development process also requires reusing existing components which may have been implemented by others. Hence, a comprehensible piece of source code, e.g. one that conveys its message about what it is trying to do easily with understandable and modular implementation, significantly reduces time and effort not only for the implementation phase of the development lifecycle; but also for testing and maintenance phases. In other words, while software decay is inevitable, software comprehension plays a determining role in the total cost and effectiveness of both implementation phase and maintenance phase. Therefore, developers should strive to create software components with modular structure and clearer implementation to reduce the development cost. In this paper, we are interested in finding ways to successfully decompose long methods ( those with poor initial implementation and/or decayed overtime) into smaller, more comprehensible and readable ones. This decomposition process is known as extract method refactoring and helps to reduce the overall cost of development. Most of the existing refactoring tools require users to select the code fragments that need to be extracted. We introduce a novel technique for this refactoring. This technique seeks refactoring opportunities based on variable declarations and uses confining fully extractable code regions without any user intervention. We implemented this technique as an analysis and visualization tool to help a user identify candidate code fragments to be extracted as separate methods. With this automation tool, developers do not have to manually inspect a foreign tr
dc.language.iso en tr
dc.publisher World Scientific Publ tr
dc.title Identification of Extract Method Refactoring Opportunities through Analysis of Variable Declarations and Uses tr
dc.type Article tr
dc.identifier.endpage 69 tr
dc.identifier.issue 1 tr
dc.identifier.startpage 49 tr
dc.identifier.volume 27 tr
dc.source.title International Journal Of Software Engineering And Knowledge Engineering tr


Bu öğenin dosyaları:

Bu öğe aşağıdaki koleksiyon(lar)da görünmektedir.

Basit öğe kaydını göster