MATHEMATICAL MODELS FOR DETERMINING THE COMPLEXITY OF OBJECT-ORIENTED DESIGN DUE TO THE RELATIONSHIPS BETWEEN CLASSES OF OPEN-SOURCE WEB APPLICATIONS CREATED USING PHP FRAMEWORKS
DOI:
https://doi.org/10.32782/mathematical-modelling/2025-8-1-17Keywords:
mathematical model, prediction ellipse, complexity, object-oriented design, relationships between classes, web application, normalizing transformation, Box-Cox transformationAbstract
The problem of determining the object-oriented design complexity of the open-source software, including Web applications created using the PHP frameworks, is important because nowadays open-source software is growing in popularity and using the PHP frameworks making application development faster. The object of the study is the process of determining the object-oriented design complexity due to the relationships between classes of the open-source web applications created using the PHP frameworks. The subject of the study is the mathematical models to determine the object-oriented design complexity due to the relationships between classes of the open-source web applications created using the PHP frameworks. The goal of the work is the build two mathematical models for determining the object-oriented design complexity due to the relationships between classes of the open-source web applications created using the PHP frameworks based on the two-variate Box-Cox normalizing transformation to increase confidence in evaluating the object-oriented design complexity of these apps.To determine the object-oriented design complexity due to the relationships between classes of open-source web applications created using PHP frameworks, two mathematical models in the form of a prediction ellipse were constructed based on the two-variate Box-Cox transformation for the normalized metrics RFC (the Response for Class) and CBO (Coupling Between Objects). The maximum likelihood method is used to compute the parameter estimates of the two-variate Box-Cox transformation. The above models are built using two test statistics based on the quantiles of the Chi-square distribution and the F-distribution, respectively. To build these mathematical models using the PhpMetrics tool (https://phpmetrics.org/), we obtained data from metrics for 125 open-source web applications created using five well-known PHP frameworks: CakePHP, Laravel, Symfony, CodeIgniter, and Yii. These applications are hosted on GitHub. The results of determining the complexity of object-oriented design due to the relationships between classes of open-source web applications created using PHP frameworks were compared.
References
Madaehoh A., Senivongse T. OSS-AQM: An open-source software quality model for automated quality measurement. Data and Software Engineering (ICoDSE) : proceedings of the 2022 International Conference. Denpasar, Indonesia: IEEE, 2022. P. 126–131. https://doi.org/10.1109/ICoDSE56892.2022.9972135
Chidamber S.R., Kemerer C.F. A metrics suite for object-oriented design. IEEE Transactions on Software Engineering. 1994. Vol. 20, № 6. P. 476–493. https://doi.org/10.1109/32.295895
Prykhodko S., Prykhodko N., Smykodub T. A joint statistical estimation of the RFC and CBO metrics for open-source applications developed in Java. Computer Sciences and Information Technologies (CSIT) : proceedings of the 2022 IEEE 17th International Conference. Lviv, Ukraine: IEEE, 2022. P. 442–445. https://doi.org/10.1109/CSIT56902.2022.10000457
Chidamber S.R., Kemerer C.F. Towards a metrics suite for object oriented design. ACM SIGPLAN Notices. 1991. Vol. 26, Issue 11. P. 197–211. https://doi.org/10.1145/118014.117970
Molnar A.J., Neamţu A., Motogna S. Evaluation of software product quality metrics. in E. Damiani, G. Spanoudakis, L. Maciaszek. Eds. Evaluation of Novel Approaches to Software Engineering. ENASE 2019. Communications in Computer and Information Science. 2020. Vol. 1172. P. 163–187. https://doi.org/10.1007/978-3-030-40223-5_8
Wikantyasa I.M.A., Kurniawan A.P., Rochimah S. CK metric and architecture smells relations: Towards software quality assurance. Information & Communication Technology and System (ICTS) : proceedings of 14th International Conference. Surabaya, Indonesia: IEEE, 2023. P. 13–17. https://doi.org/10.1109/ICTS58770.2023.10330874
Prykhodko S. Evaluating quality of software systems by the confidence and prediction intervals of regressions for RFC, CBO, and WMC metrics. WSEAS Transactions on Systems. 2024. Vol. 23. P. 322–330. https://doi.org/10.37394/23202.2024.23.36
Levasseur M., Badri M. Prioritizing unit tests using object-oriented metrics, centrality measures, and machine learning algorithms. Innovations in Systems and Software Engineering. 2024. https://doi.org/10.1007/s11334-024-00550-9
Khan S.A., Khan R.A. Object oriented design complexity quantification model. Procedia Technology. 2012. Vol. 4. P. 548–554. https://doi.org/10.1016/j.protcy.2012.05.087
Navas-Su J., Gonzalez-Torres A., Hernandez-Vasquez M. et al. A metrics suite for measuring indirect coupling complexity. Programming and Computer Software. 2023. Vol. 49, Issue 8. P. 735–761. https://doi.org/10.1134/S0361768823080157
Prykhodko A.S., Malakhov E.V. Determining object-oriented design complexity due to the identification of classes of open-source web applications created using PHP frameworks. Radio Electronics, Computer Science, Control. 2024. Vol. 69, № 2. P. 160–166. https://doi.org/10.15588/1607-3274-2024-2-16
Приходько С.Б., Кольцов А.В., Грабінський М.Р. Математична модель для визначення складності об’єктно орієнтованого проєктування через зв’язки між класами застосунків з відкритим кодом на Kotlin. Інформаційні технології: моделі, алгоритми, системи (ITMAS-2023) : матеріали ІV-ї Всеукраїнської науково-практичної інтернет конференції, 30–31 жовтня 2023 р. Миколаїв : НУК імені адмірала Макарова, 2023. C. 38–39. URL: https://itconf.nuos.edu.ua/2023/proceedings/.






