arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.10363cs.SEcs.PL
收藏

通过源文件覆盖实现IDE无关的程序理解工具

IDE-Independent Program Comprehension Tools via Source File Overwriting

Matúš Sulír, Jaroslav Porubän, Ondrej Zoričák

摘要:

传统上,我们有两种可能性来设计用于程序理解和分析的工具。第一个选择是创建一个独立的程序,独立于任何源代码编辑器。这样,源代码编辑的行为就与查看代码分析结果的行为分离了。第二种选择是为特定的IDE(集成开发环境)创建插件-在这种情况下,必须为每个IDE创建单独的版本。我们提出了一种方法,其中有关源代码元素的信息直接写入源文件作为注释或特殊注释。在提交到版本控制系统之前,注释将从源代码中删除,以避免代码污染。我们简要评估的方法,并描绘其局限性。

英文摘要:

Traditionally, we have two possibilities to design tools for program comprehension and analysis. The first option is to create a standalone program, independent of any source code editor. This way, the act of source code editing is separated from the act of viewing the code analysis results. The second option is to create a plugin for a specific IDE (integrated development environment) - in this case, a separate version must be created for each IDE. We propose an approach where information about source code elements is written directly into source files as annotations or special comments. Before committing to a version control system, the annotations are removed from the source code to avoid code pollution. We briefly evaluate the approach and delineate its limitations.

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

↑