How the Experience of Development Teams Relates to Assertion Density of Test Classes

Conference Paper (2019)
Author(s)

Gemma Catolino (TU Delft - Electrical Engineering, Mathematics and Computer Science, University of Salerno)

Fabio Palomba (TU Delft - Electrical Engineering, Mathematics and Computer Science, Universitat Zurich)

Andy Zaidman (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Filomena Ferrucci (University of Salerno)

Research Group
Software Engineering
DOI related publication
https://doi.org/10.1109/ICSME.2019.00034 Final published version
More Info
expand_more
Publication Year
2019
Language
English
Research Group
Software Engineering
Article number
8919174
Pages (from-to)
223-234
ISBN (electronic)
9781728130941
Event
2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019 (2019-09-30 - 2019-10-04), Cleveland, United States
Downloads counter
337
Collections
Institutional Repository
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

The impact of developers' experience on several development practices has been widely investigated in the past. One of the most promising research fields is software testing, as many researchers found significant correlations between developers' experience and testing effectiveness. In this paper, we aim at further studying this relation, by focusing on how development teams' experience is associated with the assertion density, i.e., the number of assertions per test class KLOC, that has previously been shown as an effective way to decrease fault density. We perform a mixed-methods empirical study. First, we devise a statistical model relating development teams' experience and other control factors to the assertion density of test classes belonging to 12 software projects. This model enables us to investigate whether experience comes out as a statistically significant factor to explain assertion density. Second, we contrast the statistical findings with a survey study conducted with 57 developers, who were asked their opinions on how developer's experience is related to the way they add assertions in test code. Our findings suggest the existence of a relationship: On the one hand, the development team's experience is a statistically significant factor in most of the systems that we have investigated; on the other hand, developers confirm the importance of experience and team composition for the effective testing of production code.

Files

08919174.pdf
(pdf | 0.6 Mb)
- Embargo expired in 01-07-2022
License info not available