DocumentCode
3009439
Title
Enforcing Constraints Between Documentary Comments and Source Code
Author
Shearer, C. Dylan ; Collard, Michael L.
Author_Institution
Dept. of Comput. Sci., Kent State Univ., Kent, OH
fYear
2007
fDate
26-29 June 2007
Firstpage
271
Lastpage
280
Abstract
An approach for enforcing constraints between program entities and their documentary comments is presented. The approach uses srcML to represent Java source code and introduces an XML format, namely srcDoc, for marking up Javadoc-style comments. The enforced constraints are specified with a combination of XML and XQuery. An Eclipse plugin is described that demonstrates the use of XML and related technologies to express and enforce constraints on documentary comments. Examples of constraints enforcing design rationale for methods in an API are shown.
Keywords
Java; XML; application program interfaces; source coding; API; Eclipse plugin; Java source code; Javadoc-style comments; XML; XQuery; documentary comments; Code standards; Computer science; Design methodology; Documentation; Information analysis; Information resources; Java; Markup languages; Standards development; XML;
fLanguage
English
Publisher
ieee
Conference_Titel
Program Comprehension, 2007. ICPC '07. 15th IEEE International Conference on
Conference_Location
Banff, Alberta, BC
ISSN
1092-8138
Print_ISBN
0-7695-2860-0
Type
conf
DOI
10.1109/ICPC.2007.20
Filename
4268262
Link To Document