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.
This research paper seeks to study the status of tourism promotion in Jordan, in particular via the Internet, with a future plan to develop this type of promotion based on the needs of the country .The aim of this research paper is to draw conclusions that help to know and understand this type of tourism promotion, And to know how to develop it in Hashemite Kingdom of Jordan to disseminate the maximum information about the Kingdom. This research paper is designed to determine the conditions of websites used in tourism promotion of Jordan, to find out the obstacles that face this type of promotion via websites, and the factors that affect its development .The findings and recommendations implied by this research paper will be presented to decision-makers in Jordan tourism sector to be taken into account. The research paper adopted carefully a survey form which is designed to collect data and information. It is used to know the trends and opinions of the research paper sample. The results showed that the tourism promotion through the Internet helps to increase competition in the prices of tourism, while the website design helps to spread information about the tourism offers. Both sexes consider that the website design as a means helps to ensure the information veracity of tourism offers. The research paper recommended to continue development of the role of tourism promotion through the Internet in spreading information about the tourism offers, so as to achieve the greatest possible benefits.
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.