Cargando…
Visualizing software refactoring using radar charts
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...
Autores principales: | , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Nature Publishing Group UK
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10636095/ https://www.ncbi.nlm.nih.gov/pubmed/37945685 http://dx.doi.org/10.1038/s41598-023-44281-6 |
_version_ | 1785133138602622976 |
---|---|
author | Al-Ghuwairi, Abdel-Rahman Al-Fraihat, Dimah Sharrab, Yousef Alrashidi, Huda Almujally, Nouf Kittaneh, Ahmed Ali, Ahmed |
author_facet | Al-Ghuwairi, Abdel-Rahman Al-Fraihat, Dimah Sharrab, Yousef Alrashidi, Huda Almujally, Nouf Kittaneh, Ahmed Ali, Ahmed |
author_sort | Al-Ghuwairi, Abdel-Rahman |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-10636095 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Nature Publishing Group UK |
record_format | MEDLINE/PubMed |
spelling | pubmed-106360952023-11-11 Visualizing software refactoring using radar charts Al-Ghuwairi, Abdel-Rahman Al-Fraihat, Dimah Sharrab, Yousef Alrashidi, Huda Almujally, Nouf Kittaneh, Ahmed Ali, Ahmed Sci Rep Article 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. Nature Publishing Group UK 2023-11-09 /pmc/articles/PMC10636095/ /pubmed/37945685 http://dx.doi.org/10.1038/s41598-023-44281-6 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Al-Ghuwairi, Abdel-Rahman Al-Fraihat, Dimah Sharrab, Yousef Alrashidi, Huda Almujally, Nouf Kittaneh, Ahmed Ali, Ahmed Visualizing software refactoring using radar charts |
title | Visualizing software refactoring using radar charts |
title_full | Visualizing software refactoring using radar charts |
title_fullStr | Visualizing software refactoring using radar charts |
title_full_unstemmed | Visualizing software refactoring using radar charts |
title_short | Visualizing software refactoring using radar charts |
title_sort | visualizing software refactoring using radar charts |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10636095/ https://www.ncbi.nlm.nih.gov/pubmed/37945685 http://dx.doi.org/10.1038/s41598-023-44281-6 |
work_keys_str_mv | AT alghuwairiabdelrahman visualizingsoftwarerefactoringusingradarcharts AT alfraihatdimah visualizingsoftwarerefactoringusingradarcharts AT sharrabyousef visualizingsoftwarerefactoringusingradarcharts AT alrashidihuda visualizingsoftwarerefactoringusingradarcharts AT almujallynouf visualizingsoftwarerefactoringusingradarcharts AT kittanehahmed visualizingsoftwarerefactoringusingradarcharts AT aliahmed visualizingsoftwarerefactoringusingradarcharts |