Write a Blog >>
MSR 2019
Sun 26 - Mon 27 May 2019 Montreal, QC, Canada
co-located with ICSE 2019
Mon 27 May 2019 11:15 - 11:30 at Centre-Ville - Session VI: Software Quality (part 1) Chair(s): Fabio Palomba

Test smells are, analogously to code smells, defined as the characteristics exhibited by poorly designed unit tests. Their negative impact on test effectiveness, understanding, and maintenance has been demonstrated by several empirical studies. However, the scope of these studies has been limited mostly to Java in combination with the JUnit testing framework. Results for other language and framework combinations are —despite their prevalence in practice— few and far between, which might skew our understanding of test smells. The combination of Scala and ScalaTest, for instance, offers more comprehensive means for defining and reusing test fixtures, thereby possibly reducing the diffusion and perception of fixture-related test smells. This paper therefore reports on two empirical studies conducted for this combination. In the first study, we analyse the tests of 164 open-source Scala projects hosted on Github for the diffusion of test smells. This required the transposition of their original definition to this new context, and the implementation of a tool (SoCRATES) for their automated detection. In the second study, we assess the perception and the ability of 14 Scala developers to identify test smells. For this context, our results show (i) that test smells have a low diffusion across test classes, (ii) that the most frequently occurring test smells are Lazy Test, Eager Test, and Assertion Roulette, and (iii) that many developers were able to perceive but not to identify the smells.

Mon 27 May

Displayed time zone: Eastern Time (US & Canada) change

11:00 - 11:45
Session VI: Software Quality (part 1)MSR 2019 Technical Papers at Centre-Ville
Chair(s): Fabio Palomba University of Zurich
11:00
15m
Full-paper
The Rise of Android Code Smells: Who Is to Blame?
MSR 2019 Technical Papers
Sarra Habchi University of Lille, Romain Rouvoy University Lille 1 and INRIA, Naouel Moha University of Montreal
11:15
15m
Full-paper
Assessing Diffusion and Perception of Test Smells in Scala Projects
MSR 2019 Technical Papers
Jonas De Bleser Sofware Languages Lab, Vrije Universiteit Brussel, Dario Di Nucci Vrije Universiteit Brussel, Coen De Roover Vrije Universiteit Brussel
Pre-print
11:30
15m
Full-paper
style-analyzer: fixing code style inconsistencies with interpretable unsupervised algorithms
MSR 2019 Technical Papers
Pre-print