Documentation Reuse: Hot or Not? An Empirical Study

被引:10
|
作者
Oumaziz, Mohamed A. [1 ]
Charpentier, Alan [1 ]
Falleri, Jean-Remy [1 ]
Blanc, Xavier [1 ]
机构
[1] Univ Bordeaux, CNRS, Bordeaux INP, LaBRI,UMR 5800, F-33400 Talence, France
关键词
Documentation; Reuse; Empirical study; API DOCUMENTATION; CODE;
D O I
10.1007/978-3-319-56856-0_2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 copypastes 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.
引用
收藏
页码:12 / 27
页数:16
相关论文
共 50 条
  • [1] Refactoring for reuse: an empirical study
    Eman Abdullah Alomar
    Tianjia Wang
    Vaibhavi Raut
    Mohamed Wiem Mkaouer
    Christian Newman
    Ali Ouni
    [J]. Innovations in Systems and Software Engineering, 2022, 18 : 105 - 135
  • [2] Refactoring for reuse: an empirical study
    Alomar, Eman Abdullah
    Wang, Tianjia
    Raut, Vaibhavi
    Mkaouer, Mohamed Wiem
    Newman, Christian
    Ouni, Ali
    [J]. INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2022, 18 (01) : 105 - 135
  • [3] Reuse in the Wild: An Empirical and Ethnographic Study of Organizational Content Reuse
    Mejova, Yelena
    De Schepper, Klaar
    Bergman, Lawrence
    Lu, Jie
    [J]. 29TH ANNUAL CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, 2011, : 2877 - 2886
  • [4] An Empirical Study on Evolution of API Documentation
    Shi, Lin
    Zhong, Hao
    Xie, Tao
    Li, Mingshu
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, 2011, 6603 : 416 - +
  • [5] Literate programming and documentation reuse
    Childs, B
    Sametinger, J
    [J]. FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE REUSE, PROCEEDINGS, 1996, : 205 - 214
  • [6] MANAGING DOCUMENTATION FOR SOFTWARE REUSE
    MILI, H
    GRENIER, M
    [J]. INFORMATION AND DECISION TECHNOLOGIES, 1992, 18 (02): : 115 - 134
  • [7] Reuse strategies in software development: an empirical study
    Pohthong, A
    Budgen, D
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2001, 43 (09) : 561 - 575
  • [8] An empirical study of a software reuse reference model
    Rine, DC
    Nada, N
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2000, 42 (01) : 47 - 65
  • [9] An empirical study of software reuse in reconstructive maintenance
    Li, W
    [J]. JOURNAL OF SOFTWARE MAINTENANCE-RESEARCH AND PRACTICE, 1997, 9 (02): : 69 - 83
  • [10] On fuzzy repetitions detection in documentation reuse
    Luciv, D. V.
    Koznov, D. V.
    Basit, H. A.
    Terekhov, A. N.
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 2016, 42 (04) : 216 - 224