arrow
返回

Investigating developers' perception on software testability and its effects

delete2023-09-13
delete5
PRE
AI
T
Tushar Sharma *
S
Stefanos Georgiou
M
Maria Kechagia
T
Taher A. Ghaleb
F
Federica Sarro
DOI:10.1007/s10664-023-10373-0delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The opinions and perspectives of software developers are highly regarded in software engineering research. The experience and knowledge of software practitioners are frequently sought to validate assumptions and evaluate software engineering tools, techniques, and methods. However, experimental evidence may unveil further or different insights, and in some cases even contradict developers' perspectives. In this work, we investigate the correlation between software developers' perspectives and experimental evidence about testability smells (i.e., programming practices that may reduce the testability of a software system). Specifically, we first elicit opinions and perspectives of software developers through a questionnaire survey on a catalog of four testability smells, we curated for this work. We also extend our tool DesigniteJava to automatically detect these smells in order to gather empirical evidence on testability smells. To this end we conduct a large-scale empirical study on 1, 115 Java repositories containing approximately 46 million lines of code to investigate the relationship of testability smells with test quality, number of tests, and reported bugs. Our results show that testability smells do not correlate with test smells at the class granularity or with test suit size. Furthermore, we do not find a causal relationship between testability smells and bugs. Moreover, our results highlight that the empirical evidence does not match developers' perspective on testability smells. Thus, suggesting that despite developers' invaluable experience, their opinions and perspectives might need to be complemented with empirical evidence before bringing it into practice. This further confirms the importance of data-driven software engineering, which advocates the need and value of ensuring that all design and development decisions are supported by data.
Keyword:
Software testability
Software test quality
Testability smells
Developers' opinions and perspectives
Software quality

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

U
University College London
学者数:
7.9W
论文数: 6.2W
被引数: 15.7W
D
Dalhousie University
学者数:
2.0W
论文数: 1.8W
被引数: 2.3W
U
university of london
学者数:
21.5W
论文数: 19.7W
被引数: 305
U
University of Ottawa
学者数:
3.5W
论文数: 3.1W
被引数: 3.8W
学者 查看更多机构
引用论文

引用论文

Radiation-induced Chromosomal Aberrations in Mouse 10T1/2 Cells: Dependence on the Cell-cycle Stage at the Time of Irradiation
err2009-07-03
err0
PREAI
errM. Durante; G. Gialanella; G.F. Grossi; M. Nappo; M. Pugliese; D. Bettega; P. Calzolari; G. Noris Chiorda; A. Ottolenghi; L. Tallone-lombardi
err分享
err收藏
Patient Contact Time and Prehospital Interventions in Hypotensive Trauma Patients: Should We Reconsider the “ABC” Algorithm When Time Is of the Essence?
err2020-08-07
err0
PREAI
errScott Ninokawa; Jessica Friedman; Danielle Tatum; Alison Smith; Sharven Taghavi; Patrick McGrew; Juan Duchesne
err分享
err收藏
Emergent Network Topology within the Respiratory Rhythm-Generating Kernel Evolved In Silico
err2016-05-06
err0
errOAAI
errAmit Lal; Yoshitaka Oku; Hiroshi Someya; Fumikazu Miwakeichi; Yoshiyasu Tamura
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容