DocumentCode
3722969
Title
How do Developers Document Database Usages in Source Code? (N)
Author
Linares-V?squez;Boyang Li;Christopher Vendome;Denys Poshyvanyk
Author_Institution
Coll. of William &
fYear
2015
Firstpage
36
Lastpage
41
Abstract
Database-centric applications (DCAs) usually contain a large number of tables, attributes, and constraints describing the underlying data model. Understanding how database tables and attributes are used in the source code along with the constraints related to these usages is an important component of DCA maintenance. However, documenting database-related operations and their constraints in the source code is neither easy nor common in practice. In this paper, we present a two-fold empirical study aimed at identifying how developers document database usages at source code method level. In particular, (i) we surveyed open source developers to understand their practices on documenting database usages in source code, and (ii) we mined a large set of open source projects to measure to what extent database-related methods are commented and if these comments are updated during evolution. Although 58% of the developers claimed to find value in method comments describing database usages, our findings suggest that 77% of 33K+ methods in 3.1K+ open-source Java projects with database accesses were completely undocumented.
Keywords
"Databases","Documentation","Java","Data mining","Electronic mail","Software","Data models"
Publisher
ieee
Conference_Titel
Automated Software Engineering (ASE), 2015 30th IEEE/ACM International Conference on
Type
conf
DOI
10.1109/ASE.2015.67
Filename
7371993
Link To Document