期刊文献+

Automatic test report augmentation to assist crowdsourced testing 被引量:2

原文传递
导出
摘要 In crowdsourced mobile application testing, workers are often inexperienced in and unfamiliar with software testing. Meanwhile, workers edit test reports in descriptive natural language on mobile devices. Thus, these test reports generally lack important details and challenge developers in understanding the bugs. To improve the quality of inspected test reports, we issue a new problem of test report augmentation by leveraging the additional useful information contained in duplicate test reports. In this paper, we propose a new framework named test report augmentation framework (TRAF) towards resolving the problem. First, natural language processing (NLP) techniques are adopted to preprocess the crowdsourced test reports. Then, three strategies are proposed to augment the environments, inputs, and descriptions of the inspected test reports, respectively. Finally, we visualize the augmented test reports to help developers distinguish the added information. To evaluate TRAF, we conduct experiments over five industrial datasets with 757 crowdsourced test reports. Experimental results show that TRAF can recommend relevant inputs to augment the inspected test reports with 98.49% in terms of NDCG and 88.65% in terms of precision on average, and identify valuable sentences from the descriptions of duplicates to augment the inspected test reports with 83.58% in terms of precision, 77.76% in terms of recall, and 78.72% in terms of F-measure on average. Meanwhile, empirical evaluation also demonstrates that augmented test reports can help developers understand and fix bugs better.
出处 《Frontiers of Computer Science》 SCIE EI CSCD 2019年第5期943-959,共17页 中国计算机科学前沿(英文版)
基金 This work was partially supported by the National Natural Science Foundation of China (Grant Nos. 61370144, 61722202, 61403057, and 61772107) Jiangsu Prospective Project of Industry- University-Research (BY2015069-03) Besides, the authors would thank the three graduate students who devote their efforts for the data annotation.
  • 相关文献

参考文献1

二级参考文献39

  • 1Haiduc S, Aponte J, MorcnqaL, Marcus A. On the use of automated textsummarization techniques for summarizing source code. In: Proceed- ings of the 17th Working Conference on Reverse Engineering. 2010, 35--44.
  • 2CutreU E, Guan Z W. What are you looking for?: an eye-tracking study of information usage in Web search. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems. 2007, 407-416.
  • 3Y'mg A T T, Robillard M P. Code fragment summarization. In: Pro- ceedings of the 9th Joint Meeting on Foundations of Software Engi- neering. 2013, 655-658.
  • 4Haidue S, Aponte 1, Marcus A. Supporting program comprehen- sion with source code summarization. In: Proceedings of the 32rid ACM/IEEE International Conference on Software Engineering. 2010, 223-226.
  • 5Eddy B P, Robinson J A, Kraft N A, Carver J C. Evaluating source code summarization techniques: replication and expansion. In: Proceedings of the 21 st IEEE International Conference on Program Comprehension. 2013, 13-22.
  • 6Moreno L, Aponte J. On the analysis of human and automatic sum- maries of source code. CLEI Electronic Journal, 2012, 15(2): 2.
  • 7Rastkar S, Murphy G C, Bradley A W J. Generating natural language summaries for crosscuO.ing source code concerns. In: Proceedings of the 27th IEEE International Conference on Software Maintenance. 2011, 103-112.
  • 8Moreno L, Aponte J, Sridhara G, Marcus A, Pollock L, Vijay-Shanker K. Automatic generation of natural language summaries for Java classes. In: Proceedings of the 21st IEEE International Conference on Program Comprehension. 2013, 23-32.
  • 9Moreno L, Marcus A, Pollock L, Vijay-Shanker K. JSummarizer: an automatic generator of natural language summaries for Java classes. In: Proceedings of the 21st IEEE International Conference on Program Comprehension. 2013, 230-232.
  • 10Sridham G, Hill E, Muppaneni D, Pollock L, Vijay-Shanker K. To- wards automatically generating summary comments for Java methods. In: Proceedings of the 25th IEEE/ACM International Conference on Automated Software Engineering. 2010, 43-52.

共引文献4

引证文献2

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部