计算机科学 ›› 2023, Vol. 50 ›› Issue (12): 14-23.doi: 10.11896/jsjkx.230300211
续永, 孙龙飞, 张汤浩然, 毛新军
XU Yong, SUN Longfei, ZHANGTANG Haoran, MAO Xinjun
摘要: 软件缺陷标题用简洁的语言描述了软件缺陷的关键信息,有助于软件开发者快速地掌握软件缺陷的梗概,进而高效地开展软件缺陷管理工作。当前诸多软件开发实践中可以发现,软件缺陷标题的质量参差不齐,存在冗长、晦涩、缺乏对关键信息的描述等问题,导致难以阅读和理解,影响了软件缺陷管理的效率和质量。因此有必要深入探究影响软件缺陷标题质量的具体因素以及当前软件缺陷标题的质量情况。文中围绕这两个方面的问题开展了定性和定量相结合的实证研究,选取190个在线文档进行定性分析以获取开发者对缺陷标题质量的需求,基于分析结果采取GQM范式构建了缺陷标题质量度量模型,并以此对GitHub中5个开源项目的1 804个软件缺陷标题进行质量问题普遍性分析。研究结果表明:1)开发者主要关注软件缺陷标题4个方面的质量需求,即简洁(110,58%)、清楚(65,34%)、提供期望信息(157,83%)和提供具体描述(67,35%);2)70%的软件缺陷标题存在不同程度的质量问题。缺乏期望信息和描述不具体是最常见的两类质量问题,42%的软件缺陷标题缺乏期望信息,24%的软件缺陷标题需要补充具体描述。文中的研究发现有助于指导报告者提交高质量的软件缺陷标题。
中图分类号:
[1]CHEN S,XIE X,YIN B,et al.Stay professional and efficient:Automatically generate titles for your bug reports[C]//International Conference on Automated Software Engineering(ASE).2020:385-397. [2]KO A J,MYERS B A,CHAU D H.A linguistic analysis of how people describe software problems[C]//Visual Languages and Human-Centric Computing(VL/HCC'06).2006:127-134. [3]SUREKA A,INDUKURI K V.Linguistic analysis of bug report titles with respect to the dimension of bug importance[C]//The Third Annual ACM Bangalore Conference.2010:1-6. [4]CRUZES D S,DYBA T.Recommended steps for thematic synthesis in software engineering[C]//International Symposium on Empirical Software Engineering and Measurement.2011:275-284. [5]VICTOR C R,GIANLUIGI B,ROMBACH H D.The goal question metric approach[M]//Encyclopedia of Software Enginee-ring.1994:528-532. [6]XU Y.A replication package for Examining the Quality of Bug Report Titles:An Empirical Study[EB/OL].https://doi.org/10.5281/zenodo.7883398. [7]TAN X,ZHOU M.How to communicate when submitting patches:An empirical study of the Linux kernel[J].Human-Computer Interaction,2019,3(CSCW):1-26. [8]TIAN Y,ZHANG Y,STOL K J,et al.What makes a good commit message?[C]//International Conference on Software Engineering.2022:2389-2401. [9]MASON M.Sample size and saturation in PhD studies usingqualitative interviews[C]//Forum:Qualitative Social Research.2010. [10]TJONG KIM SANG E F,DE MEULDER F.Introduction to the CoNLL-2003 Shared Task:Language-Independent Named Entity Recognition[C]//the Seventh Conference on Natural Language Learning at HLT-NAACL 2003.2003:142-147. [11]COHEN J.A coefficient of agreement for nominal scales[J].Educational and Psychological Measurement,1960,20(1):37-46. [12]SOLTANI M,HERMANS F,BÄCK T.The significance of bug report elements[J].Empirical Software Engineering,2020,25(6):5255-5294. [13]YUSOP N S M,GRUNDY J,VASA R.Reporting usability defects:do reporters report what software developers need?[C]//International Conference on Evaluation And Assessment in Software Engineering.2016:1-10. [14]GAROUSI V,ERGEZER E G,HERKILOČLU K.Usage,use-fulness and quality of defect reports:An industrial case study[C]//International Conference on Evaluation and Assessment in Software Engineering.Limerick:ACM,2016:1-6. [15]JOHNSON J,MAHMUD J,WENDLAND T,et al.An empirical investigation into the reproduction of bug reports for android apps[C]//International Conference on Software Analysis,Evolution and Reengineering.IEEE Computer Society,2022. |
|