Raters’ reliability in clone benchmarks construction - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Empirical Software Engineering Année : 2017

Raters’ reliability in clone benchmarks construction

Résumé

Cloned code often complicates code maintenance and evolution and must therefore be effectively detected. One of the biggest challenges for clone detectors is to reduce the amount of irrelevant clones they found, called false positives. Several benchmarks of true and false positive clones have been introduced, enabling tool developers to compare, assess and fine-tune their tools. Manual inspection of clone candidates is performed by raters that do not have expertise on the underlying code. This way of building benchmarks might be unreliable when considering context-dependent clones i.e., clones valid for a specific purpose. Our goal is to investigate the reliability of rater judgments about context-dependent clones. We randomly select about 600 clones from two projects and ask several raters, including experts of the projects, to manually classify these clones. We observe that judgments of non expert raters are not always repeatable. We also observe that they seldomly agree with each others and with the expert. Finally, we find that the project and the fact that a clone is a true or false positive might have an influence on the agreement between the expert and non experts. Therefore, using non experts to produce clone benchmarks could be unreliable.
Fichier principal
Vignette du fichier
main.pdf (270.07 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02182070 , version 1 (10-01-2020)

Identifiants

Citer

Alan Charpentier, Jean-Rémy Falleri, Floréal Morandat, Elyas Ben Hadj Yahia, Laurent Réveillère. Raters’ reliability in clone benchmarks construction. Empirical Software Engineering, 2017, 22 (1), pp.235-258. ⟨10.1007/s10664-015-9419-z⟩. ⟨hal-02182070⟩

Collections

CNRS
204 Consultations
102 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More