An Exploratory Study of Code Smells in Web Games
Vartika Agrahari, Sridhar Chimalakonda

TL;DR
This study investigates the presence of bad coding practices, known as code smells, in web games written in JavaScript, revealing the limitations of existing tools and the need for game-specific detection methods.
Contribution
The paper introduces an analysis of code smells in web games and highlights the inadequacy of current tools, emphasizing the necessity for game-specific code smell detection techniques.
Findings
Existing tools are language-specific and insufficient for detecting game-specific anti-patterns.
A dataset of 361 web games was analyzed using JSNose for code smells.
Manual analysis of 9 games revealed limitations of current detection tools.
Abstract
With the continuous growth of the internet market, games are becoming more and more popular worldwide. However, increased market competition for game demands developers to write more efficient games in terms of performance, security, and maintenance. The continuous evolution of software systems and its increasing complexity may result in bad design decisions. Researchers analyzed the cognitive, behavioral and social effects of games. Also, gameplay and game mechanics have been a research area to enhance game playing, but to the extent of our knowledge, there hardly exists any research work that studies the bad coding practices in game development. Hence, through our study, we try to analyze and identify the presence of bad coding practices called code smells that may cause quality issues in games. To accomplish this, we created a dataset of 361 web games written in JavaScript. On this…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Digital Games and Media · Software Engineering Techniques and Practices
