ESEIW 2022
Sun 18 - Fri 23 September 2022 Helsinki, Finland
Thu 22 Sep 2022 11:00 - 11:20 at Sonck - Session 1B - Testing & Security Chair(s): Guilherme Horta Travassos

Background. Test-Driven Development (TDD) is an agile software development practice, which encourages developers to write “quick-and-dirty” production code to make tests pass, and then apply refactoring to “clean” written code. However, previous studies have found that refactoring is not applied as often as the TDD process requires, potentially affecting software quality.

Aims. We investigated the benefits of leveraging a Static Analysis Tool (SAT) — plugged-in the Integrated Development Environment (IDE) — on software quality, when applying TDD.

Method. We conducted two controlled experiments, in which the participants — 92, in total — performed an implementation task by applying TDD with or without a SAT highlighting the presence of code smells in their source code. We then analyzed the effect of the used SAT on software quality.

Results. We found that, overall, the use of a SAT helped the participants to significantly improve software quality, yet the participants perceived TDD more difficult to be performed.

Conclusions. The obtained results may impact: (i) practitioners, helping them improve their TDD practice through the adoption of proper settings and tools; (ii) educators, in better introducing TDD within their courses; and (iii) researchers, interested in developing better tool support for developers, or further studying TDD.

Thu 22 Sep

Displayed time zone: Athens change

11:00 - 12:30
Session 1B - Testing & SecurityESEM Technical Papers at Sonck
Chair(s): Guilherme Horta Travassos Federal University of Rio de Janeiro
11:00
20m
Full-paper
Do Static Analysis Tools Affect Software Quality when Using Test-driven Development?
ESEM Technical Papers
Simone Romano University of Salerno, Fiorella Zampetti University of Sannio, Italy, Maria Teresa Baldassarre Department of Computer Science, University of Bari , Massimiliano Di Penta University of Sannio, Italy, Giuseppe Scanniello University of Salerno
11:20
20m
Full-paper
Understanding the Implementation of Technical Measures in the Process of Data Privacy Compliance: A Qualitative Study
ESEM Technical Papers
Oleksandra Klymenko Technical University of Munich, Oleksandr Kosenkov fortiss GmbH, Stephen Meisenbacher Technical University of Munich, Parisa Elahidoost fortiss GmbH, Daniel Mendez Blekinge Institute of Technology, Florian Matthes Technical University of Munich
11:40
20m
Full-paper
Does Collaborative Editing Help Mitigate Security Vulnerabilities in Crowd-Shared IoT Code Examples?
ESEM Technical Papers
Madhu Selvaraj University of Calgary, Gias Uddin University of Calgary, Canada
12:00
20m
Full-paper
An Exploratory Study on Regression Vulnerabilities
ESEM Technical Papers
Larissa Braz University of Zurich, Enrico Fregnan University of Zurich, Vivek Arora Independent Researcher, Alberto Bacchelli University of Zurich
Pre-print Media Attached