An adaptive model for software code quality assessment in refactoring tasks based on fuzzy logic

dc.contributor.authorLiubarskyi, Sergii
dc.contributor.authorYanko, Alina
dc.contributor.authorZdorenko, Yurii
dc.contributor.authorKhudayarov, Bakhtiyar
dc.date.accessioned2026-02-23T08:24:24Z
dc.date.issued2026
dc.description.abstractThe scientific novelty of the research lies in the development of a hybrid adaptive model for software code quality assessment. Unlike existing models, this one is based on fuzzy logic and an ANFIS, which combines expert knowledge with automated training on real data to enhance the objectivity and efficiency of the refactoring process. The proposed ANFIS architecture with trapezoidal membership functions is used to process eight key code smell metrics (WMC, DIT, RFC, LCOM, NOA, NOC, CBO, FANOUT) within the context of Takagi-Sugeno fuzzy inference. This provides a flexible, interpretable, and adaptive assessment of code quality with the ability to automatically tune model parameters based on gradient learning, which significantly increases the accuracy of code quality determination and the model's suitability for various technology stacks and projects. The practical significance of the research lies in the direct implementability and integration of the developed hybrid adaptive model for software code quality assessment into existing static analysis tools and DevOps processes, specifically as plugins for Continuous Integration/Continuous Delivery (CI/CD) systems. This will enable automated, objective, and adaptive monitoring of code quality in real time. In addition, the model has significant potential for extension to various programming languages and technology stacks by analyzing large datasets from open-source repositories, which will enhance its universality and accuracy. A promising direction for future work is to improve the ANFIS architecture by incorporating deep learning methods, which would allow for the automatic detection of new code smells and their interdependencies. The development of interpretable mechanisms to explain the model's decisions will increase developer trust in the system and promote its widespread adoption in both industrial software development and educational processes in software engineering and cybersecurity.
dc.description.abstractЗа результатами проведеного дослідження розроблено гібридну адаптивну модель оцінки якості програмного коду на основі нечіткої логіки та адаптивної нейро-нечіткої системи виведення ANFIS, що дозволяє автоматизовано, об’єктивно та гнучко оцінювати якість програмного коду в задачах рефакторингу. Модель використовує вісім ключових code smells-метрик (WMC, DIT, RFC, LCOM, NOA, NOC, CBO, FANOUT). Їх нормалізація та обробка здійснюється за допомогою нечіткої логіки на основі алгоритму Такагі-Сугено. Це забезпечує врахування невизначеності та суб’єктивності експертних оцінок. Архітектура ANFIS дозволяє моделі навчатися на реальних даних з подальшим автоматичним налаштуванням параметрів функцій приналежності та вагових коефіцієнтів правил. Саме це надає змогу адаптуватися до різних технологічних стеків та проєктів. Використання трапецієподібних функцій приналежності підвищує точність моделювання критичних зон code smells, а гібридний алгоритм навчання на основі градієнтного спуску забезпечує високу точність визначення якості коду, що в підсумку сприяє підвищенню ефективності, підтримуваності, розширюваності та безпеки програмного забезпечення.
dc.identifier.citationLiubarskyi S., Yanko A., Zdorenko Y., Khudayarov B. An adaptive model for software code quality assessment in refactoring tasks based on fuzzy logic. Сучасні інформаційні системи. 2026. Т. 10, № 1. С. 83-93.
dc.identifier.doihttps://doi.org/10.20998/2522-9052.2026.1.10
dc.identifier.orcidhttps://orcid.org/0000-0001-8068-1106
dc.identifier.orcidhttps://orcid.org/0000-0003-2876-9316
dc.identifier.orcidhttps://orcid.org/0000-0002-5649-771X
dc.identifier.orcidhttps://orcid.org/0000-0002-2876-8447
dc.identifier.urihttps://repository.kpi.kharkov.ua/handle/KhPI-Press/98970
dc.language.isoen
dc.publisherНаціональний технічний університет "Харківський політехнічний інститут"
dc.subjectrefactoring
dc.subjectcode smells
dc.subjectfuzzy logic
dc.subjectANFIS
dc.subjectsoftware code quality
dc.subjectsoftware cybersecurity
dc.subjectartificial intelligence
dc.subjectрефакторинг
dc.subjectcode smells
dc.subjectнечітка логіка
dc.subjectякість програмного коду
dc.subjectкібербезпека програмного забезпечення
dc.subjectштучний інтелект
dc.titleAn adaptive model for software code quality assessment in refactoring tasks based on fuzzy logic
dc.title.alternativeАдаптивна модель оцінки якості програмного коду в задачах рефакторингу на основі fuzzy-логіки
dc.typeArticle

Файли

Контейнер файлів

Зараз показуємо 1 - 1 з 1
Вантажиться...
Ескіз
Назва:
AIS_2026_10_1_Liubarskyi_Adaptive_model.pdf
Розмір:
540.31 KB
Формат:
Adobe Portable Document Format

Ліцензійна угода

Зараз показуємо 1 - 1 з 1
Вантажиться...
Ескіз
Назва:
license.txt
Розмір:
11.15 KB
Формат:
Item-specific license agreed upon to submission
Опис: