Characterizing the Usage, Evolution and Impact of Java Annotations in Practice - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Article Dans Une Revue IEEE Transactions on Software Engineering Année : 2021

Characterizing the Usage, Evolution and Impact of Java Annotations in Practice

Résumé

Annotations have been formally introduced into Java since Java 5. Since then, annotations have been widely used by the Java community for different purposes, such as compiler guidance and runtime processing. Despite the ever-growing use, there is still limited empirical knowledge about the actual usage of annotations in practice, the changes made to annotations during software evolution, and the potential impact of annotations on code quality. To fill this gap, we perform the first large-scale empirical study about Java annotations on 1,094 notable open-source projects hosted on GitHub. Our study systematically investigates annotation usage, annotation evolution, and annotation impact, and generates 10 novel and important findings. We also present the implications of our findings, which shed light for developers, researchers, tool builders, and language or library designers in order to improve all facets of Java annotation engineering.
Fichier principal
Vignette du fichier
TSE_HAL.pdf (324.78 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02091516 , version 1 (05-04-2019)

Identifiants

Citer

Zhongxing Yu, Chenggang Bai, Lionel Seinturier, Martin Monperrus. Characterizing the Usage, Evolution and Impact of Java Annotations in Practice. IEEE Transactions on Software Engineering, In press, 47 (5), pp.969-986. ⟨10.1109/TSE.2019.2910516⟩. ⟨hal-02091516⟩
242 Consultations
2816 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More