Università della Svizzera italiana

RepliComment : Identifying clones in code comments

Blasi, Arianna ; Stulova, Nataliia ; Gorla, Alessandra ; Nierstrasz, Oscar

In: Journal of systems and software, 2021, vol. 182, p. 14

Code comments are the primary means to document implementation and facilitate program comprehension. Thus, their quality should be a primary concern to improve program maintenance. While much effort has been dedicated to detecting bad smells, such as clones in code, little work has focused on comments. In this paper we present our solution to detect clones in comments that developers should...

Università della Svizzera italiana

MeMo : automatically identifying metamorphic relations in Javadoc comments for test automation

Blasi, Arianna ; Gorla, Alessandra ; Ernst, Michael D. ; Pezzè, Mauro ; Carzaniga, Antonio

In: Journal of systems and software, 2021, vol. 181, p. 13

Software testing depends on effective oracles. Implicit oracles, such as checks for program crashes, are widely applicable but narrow in scope. Oracles based on formal specifications can reveal applicationspecific failures, but specifications are expensive to obtain and maintain. Metamorphic oracles are somewhere in-between. They test equivalence among different procedures to detect semantic...

Consortium of Swiss Academic Libraries

Healing Web applications through automatic workarounds

Carzaniga, Antonio ; Gorla, Alessandra ; Pezzè, Mauro

In: International Journal on Software Tools for Technology Transfer, 2008, vol. 10, no. 6, p. 493-502

Università della Svizzera italiana

An empirical evaluation of data flow testing of Java classes

Giovanni Denaro ; Gorla, Alessandra ; Pezzè, Mauro

This paper tackles the problem of structural integration testing of stateful classes. Previous work on structural testing of object-oriented software exploits data flow analysis to derive test requirements for class testing and defines contextual def-use associations to characterize inter-method relations. Non-contextual data flow testing of classes works well for unit testing, but not for...