Developers often start their work by exploring a graphical user interface (GUI) of a program. They spot a textual label of interest in the GUI and try to find it in the source code, as a straightforward way of feature location. We performed a study on four Java applications, asking a simple question: Are strings displayed in the GUI of a running program present in its source code? We came to a conclusion that the majority of strings are present there; they occur mainly in Java and "properties" files.
@InProceedings{sulir_et_al:OASIcs.SLATE.2016.6, author = {Sul{\'\i}r, Mat\'{u}\v{s} and Porub\"{a}n, Jaroslav}, title = {{Locating User Interface Concepts in Source Code}}, booktitle = {5th Symposium on Languages, Applications and Technologies (SLATE'16)}, pages = {6:1--6:9}, series = {Open Access Series in Informatics (OASIcs)}, ISBN = {978-3-95977-006-4}, ISSN = {2190-6807}, year = {2016}, volume = {51}, editor = {Mernik, Marjan and Leal, Jos\'{e} Paulo and Gon\c{c}alo Oliveira, Hugo}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.SLATE.2016.6}, URN = {urn:nbn:de:0030-drops-60110}, doi = {10.4230/OASIcs.SLATE.2016.6}, annote = {Keywords: Source code, graphical user interfaces, feature location} }
Feedback for Dagstuhl Publishing