arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2107.08344cs.SE
收藏

IDEAL:一个开源标识符名称评估工具

IDEAL: An Open-Source Identifier Name Appraisal Tool

Anthony Peruma, Venera Arnaoudova, Christian D. Newman

摘要:

开发人员必须理解他们将维护的代码,这意味着代码必须是易读的和合理的自我描述。不幸的是,仍然缺乏支持开发人员理解其命名实践的研究和工具;他们选择的名称是否有意义,是否一致,以及是否传达了所需的信息。在本文中,我们提出了IDEAL,一个工具,将提供反馈给开发人员有关他们的标识符命名的做法。在其计划的功能,它将支持语言反模式检测,这是本文将讨论的。IDEAL旨在并将在不久的将来扩展到包括更多的反模式、命名结构和实践。IDEAL是开源的,可公开获取,演示视频可在https://youtu.be/fVoOYGe50zg上获取

英文摘要:

Developers must comprehend the code they will maintain, meaning that the code must be legible and reasonably self-descriptive. Unfortunately, there is still a lack of research and tooling that supports developers in understanding their naming practices; whether the names they choose make sense, whether they are consistent, and whether they convey the information required of them. In this paper, we present IDEAL, a tool that will provide feedback to developers about their identifier naming practices. Among its planned features, it will support linguistic anti-pattern detection, which is what will be discussed in this paper. IDEAL is designed to, and will, be extended to cover further anti-patterns, naming structures, and practices in the near future. IDEAL is open-source and publicly available, with a demo video available at: https://youtu.be/fVoOYGe50zg

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑