Untangling the Spaghetti Code in Game Development: A Review of Challenges and Academic Solutions

📅 2026-09-24
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the pervasive issues of structural disorder, poor maintainability, and frequent defects in game code, for which effective engineering solutions remain lacking. Employing a systematic literature review methodology, this work integrates code smell detection models, automated testing practices, and product line architecture techniques. It provides the first systematic mapping of the short-term development mindset and testing deficiencies unique to game development. By analyzing 34 relevant studies, this research identifies that existing detection and testing approaches have not been widely adopted, revealing a significant disconnect between academic findings and industrial practice along with substantial integration barriers. Ultimately, these insights establish a critical theoretical foundation for improving game software quality.
📝 Abstract
The code quality in the game domain is perceived as less structured and more convoluted than in other domains, which results in lower maintainability and higher bug frequency. In this work, we conduct a systematic literature review to address four main research questions: (1) how the incidence of code smells and technical debt differs in game development compared to other software domains; (2) what academic solutions are proposed to mitigate these code quality issues; (3) whether researchers collaborate effectively with developers to implement these solutions; and (4) if the proposed solutions are sufficient to tackle the diagnosed problems. Thirty-four works were mapped and analyzed. We found that the game domain is affected by a short-term mentality, continuous requirements changes, reduced code reuse, and minimal to no automated testing. As potential solutions, we identified tools and models to detect code smells, along with testing practices and product lines adapted for game development. Although these solutions exist, they are not widely adopted by practitioners, highlighting the need to investigate barriers to their integration.
Problem

Research questions and friction points this paper is trying to address.

game development
code quality
code smells
technical debt
software maintainability
Innovation

Methods, ideas, or system contributions that make the work stand out.

Code Smells
Technical Debt
Game Development
Systematic Literature Review
Software Quality
🔎 Similar Papers
No similar papers found.