Scents in Programs: Does Information Foraging Theory Apply to Program Maintenance?

  • Authors:
  • Joseph Lawrance;Rachel Bellamy;Margaret Burnett

  • Affiliations:
  • Oregon State University, USA;IBM T.J. Watson Research, USA;Oregon State University, USA

  • Venue:
  • VLHCC '07 Proceedings of the IEEE Symposium on Visual Languages and Human-Centric Computing
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

During maintenance, professional developers generate and test many hypotheses about program behavior, but they also spend much of their time navigating among classes and methods. Little is known, however, about how professional developers navigate source code and the extent to which their hypotheses relate to their navigation. A lack of understanding of these issues is a barrier to tools aiming to reduce the large fraction of time developers spend navigating source code. In this paper, we report on a study that makes use of information foraging theory to investigate how professional developers navigate source code during maintenance. Our results showed that information foraging theory was a significant predictor of the developers' maintenance behavior, and suggest how tools used during maintenance can build upon this result, simply by adding word analysis to their reasoning systems.