arrow
Return

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

delete2021-05-01
delete15
delete
OA
AI
Z
Zhongxing Yu *
C
Chenggang Bai
L
Lionel Seinturier
M
Martin Monperrus
DOI:10.1109/TSE.2019.2910516delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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.
Keywords:
Annotations
Java
Tools
Libraries
Runtime
Open source software
Annotation
software evolution
empirical study
statistical modelling

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

B
Beihang University
Scholars:
5.2W
Papers: 4.1W
Citations: 37
R
Royal Institute of Technology
Scholars:
1.8W
Papers: 1.8W
Citations: 25
U
universite de lille
Scholars:
2.7W
Papers: 2.0W
Citations: 15
researcher View more organizations