Visualizing software refactoring using radar charts.

Sci Rep

Department of Software Engineering, Faculty of Prince Al-Hussien Bin Abdallah II for Information Technology, The Hashemite University, Zarqa, Jordan.

Published: November 2023

Refactoring tools have advanced greatly and are being used in many large projects. As a result, a great deal of information is now available about past refactoring and its effects on the source code. However, when multiple refactoring is performed at once, it becomes more difficult to analyze their impact. Refactoring visualization can help developers create more maintainable code that is easier to understand and modify over time. Although there is an increasing interest in visualizing code changes in software engineering research, there has been relatively little research on visualizing the process of refactoring. In this paper, we propose a Radar Chart Refactoring Visualization (RcRV) approach to visualize software refactoring of source code across multiple software releases. Radar charts are a form of 2D visualization that can show multiple variables on a single chart. The RcRv receives input from developers or through refactoring identification tools, such as Ref-Finder, to generate charts. The generated charts can show the changes made during the refactoring process, highlighting areas of the trend of refactoring over evolution for multiple refactoring, multiple methods, and multiple classes. The evaluation study conducted to assess the usefulness of the RcRV tool has shown that the proposed tool is useful to developers, appealing, and easy to use. The proposed method of visualization can be beneficial for developers and maintainers to detect design violations and potential bugs in the code, thus saving time and effort during the development and maintenance process. Therefore, this research presents a significant contribution to the software engineering field by providing developers with an efficient tool to enhance code quality and maintainability.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC10636095PMC
http://dx.doi.org/10.1038/s41598-023-44281-6DOI Listing

Publication Analysis

Top Keywords

refactoring
12
software refactoring
8
radar charts
8
source code
8
code multiple
8
multiple refactoring
8
refactoring visualization
8
software engineering
8
code
6
multiple
6

Similar Publications

NRPS-like Gene Contributed to the Biosynthesis of Cyclo(Pro-Val) in a Multistress-Tolerant Aromatic Probiotic, GXDK6.

J Agric Food Chem

December 2024

State Key Laboratory for Conservation and Utilization of Subtropical Agro-bioresources, College of Life Science and Technology, Guangxi University, Nanning 530004, China.

Cyclo(Pro-Val) is a diketopiperazine (DKP) found widespread in marine microbes and resulting food products. With new bioactivities of cyclo(Pro-Val) being continually discovered, its potential applications in agriculture and food are becoming more evident, highlighting the need for efficient and practical methods to produce these compounds. However, the biosynthesis mechanisms of cyclo(Pro-Val), particularly in probiotics, remain unclear, and the functional identification of nonribosomal peptide synthases (NRPS) is still limited.

View Article and Find Full Text PDF

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!