Inference of development activities from interaction with uninstrumented applications

被引:20
作者
Bao, Lingfeng [1 ]
Xing, Zhenchang [2 ]
Xia, Xin [1 ,3 ]
Lo, David [4 ]
Hassan, Ahmed E. [5 ]
机构
[1] Zhejiang Univ, Coll Comp Sci & Technol, Hangzhou, Zhejiang, Peoples R China
[2] Australian Natl Univ, Res Sch Comp Sci, Canberra, ACT, Australia
[3] Monash Univ, Fac Informat Technol, Melbourne, Vic, Australia
[4] Singapore Management Univ, Sch Informat Syst, Singapore, Singapore
[5] Queens Univ, Sch Comp, Kingston, ON, Canada
关键词
Software development; Developers' interaction data; Condition Random Field;
D O I
10.1007/s10664-017-9547-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:1313 / 1351
页数:39
相关论文
共 51 条
[1]  
[Anonymous], 2008, FUNDAMENTALS SPEECH
[2]  
[Anonymous], 2001, PROC 18 INT C MACH L
[3]  
Anvik J., 2006, P 28 INT C SOFTW ENG, P361, DOI DOI 10.1145/1134285.1134336
[4]   ActivitySpace: A Remembrance Framework to Support Interapplication Information Needs [J].
Bao, Lingfeng ;
Ye, Deheng ;
Xing, Zhenchang ;
Xia, Xin ;
Wang, Xinyu .
2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, :864-869
[5]   Extracting and analyzing time-series HCI data from screen-captured task videos [J].
Bao, Lingfeng ;
Li, Jing ;
Xing, Zhenchang ;
Wang, Xinyu ;
Xia, Xin ;
Zhou, Bo .
EMPIRICAL SOFTWARE ENGINEERING, 2017, 22 (01) :134-174
[6]   Tracking and Analyzing Cross-Cutting Activities in Developers' Daily Work [J].
Bao, Lingfeng ;
Xing, Zhenchang ;
Wang, Xinyu ;
Zhou, Bo .
2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, :277-282
[7]   When, How, and Why Developers (Do Not) Test in Their IDEs [J].
Beller, Moritz ;
Gousios, Georgios ;
Panichella, Annibale ;
Zaidman, Andy .
2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, :179-190
[8]  
Berger AL, 1996, COMPUT LINGUIST, V22, P39
[9]  
Chang T.-H., 2011, P 24 ANN ACM S USER, P245, DOI 10.1145/2047196.2047228
[10]  
Coman I. D., 2009, International Journal of Computers & Applications, V31, P159, DOI 10.2316/Journal.202.2009.3.202-2963