KAKhalid Alkharabsheh

Khalid Alkharabsheh

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Khalid Alkharabsheh has a total of 28 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    An Explainable Deep Learning Approach for Distinguishing Cyber Attacks and Sensor Faults in Critical IoT Systems

    by Nabeel I. Zanoon, Abdullah Odeh Al-Zaghameem, Khalid Alkharabsheh

    The increasing rate of cyber-attacks in critical Internet of Things (IoT) systems requires robust and interpretable detection systems. In this paper, an interpretable deep learning approach has been introduced to detect various types of cyber-attacks and distinguish them from sensor faults. The proposed model uses Convolutional Neural Networks-Bidirectional Long Short-Term Memory (CNN-BiLSTM) to extract features. The attention mechanism has also been employed to improve the interpretability of the model. In addition, the SHAP approach has been used to interpret the model’s predictions by measuring the contribution of features. The performance of the model has been evaluated using the TON_IoT dataset with an accuracy of 97.3% for multi-class classification and 94.25% for binary classification. The results show that the proposed approach offers high detection accuracy and interpretability of the results.

  • Open Access

    An artificial intelligence approach to smart exam supervision using YOLOv5 and siamese network

    by Nabeel I. Zanoon, Abdullah A. Alhaj, Khalid Alkharabsheh

    Artificial intelligence has introduced revolutionary and innovative solutions to many complex problems by automating processes or tasks that used to require human power. The limited capabilities of human efforts in real-time monitoring have led to artificial intelligence becoming increasingly popular. Artificial intelligence helps develop the monitoring process by analysing data and extracting accurate results. Artificial intelligence is also capable of providing surveillance cameras with a digital brain that analyses images and live video clips without human intervention. Deep learning models can be applied to digital images to identify and classify objects accurately. Object detection algorithms are based on deep learning algorithms in artificial intelligence. Using the deep learning algorithm, object detection is achieved with high accuracy. In this paper, a combined model of the YOLOv5 model and network Siames technology is proposed, in which the YOLOv5 algorithm detects cheating tools in classrooms, such as a cell phone or a book, in such away that the algorithm detects the student as an object and cannot recognize his face. Using the Siames network, we compare the student’s face against the data base of students in order to identify the student with cheating tools.


  • Open Access

    Exploring the role of project status information in effective code smell detection

    by Khalid Alkharabsheh, Sadi Alawadi, Yania Crespo, José A. Taboada

    Repairing code smells detected in the code or design of the system is one of the activities contributing to increasing the software quality. In this study, we investigate the impact of non-numerical information of software, such as project status information combined with machine learning techniques, on improving code smell detection. For this purpose, we constructed a dataset consisting of 22 systems with various project statuses, 12,040 classes, and 18 features that included 1935 large classes. A set of experiments was conducted with ten different machine learning techniques by dividing the dataset into training, validation, and testing sets to detect the large class code smell. Feature selection and data balancing techniques have been applied. The classifier’s performance was evaluated using six indicators: precision, recall, F-measure, MCC, ROC area, and Kappa tests. The preliminary experimental results reveal that feature selection and data balancing have poor influence on the accuracy of machine learning classifiers. Moreover, they vary their behavior when utilized in sets with different values for the selected project status information of their classes. The average value of classifiers performance when fed with status information is better than without. The Random Forest achieved the best behavior according to all performance indicators (100%) with status information, while AdaBoostM1 and SMO achieved the worst in most of them (> 86%). According to the findings of this study, providing machine learning techniques with project status information about the classes to be analyzed can improve the results of large class detection.


  • Open Access

    FedCSD: A Federated Learning Based Approach for Code-Smell Detection

    by Sadi Alawadi, Khalid Alkharabsheh, Fahed Alkhabbas, Victor Kebande, Feras M. Awaysheh, Fabio Palomba, Mohammed Awad

    This paper proposes a Federated Learning Code Smell Detection (FedCSD) approach that allows organizations to collaboratively train federated ML models while preserving their data privacy. These assertions have been supported by three experiments that have significantly leveraged three manually validated datasets aimed at detecting and examining different code smell scenarios. In experiment 1, which was concerned with a centralized training experiment, dataset two achieved the lowest accuracy (92.30%) with fewer smells, while datasets one and three achieved the highest accuracy with a slight difference (98.90% and 99.5%, respectively). This was followed by experiment 2, which was concerned with cross-evaluation, where each ML model was trained using one dataset, which was then evaluated over the other two datasets. Results from this experiment show a significant drop in the model's accuracy (lowest accuracy: 63.80\%) where fewer smells exist in the training dataset, which has a noticeable reflection (technical debt) on the model's performance. Finally, the last and third experiments evaluate our approach by splitting the dataset into 10 companies. The ML model was trained on the company's site, then all model-updated weights were transferred to the server. Ultimately, an accuracy of 98.34% was achieved by the global model that has been trained using 10 companies for 100 training rounds. The results reveal a slight difference in the global model's accuracy compared to the highest accuracy of the centralized model, which can be ignored in favour of the global model's comprehensive knowledge, lower training cost, preservation of data privacy, and avoidance of the technical debt problem.

  • Open Access

    FedCSD: A Federated Learning Based Approach for Code-Smell Detection

    by Sadi Alawadi, Khalid Alkharabsheh, Fahed Alkhabbas, Victor R. Kebande, Feras M. Awaysheh, Fabio Palomba, Mohammed Awad

    Software quality is critical, as low quality, or "Code smell," increases technical debt and maintenance costs. There is a timely need for a collaborative model that detects and manages code smells by learning from diverse and distributed data sources while respecting privacy and providing a scalable solution for continuously integrating new patterns and practices in code quality management. However, the current literature is still missing such capabilities. This paper addresses the previous challenges by proposing a Federated Learning Code Smell Detection (FedCSD) approach, specifically targeting "God Class," to enable organizations to train distributed ML models while safeguarding data privacy collaboratively. We conduct experiments using manually validated datasets to detect and analyze code smell scenarios to validate our approach. Experiment 1, a centralized training experiment, revealed varying accuracies across datasets, with dataset two achieving the lowest accuracy (92.30%) and datasets one and three achieving the highest (98.90% and 99.5%, respectively). Experiment 2, focusing on cross-evaluation, showed a significant drop in accuracy (lowest: 63.80%) when fewer smells were present in the training dataset, reflecting technical debt. Experiment 3 involved splitting the dataset across 10 companies, resulting in a global model accuracy of 98.34%, comparable to the centralized model’s highest accuracy. The application of federated ML techniques demonstrates promising performance improvements in code-smell detection, benefiting both software developers and researchers.


  • Open Access

    Analysing Agreement Among Different Evaluators in God Class and Feature Envy Detection

    by Khalid Alkharabsheh, Sadi Alawadi, Yania Crespo, M. Esperanza Manso, Jose A. Taboada Gonzalez

    The automatic detection of Design Smells has evolved in parallel to the evolution of automatic refactoring tools. There was a huge rise in research activity regarding Design Smell detection from 2010 to the present. However, it should be noted that the adoption of Design Smell detection in real software development practice is not comparable to the adoption of automatic refactoring tools. On the basis of the assumption that it is the objectiveness of a refactoring operation as opposed to the subjectivity in definition and identification of Design Smells that makes the difference, in this paper, the lack of agreement between different evaluators when detecting Design Smells is empirically studied. To do so, a series of experiments and studies were designed and conducted to analyse the concordance in Design Smell detection of different persons and tools, including a comparison between them. This work focuses on two well known Design Smells: God Class and Feature Envy. Concordance analysis is based on the Kappa statistic for inter-rater agreement (particularly Kappa-Fleiss). The results obtained show that there is no agreement in detection in general, and, in those cases where a certain agreement appears, it is considered to be a fair or poor degree of agreement, according to a Kappa-Fleiss interpretation scale. This seems to confirm that there is a subjective component which makes the raters evaluate the presence of Design Smells differently. The study also raises the question of a lack of training and experience regarding Design Smells.


  • Exploratory study of the impact of project domain and size category on the detection of the God class design smell

    by Khalid Alkharabsheh, Yania Crespo, Manuel Fernández-Delgado, José R. Viqueira, José A. Taboada


  • Assessing the Influence of Size Category of the Project in God Class Detection, an Experimental Approach based on Machine Learning

    by Khalid Alkharabsheh, Yania Crespo, Manuel Fernandez-Delgado, José M. Cotos, Jose Angel Taboada


  • Software Design Smell Detection: a systematic mapping study

    by Khalid Alkharabsheh, Yania Crespo, Esperanza Manso, José A. Taboada