Skip to Main content Skip to Navigation
Journal articles

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

Abstract : 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.
Complete list of metadata

Cited literature [55 references]  Display  Hide  Download

https://hal.inria.fr/hal-02091516
Contributor : Zhongxing Yu <>
Submitted on : Friday, April 5, 2019 - 5:49:39 PM
Last modification on : Thursday, June 17, 2021 - 9:50:14 PM
Long-term archiving on: : Saturday, July 6, 2019 - 3:49:00 PM

File

TSE_HAL.pdf
Files produced by the author(s)

Identifiers

Citation

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

Share

Metrics