Evaluating classifiers in SE research: the ECSER pipeline and two replication studies

Author:

Dell’Anna DavideORCID,Aydemir Fatma Başak,Dalpiaz Fabiano

Abstract

Abstract Context Automated classifiers, often based on machine learning (ML), are increasingly used in software engineering (SE) for labelling previously unseen SE data. Researchers have proposed automated classifiers that predict if a code chunk is a clone, if a requirement is functional or non-functional, if the outcome of a test case is non-deterministic, etc. Objective The lack of guidelines for applying and reporting classification techniques for SE research leads to studies in which important research steps may be skipped, key findings might not be identified and shared, and the readers may find reported results (e.g., precision or recall above 90%) that are not a credible representation of the performance in operational contexts. The goal of this paper is to advance ML4SE research by proposing rigorous ways of conducting and reporting research. Results We introduce the ECSER (Evaluating Classifiers in Software Engineering Research) pipeline, which includes a series of steps for conducting and evaluating automated classification research in SE. Then, we conduct two replication studies where we apply ECSER to recent research in requirements engineering and in software testing. Conclusions In addition to demonstrating the applicability of the pipeline, the replication studies demonstrate ECSER’s usefulness: not only do we confirm and strengthen some findings identified by the original authors, but we also discover additional ones. Some of these findings contradict the original ones.

Funder

Türkiye Bilimsel ve Teknolojik Araştirma Kurumu

Publisher

Springer Science and Business Media LLC

Subject

Software

Reference85 articles.

1. Abadi M, Agarwal A, Barham P, Brevdo E, Chen Z, Citro C, Corrado G S, Davis A, Dean J, Devin M, Ghemawat S, Goodfellow I, Harp A, Irving G, Isard M, Jia Y, Jozefowicz R, Kaiser L, Kudlur M, Levenberg J, Mané D, Monga R, Moore S, Murray D, Olah C, Schuster M, Shlens J, Steiner B, Sutskever I, Talwar K, Tucker P, Vanhoucke V, Vasudevan V, Viégas F, Vinyals O, Warden P, Wattenberg M, Wicke M, Yu Y, Zheng X (2015) Tensorflow: large-scale machine learning on heterogeneous systems. https://www.tensorflow.org/. Software available from tensorflow.org

2. Adams N M, Hand D J (2000) Improving the practice of classifier performance assessment. Neural Comput 12(2):305–311

3. Agrawal A, Menzies T (2018) Is “better data” better than “better data miners”?. In: IEEE/ACM international conference on software engineering, pp 1050–1061

4. Agrawal A, Yang X, Agrawal R, Yedida R, Shen X, Menzies T (2021) Simpler hyperparameter optimization for software analytics: why, how, when. IEEE Trans Softw Eng 48:2939–2954

5. Alonso-Betanzos A, Bolón-Canedo V, Heyndrickx G R, Kerkhof P L (2015) Exploring guidelines for classification of major heart failure subtypes by using machine learning. Clin Med Insights: Cardiol 9:CMC–s18746

Cited by 9 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. From Specifications to Prompts: On the Future of Generative Large Language Models in Requirements Engineering;IEEE Software;2024-09

2. Requirements Classification for Traceability Link Recovery;2024 IEEE 32nd International Requirements Engineering Conference (RE);2024-06-24

3. Deriving Domain Models From User Stories: Human vs. Machines;2024 IEEE 32nd International Requirements Engineering Conference (RE);2024-06-24

4. 230,439 Test Failures Later: An Empirical Evaluation of Flaky Failure Classifiers;2024 IEEE Conference on Software Testing, Verification and Validation (ICST);2024-05-27

5. Enhancing Software Requirements Classification with Semisupervised GAN‐BERT Technique;Journal of Electrical and Computer Engineering;2024-01

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3