Task Context: A Tool for Predicting Code Context Models for Software Development Tasks.

Yifeng Wang, Yuhang Lin,Zhiyuan Wan,Xiaohu Yang

ICSE Companion(2023)

引用 0|浏览4
暂无评分
摘要
A code context model consists of code elements and their relations relevant to a development task. Previous studies found that the explicit formation of code context models can benefit software development practices, e.g., code navigation and searching. However, little focus has been put on how to proactively form code context models. In this paper, we propose a tool named TASK CONTEXT for predicting code context models and implement it as an Eclipse plug-in. TASK CONTEXT uses the abstract topological patterns of how developers investigate structurally connected code elements when performing tasks. The tool captures the code elements navigated and searched by a developer to construct an initial code context model. The tool then applies abstract topological patterns with the initial code context model as input and recommends code elements up to 3 steps away in the code structure from the initial code context model. The experimental results indicate that our approach can predict code context models effectively, with a significantly higher F-measure than the state-of-the-art (0.57 over 0.23 on average). Furthermore, the user study suggests that our tool can help practitioners complete development tasks faster and more often as compared to standard Eclipse mechanism.
更多
查看译文
关键词
Context Models,Task,Interaction,Context Prediction
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要