Code quality improvement using Aquila Optimizer

Author:

Mohamed Amany12ORCID,Salah Marwa23ORCID,Eldefrawi Mai2

Affiliation:

1. Department of Software Engineering, Faculty of Computers and Information Kafrelsheikh University Kafrelsheikh Egypt

2. Department of Information Systems, Faculty of Computers and Artificial Intelligence Helwan University Cairo Egypt

3. Faculty of Informatics and Computer Science British University in Egypt Cairo Egypt

Abstract

AbstractThe software industry always requires high‐quality software. Code quality has been improved via refactoring and re‐refactoring and removing code smells. Refactoring is a technique to improve existing code by modifying inner structure, while code smells are indication that might have a wrong in code that causes a negative impact on the code quality. According to previous studies, the accuracy of code smell detection was not stable and could be improved by advanced algorithms. Additionally, the impact of refactoring on each of the quality attributes is unclear. This research proposes the use of Aquila Optimizer to detect code smells in addition to investigate the refactoring and re‐refactoring impact through ISO 9126 model. The experiment is conducted on five open‐sources Java projects to detect nine code smell types and measure the values of the ISO 9126 before and after the refactoring and re‐refactoring techniques to show the impact on code quality. The results showed that the average of detection accuracy is 95.18% and 95.68% for precision and recall, respectively. Moreover, the results in large projects are better than in the medium projects. The findings also show improvement in the values of the ISO 9126 model after applying refactoring and re‐refactoring.

Publisher

Wiley

Subject

Software

Reference60 articles.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3