arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.07632cs.SE
收藏

将项目价值观与Source Code相结合以促进项目理解

Integrating Runtime Values with Source Code to Facilitate Program Comprehension

Matúš Sulír

摘要:

源代码固有的抽象性使得程序难以理解。在我们的研究中,我们设计了三种技术,在程序执行过程中利用变量和其他表达式的具体值。RuntimeSearch是一个调试器扩展,在运行时在所有表达式中搜索给定的字符串。DynamiDoc生成包含参数、返回值和状态更改示例的文档语句。RuntimeSamp使用示例变量值在IDE(集成开发环境)中扩充源代码行。在这篇博士后文章中,我们简要介绍了这三种方法和相关的动机研究,调查和评估。我们还反映了博士研究,为当前的学生提供建议。最后,对未来的短期和长期工作进行了描述。

英文摘要:

An inherently abstract nature of source code makes programs difficult to understand. In our research, we designed three techniques utilizing concrete values of variables and other expressions during program execution. RuntimeSearch is a debugger extension searching for a given string in all expressions at runtime. DynamiDoc generates documentation sentences containing examples of arguments, return values and state changes. RuntimeSamp augments source code lines in the IDE (integrated development environment) with sample variable values. In this post-doctoral article, we briefly describe these three approaches and related motivational studies, surveys and evaluations. We also reflect on the PhD study, providing advice for current students. Finally, short-term and long-term future work is described.

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

↑