摘要
Developers often spend valuable time navigating and seeking relevant code in software maintenance. Currently, there is a lack of theoretical foundations to guide tool design and evaluation to best shape the code base to developers. This paper contributes a unified code navigation theory in light of the optimal food-foraging principles. We further develop a novel framework for automatically assessing the foraging mechanisms in the context of program investigation. We use the framework to examine to what extent the clustering of software entities affects code foraging. Our quantitative analysis of long-lived open-source projects suggests that clustering enriches the software environment and improves foraging efficiency. Our qualitative inquiry reveals concrete insights into real developer's behavior. Our research opens the avenue toward building a new set of ecologically valid code navigation tools.
源语言 | 英语 |
---|---|
文章编号 | 7091880 |
页(从-至) | 1962-1973 |
页数 | 12 |
期刊 | IEEE Transactions on Cybernetics |
卷 | 46 |
期 | 9 |
DOI | |
出版状态 | 已出版 - 9月 2016 |