Mehdhar S. A. M. Al-gaashani

An ontology-based approach to reduce the negative impact of code smells in software development projects

  • Authors Details :  
  • Ivian L. Castellano,  
  • Gilberto Fernando Castro Aguilar,  
  • Nemury Silega,  
  • Tahir Kamal,  
  • Mehdhar S. A. M. Al-gaashani,  
  • Nagwan Abdel Samee,  
  • Maali Alabdulhafith

Journal title : IEEE Access

Publisher : Institute of Electrical and Electronics Engineers (IEEE)

Online ISSN : 2169-3536

Page Number : 100146-100153

Journal volume : 11

94 Views Original Article

The quality of software systems may be seriously impacted by specific types of source code anomalies. For example, poor programming practices result in Code Smells (CSs), which are a specific type of source code anomalies. They lead to architectural problems that consequently impact some significant software quality attributes, such as maintainability, portability, and reuse. To reduce the risk of introducing CSs and alleviate their consequences, the knowledge and skills of developers and architects is essential. On the other hand, ontologies, which are an artificial intelligence technique, have been used as a solution to deal with different software engineering challenges. Hence, the aim of this paper is to describe an ontological approach to representing and analyzing code smells. Since ontologies are a formal language based on description logics, this approach may contribute to formally analyzing the information about code smells, for example, to detect inconsistencies or infer new knowledge with the support of a reasoner. In addition, this proposal may support the training of software developers by providing the most relevant information on code smells. This ontology can also be a means of representing the knowledge on CSs from different sources (documents in natural language, relational databases, HTML documents, etc.). Therefore, it could be a valuable knowledge base to support the struggle of software developers and architects either to avoid CSs or to detect and remove them. The ontology was developed following a sound methodology. The well-known tool Protégé was used to manage the ontology and it was validated by using different techniques. An experiment was conducted to demonstrate the applicability of the ontology and evaluate its impact on speeding up the analysis of CSs.

Article DOI & Crossmark Data

DOI : https://doi.org/10.1109/ACCESS.2023.3300575

Article Subject Details


Article Keywords Details



Article File

Full Text PDF


Article References




More Article by Mehdhar S. A. M. Al-Gaashani

Using a resnet50 with a kernel attention mechanism for rice disease diagnosis

The domestication of animals and cultivation of crops have been essential to human development throughout history, with the agricultural sector playing a pivotal role. insufficient...

Tomato leaf disease classification by exploiting transfer learning and feature concatenation

Tomato is one of the most important vegetables worldwide. it is considered a mainstayof many countries’ economies. however, tomato crops are vulnerable to many diseasesthat lead to...

An efficient deep learning approach for colon cancer detection

Colon cancer is the second most common cause of cancer death in women and the third most common cause of cancer death in men. therefore, early detection of this cancer can lead to ...

Classification framework for medical diagnosis of brain tumor with an effective hybrid transfer learning model

Brain tumors (bts) are deadly diseases that can strike people of every age, all over the world. every year, thousands of people die of brain tumors. brain-related diagnoses require...