2021
DOI: 10.1109/tse.2019.2910516
|View full text |Cite
|
Sign up to set email alerts
|

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 … Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
23
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
6
2

Relationship

0
8

Authors

Journals

citations
Cited by 25 publications
(25 citation statements)
references
References 44 publications
0
23
0
Order By: Relevance
“…Our corpus contains 18,122 large and popular Python projects hosted on GitHub. Our project selection process is inspired from Yu et al [142], who studied the usage of Java annotations in practice. We retrieve all non-forked and non-archived Python repositories whose stargazers counts (that indicate popularity of projects [18,19]) are larger than 50 as of December 31, 2018.…”
Section: Top Rated Python Projectsmentioning
confidence: 99%
“…Our corpus contains 18,122 large and popular Python projects hosted on GitHub. Our project selection process is inspired from Yu et al [142], who studied the usage of Java annotations in practice. We retrieve all non-forked and non-archived Python repositories whose stargazers counts (that indicate popularity of projects [18,19]) are larger than 50 as of December 31, 2018.…”
Section: Top Rated Python Projectsmentioning
confidence: 99%
“…Several other frameworks for testing and mobile development also adopted the metadatabased approach. The wide adoption of code annotations can be confirmed with recent studies investigating the code of several open-source projects [35]- [37].…”
Section: Reflective and Metadata-based Frameworkmentioning
confidence: 71%
“…A recent study performed in Java open source projects [1] identified at least one code annotation in 78% of the classes. Another study demonstrated that code annotations are actively maintained, and most code annotations changes are consistent with other code changes [2]. This evidence suggests that code annotations are a feature that has a non-neglectable impact on software maintenance.…”
Section: Introductionmentioning
confidence: 78%
“…The findings revealed that some annotations were repeated around 100 times in code elements with shared characteristics in the target system. The repetition of annotations is also mentioned in Yu et al [2], but no quantitative evidence was presented.…”
Section: Annotation Assessmentmentioning
confidence: 91%