Automatic juxtaposition of source files

Previous research has found that programmers spend a significant fraction of their time navigating between different source code locations and that much of that time is spent returning to previously viewed code. Other work has identified the ability to juxtapose arbitrary pieces of code as cognitive...

Full description

Bibliographic Details
Main Author: Davis, Samuel
Language:English
Published: University of British Columbia 2008
Subjects:
Online Access:http://hdl.handle.net/2429/1607
id ndltd-LACETR-oai-collectionscanada.gc.ca-BVAU.2429-1607
record_format oai_dc
spelling ndltd-LACETR-oai-collectionscanada.gc.ca-BVAU.2429-16072014-03-26T03:35:21Z Automatic juxtaposition of source files Davis, Samuel Large displays Task context Mylyn Program navigation Fisheye view Concerns Modularizing view Previous research has found that programmers spend a significant fraction of their time navigating between different source code locations and that much of that time is spent returning to previously viewed code. Other work has identified the ability to juxtapose arbitrary pieces of code as cognitively important. However, modern IDEs have inherited a user interface design in which, usually, only one source file is displayed at a time, with the result that users must switch back and forth from one file to another. Taking advantage of the increasing availability of large displays, we propose a new interaction paradigm in which an IDE presents parts of multiple source files side by side, using the Mylyn degree-of-interest function to dynamically allocate screen space to them on the basis of degree-of-interest to the current development task. We demonstrate the feasibility of this paradigm with a prototype implementation built on the Eclipse IDE and note that it was used by the author over a period of months in the development of the prototype itself. Additionally, we present two case studies which quantify the potential reduction in navigation and demonstrate the simplicity of the approach and its ability to capture complete concerns on screen. These case studies suggest that the approach has the potential to reduce the time that programmers spend navigating by as much as 50%. 2008-09-02T17:24:09Z 2008-09-02T17:24:09Z 2008 2008-09-02T17:24:09Z 2008-11 Electronic Thesis or Dissertation http://hdl.handle.net/2429/1607 eng University of British Columbia
collection NDLTD
language English
sources NDLTD
topic Large displays
Task context
Mylyn
Program navigation
Fisheye view
Concerns
Modularizing view
spellingShingle Large displays
Task context
Mylyn
Program navigation
Fisheye view
Concerns
Modularizing view
Davis, Samuel
Automatic juxtaposition of source files
description Previous research has found that programmers spend a significant fraction of their time navigating between different source code locations and that much of that time is spent returning to previously viewed code. Other work has identified the ability to juxtapose arbitrary pieces of code as cognitively important. However, modern IDEs have inherited a user interface design in which, usually, only one source file is displayed at a time, with the result that users must switch back and forth from one file to another. Taking advantage of the increasing availability of large displays, we propose a new interaction paradigm in which an IDE presents parts of multiple source files side by side, using the Mylyn degree-of-interest function to dynamically allocate screen space to them on the basis of degree-of-interest to the current development task. We demonstrate the feasibility of this paradigm with a prototype implementation built on the Eclipse IDE and note that it was used by the author over a period of months in the development of the prototype itself. Additionally, we present two case studies which quantify the potential reduction in navigation and demonstrate the simplicity of the approach and its ability to capture complete concerns on screen. These case studies suggest that the approach has the potential to reduce the time that programmers spend navigating by as much as 50%.
author Davis, Samuel
author_facet Davis, Samuel
author_sort Davis, Samuel
title Automatic juxtaposition of source files
title_short Automatic juxtaposition of source files
title_full Automatic juxtaposition of source files
title_fullStr Automatic juxtaposition of source files
title_full_unstemmed Automatic juxtaposition of source files
title_sort automatic juxtaposition of source files
publisher University of British Columbia
publishDate 2008
url http://hdl.handle.net/2429/1607
work_keys_str_mv AT davissamuel automaticjuxtapositionofsourcefiles
_version_ 1716654778471153664