paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Are existing code smells relevant in web games? an empirical study

现有代码异味在网页游戏中是否相关?一项实证研究
FSE Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2019匹配度 1/10 · 该论文是网页游戏代码异味的实证研究,虽使用静态分析工具 JSNose,但研究场景(JavaScript 网页游戏)和问题(游戏特有异味检测)与用户关注的 ML/Agentic 程序分析、浮点程序分析、贝叶斯程序分析及其 LLM 交叉方向均无直接关联。引用 9 inbox
Vaishali Khanve
crossref: 2026-09-12

AI 速览

一句话:对 361 款 JavaScript 网页游戏进行实证分析,发现现有代码异味检测工具不足以识别游戏特有异味。

代码异味通常被视为开发过程中引入的不良编程实践,其在游戏中的存在可能对游戏开发产生负面影响。本文初步研究旨在调查网页游戏中代码异味的实际存在情况。作者使用 JavaScript 代码异味检测工具 JSNose,对 361 款 JavaScript 网页游戏进行检测,以发现常见 JavaScript 异味的出现;随后又对 8 款网页游戏开展人工分析,检查其是否违反已知的游戏编程模式,以验证构建游戏专用代码异味检测工具的必要性。结果表明,现有 JavaScript 代码异味检测工具不足以发现网页游戏中的游戏特有代码异味,因此需要面向游戏领域的专门检测方法。

问题
游戏开发中可能引入代码异味并产生负面影响,但现有研究尚不清楚这些异味在网页游戏中的实际存在情况及其是否具有领域特异性。
方法
使用 JSNose 检测 361 款 JavaScript 网页游戏的代码异味,并人工检查 8 款游戏中游戏编程模式的违反情况。
评估
通过检测结果统计与人工模式违反分析,评估现有 JavaScript 代码异味检测工具对游戏特有异味的识别充分性。
原文摘要(Abstract)

In software applications, code smells are considered as bad coding practices acquired at the time of development. The presence of such code smells in games may affect the process of game development adversely. Our preliminary study aims at investigating the existence of code smells in the games. To achieve this, we used JavaScript code smells detection tool JSNose against 361 JavaScript web games to find occurrences of JavaScript smells in games. Further, we conducted a manual study to find violations of known game programming patterns in 8 web games to verify the necessity of game-specific code smells detection tool. Our results shows that existing JavaScript code smells detection tool is not sufficient to find game-specific code smells in web games.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5110,
  title = {Are existing code smells relevant in web games? an empirical study},
  author = {Vaishali Khanve},
  booktitle = {FSE},
  year = {2019},
  doi = {10.1145/3338906.3342504}
}