Having available a high quality documentation is critical for software projects. This is why documentation tools such as Javadoc are so popular. As for code, documentation should be reused when possible to increase developer productivity and simplify maintenance. In this paper, we perform an empirical study of duplications in JavaDoc documentation on a corpus of seven famous Java APIs. Our results show that copy-pastes of JavaDoc documentation tags are abundant in our corpus. We also show that these copy-pastes are caused by four different kinds of relations in the underlying source code. In addition, we show that popular documentation tools do not provide any reuse mechanism to cope with these relations. Finally, we make a proposal for a simple but efficient automatic reuse mechanism.
CITATION STYLE
Oumaziz, M. A., Charpentier, A., Falleri, J. R., & Blanc, X. (2017). Documentation reuse: Hot or not? an empirical study. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 10221 LNCS, pp. 12–27). Springer Verlag. https://doi.org/10.1007/978-3-319-56856-0_2
Mendeley helps you to discover research relevant for your work.