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

Code Compass:关于在不熟悉代码库中导航的挑战研究

Code Compass: A Study on the Challenges of Navigating Unfamiliar Codebases

Ekansh Agrawal, Omair Alam, Chetan Goenka, Medha Iyer, Isabela Moise, Ashish Pandian, Bren Paul

AI总结:

本研究针对工程师调试陌生代码库时难以结合文档理解程序的问题,提出 IDE 集成工具 CodeCompass,通过上下文建议与可视化减少文档导航时间并提升任务完成率。

摘要:

在我们的研究中,我们调查了软件工程师在程序理解过程中面临的挑战,尤其是在调试不熟悉的代码库时。我们提出了一种名为 CodeCompass 的新型工具来解决这些问题。我们的研究强调了当前工具和方法中的显著差距,特别是开发者在代码探索过程中有效利用文档所遇到的困难。CodeCompass 通过将文档无缝集成到 IDE 中来应对这些挑战,提供上下文感知的建议和可视化,从而简化调试过程。我们的形成性研究表明,该工具有效减少了开发者在文档导航上花费的时间,从而提高了代码理解能力和任务完成率。未来的工作将专注于自动化代码库标注过程、创建沙箱任务以及提供动态支持。这些创新有可能通过提升程序理解工具的可访问性和效率来变革软件开发实践。

英文摘要:

In our research, we investigate the challenges that software engineers face during program comprehension, particularly when debugging unfamiliar codebases. We propose a novel tool, CodeCompass, to address these issues. Our study highlights a significant gap in current tools and methodologies, especially the difficulty developers encounter in effectively utilizing documentation alongside code exploration. CodeCompass tackles these challenges by seamlessly integrating documentation within the IDE, offering context-aware suggestions and visualizations that streamline the debugging process. Our formative study demonstrates how effectively the tool reduces the time developers spend navigating documentation, thereby enhancing code comprehension and task completion rates. Future work will focus on automating the process of annotating codebases, creating sandbox tasks, and providing dynamic support. These innovations could potentially transform software development practices by improving the accessibility and efficiency of program comprehension tools.

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

↑