Premium
GUI code tracing through direct program interaction
Author(s) -
Santos André L.
Publication year - 2014
Publication title -
journal of software: evolution and process
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.371
H-Index - 29
eISSN - 2047-7481
pISSN - 2047-7473
DOI - 10.1002/smr.1650
Subject(s) - computer science , tracing , source code , code (set theory) , kpi driven code analysis , interface (matter) , overhead (engineering) , task (project management) , redundant code , instrumentation (computer programming) , mechanism (biology) , realization (probability) , representation (politics) , programming language , static program analysis , operating system , software , code generation , software development , key (lock) , engineering , systems engineering , philosophy , mathematics , maximum bubble pressure method , bubble , epistemology , statistics , set (abstract data type) , law , political science , politics
ABSTRACT A significant part of a developer's activity is spent on maintenance tasks, which might involve dealing with unfamiliar code. Especially in these cases, a maintenance task is likely to imply a considerable amount of time locating the relevant source code that needs to be changed, a problem often referred to as feature location. This paper proposes a navigation mechanism for tracing user interface elements of a running program to their representation in the source code. The mechanism realization relies on instrumenting the program in order to enable navigation from user interface elements to locations in the source code. We developed a prototype implementation of the proposed mechanism that implies an acceptable instrumentation overhead, suitable for being used on industrial‐scale programs. We performed a user study and observed that the proposed mechanism enables fast code location and that the time spent to accomplish similar tasks does not change significantly as program size increases. Copyright © 2014 John Wiley & Sons, Ltd.