Skip to main content
Article
Inference of development activities from interaction with uninstrumented applications
Empirical Software Engineering
  • Lingfeng BAO, Zhejiang University
  • Zhenchang XING, Australian National University
  • Xin XIA, Zhejiang University
  • David LO, Singapore Management University
  • Ahmed E. HASSAN, Queen's University
Publication Type
Journal Article
Version
acceptedVersion
Publication Date
6-2018
Abstract

Studying developers’ behavior in software development tasks is crucial for designing effective techniques and tools to support developers’ daily work. In modern software development, developers frequently use different applications including IDEs, Web Browsers, documentation software (such as Office Word, Excel, and PDF applications), and other tools to complete their tasks. This creates significant challenges in collecting and analyzing developers’ behavior data. Researchers usually instrument the software tools to log developers’ behavior for further studies. This is feasible for studies on development activities using specific software tools. However, instrumenting all software tools commonly used in real work settings is difficult and requires significant human effort. Furthermore, the collected behavior data consist of low-level and fine-grained event sequences, which must be abstracted into high-level development activities for further analysis. This abstraction is often performed manually or based on simple heuristics. In this paper, we propose an approach to address the above two challenges in collecting and analyzing developers’ behavior data. First, we use our ActivitySpace framework to improve the generalizability of the data collection. ActivitySpace uses operating-system level instrumentation to track developer interactions with a wide range of applications in real work settings. Secondly, we use a machine learning approach to reduce the human effort to abstract low-level behavior data. Specifically, considering the sequential nature of the interaction data, we propose a Condition Random Field (CRF) based approach to segment and label the developers’ low-level actions into a set of basic, yet meaningful development activities. To validate the generalizability of the proposed data collection approach, we deploy the ActivitySpace framework in an industry partner’s company and collect the real working data from ten professional developers’ one-week work in three actual software projects. The experiment with the collected data confirms that with initial human-labeled training data, the CRF model can be trained to infer development activities from low-level actions with reasonable accuracy within and across developers and software projects. This suggests that the machine learning approach is promising in reducing the human efforts required for behavior data analysis.

Keywords
  • Condition Random Field,
  • Developers’ interaction data,
  • Software development
Identifier
10.1007/s10664-017-9547-8
Publisher
Springer Verlag (Germany)
Copyright Owner and License
Authors
Creative Commons License
Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International
Additional URL
https://doi.org/10.1007/s10664-017-9547-8
Citation Information
Lingfeng BAO, Zhenchang XING, Xin XIA, David LO, et al.. "Inference of development activities from interaction with uninstrumented applications" Empirical Software Engineering Vol. 23 Iss. 3 (2018) p. 1313 - 1351 ISSN: 1382-3256
Available at: http://works.bepress.com/david_lo/281/