Locating User Interface Concepts in Source Code

Authors Matúš Sulír, Jaroslav Porubän

Thumbnail PDF


  • Filesize: 423 kB
  • 9 pages

Document Identifiers

Author Details

Matúš Sulír
Jaroslav Porubän

Cite AsGet BibTex

Matúš Sulír and Jaroslav Porubän. Locating User Interface Concepts in Source Code. In 5th Symposium on Languages, Applications and Technologies (SLATE'16). Open Access Series in Informatics (OASIcs), Volume 51, pp. 6:1-6:9, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2016)


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.
  • Source code
  • graphical user interfaces
  • feature location


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. Michaela Bačíková, Jaroslav Porubän, and Dominik Lakatoš. Defining domain language of graphical user interfaces. In José Paulo Leal, Ricardo Rocha, and Alberto Simões, editors, 2nd Symposium on Languages, Applications and Technologies, volume 29 of OpenAccess Series in Informatics (OASIcs), pages 187-202, Dagstuhl, Germany, 2013. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. URL: http://dx.doi.org/10.4230/OASIcs.SLATE.2013.187.
  2. Ted J. Biggerstaff, Bharat G. Mitbander, and Dallas Webster. The concept assignment problem in program understanding. In Proceedings of the 15th International Conference on Software Engineering, ICSE'93, pages 482-498, Los Alamitos, CA, USA, 1993. IEEE Computer Society Press. URL: http://dl.acm.org/citation.cfm?id=257572.257679.
  3. Nuno Ramos Carvalho, José João Almeida, Pedro Rangel Henriques, and Maria João Varanda Pereira. Conclave: Ontology-driven measurement of semantic relatedness between source code elements and problem domain concepts. In Computational Science and Its Applications - ICCSA 2014, pages 116-131. Springer International Publishing, 2014. URL: http://dx.doi.org/10.1007/978-3-319-09153-2_9.
  4. Kostadin Damevski, David Shepherd, and Lori Pollock. A field study of how developers locate features in source code. Empirical Software Engineering, 21(2):724-747, 2016. URL: http://dx.doi.org/10.1007/s10664-015-9373-9.
  5. Bogdan Dit, Meghan Revelle, Malcom Gethers, and Denys Poshyvanyk. Feature location in source code: a taxonomy and survey. Journal of Software: Evolution and Process, 25(1):53-95, 2013. URL: http://dx.doi.org/10.1002/smr.567.
  6. Gordon Fraser and Andrea Arcuri. A large-scale evaluation of automated unit test generation using EvoSuite. ACM Trans. Softw. Eng. Methodol., 24(2):8:1-8:42, December 2014. URL: http://dx.doi.org/10.1145/2685612.
  7. Tomaž Kosar, Nuno Oliveira, Marjan Mernik, Maria João Varanda Pereira, Matej Črepinšek, Daniela da Cruz, and Pedro Rangel Henriques. Comparing general-purpose and domain-specific languages: An empirical study. Computer Science and Information Systems, 7(2):247-264, April 2010. URL: http://dx.doi.org/10.2298/CSIS1002247K.
  8. Walid Maalej, Rebecca Tiarks, Tobias Roehm, and Rainer Koschke. On the comprehension of program comprehension. ACM Trans. Softw. Eng. Methodol., 23(4):31:1-31:37, September 2014. URL: http://dx.doi.org/10.1145/2622669.
  9. Andrian Marcus, Andrey Sergeyev, Václav Rajlich, and Jonathan I. Maletic. An information retrieval approach to concept location in source code. In Reverse Engineering, 2004. Proceedings. 11th Working Conference on, pages 214-223, Nov 2004. URL: http://dx.doi.org/10.1109/WCRE.2004.10.
  10. Atif Memon, Ishan Banerjee, and Adithya Nagarajan. GUI ripping: reverse engineering of graphical user interfaces for testing. In Reverse Engineering, 2003. WCRE 2003. Proceedings. 10th Working Conference on, pages 260-269, Nov 2003. URL: http://dx.doi.org/10.1109/WCRE.2003.1287256.
  11. Ali Mesbah, Arie van Deursen, and Stefan Lenselink. Crawling AJAX-based Web applications through dynamic analysis of user interface state changes. ACM Trans. Web, 6(1):3:1-3:30, March 2012. URL: http://dx.doi.org/10.1145/2109205.2109208.
  12. Bao N. Nguyen, Bryan Robbins, Ishan Banerjee, and Atif Memon. GUITAR: an innovative tool for automated testing of GUI-driven software. Automated Software Engineering, 21(1):65-105, 2013. URL: http://dx.doi.org/10.1007/s10515-013-0128-9.
  13. Per Runeson and Martin Höst. Guidelines for conducting and reporting case study research in software engineering. Empirical Software Engineering, 14(2):131-164, 2009. URL: http://dx.doi.org/10.1007/s10664-008-9102-8.
  14. André L. Santos. GUI-driven code tracing. In Visual Languages and Human-Centric Computing (VL/HCC), 2012 IEEE Symposium on, pages 111-118, Sept 2012. URL: http://dx.doi.org/10.1109/VLHCC.2012.6344495.
  15. Andrew Sutherland and Kevin Schneider. UI traces: Supporting the maintenance of interactive software. In Software Maintenance, 2009. ICSM 2009. IEEE International Conference on, pages 563-566, Sept 2009. URL: http://dx.doi.org/10.1109/ICSM.2009.5306389.
  16. Peter Václavík, Jaroslav Porubän, and Marek Mezei. Automatic derivation of domain terms and concept location based on the analysis of the identifiers. Acta Universitatis Sapientiae. Informatica, 2(1):40-50, 2010. URL: http://www.acta.sapientia.ro/acta-info/C2-1/info21-4.pdf.