Sep 2026· Journal of Information Technology and Computer Science· 0 citations
TL;DR
The study demonstrates that metric-based detection can effectively identify maintainability problems in PHP applications and provides a foundation for future PHP-specific threshold development.
Abstract
Software maintainability becomes difficult when object-oriented systems contain God Class code smells, where a single class handles excessive responsibilities and controls large portions of system behavior. Most existing God Class detection approaches use metric thresholds developed for statically typed languages such as Java, which may not accurately represent the architectural characteristics of dynamically typed PHP systems. This problem can reduce software maintainability, increase system complexity, and complicate future development and testing activities. This study applies a quantitative empirical research approach to evaluate metric-based God Class detection in PHP systems. Twelve open-source PHP projects containing 7,866 classes were collected from GitHub and analyzed using the PDepend static analysis tool. The extracted object-oriented metrics included Weighted Methods per Class (WMC), Number of Public Methods (NPM), Depth of Inheritance Tree (DIT), and Lines of Code (LOC). A class was classified as a God Class when at least three out of four threshold values were exceeded. The detection results were validated using statistical analysis, K-Means clustering, machine learning consistency validation, PHPMD comparison, and expert manual validation. The results identified 421 God Classes and showed that WMC, NPM, and LOC are strong indicators of God Class behavior in PHP systems, while DIT has lower influence due to framework-based inheritance structures. The study demonstrates that metric-based detection can effectively identify maintainability problems in PHP applications and provides a foundation for future PHP-specific threshold development.
Software metrics play a central role in assessing and managing the quality of software systems providing quantitative insights into attributes such as complexity, reliability, rigidity, modifiability and maintainability. Among these, maintainability is particularly critical, as it directly influences the ease of system...
Remi M. Yusuf, M. S. Mashuk, Julian M. Bass· Communications of the IIMA· 0 citations
The results strongly support the construct validity of 24 code quality metrics and reveal Coupling and Inheritance are revealed as multidimensional constructs, since they require measuring two different concepts, revealed as sub-categories in the analysis.
Static taint analyzers are widely used in software security, yet aggregate vulnerability-detection metrics provide limited insight into the specific language constructs and analysis capabilities that cause tools to succeed or fail. This paper presents xAST, a fine-grained benchmark containing 844 paired capability case...
Yan-Jie Zhao, Shen-Ao Wang, Jian Zhao et al.· ACM Transactions on Software...· 0 citations
The results suggest that increasing \textit{smell density} was generally associated with lower test-suite-based functional correctness, although non-smelly requirements could still produce faulty code, and motivates further investigation into task-dependent quality effects in LLM-assisted software engineering.
Hugo Villamizar, Jannik Fischbach, Mert Şahin et al.· 0 citations
Existing code analysis systems address individual aspects of software quality (complexity, duplication, style) but do not combine multi-level analysis, metric aggregation, and learning-based inference within a single formal framework, nor do they close the loop between refactoring outcomes and assessment. This paper pr...
Ihor Prokofiev, Oleg Savenko· Automation, Control, and Inf...· 0 citations
This paper focuses on four common smells and considers five prompts of diverse complexity, asking the model for detecting and removing the identified code smells, and suggests that general-purpose LLMs cannot be reliably used for that.
Giorgia Paisi, Francesca Arcelli Fontana, Bartosz Walter· WiPiEC Journal - Works in Pr...· 0 citations
StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.
MIT News · Artificial Intelligence· news.mit.eduOct 6, 2026
Writing as a participant and researcher, PhD student JS Tan SM ’22 has co-authored a new book about the rise of tech worker protests and the employer backlash that followed.
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.