title: A Clustering-Based Approach to Enriching Code Foraging Environment.
abstract: 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.
authors.forename: Nan
authors.initials: N
authors.lastname: Niu
authors.forename: Xiaoyu
authors.initials: X
authors.lastname: Jin
authors.forename: Zhendong
authors.initials: Z
authors.lastname: Niu
authors.forename: Jing-Ru C
authors.initials: JR
authors.lastname: Cheng
authors.forename: Ling
authors.initials: L
authors.lastname: Li
authors.forename: Mikhail Yu
authors.initials: MY
authors.lastname: Kataev