arrow
Return

A method for documenting code components

delete1996-08-01
delete4
delete
OA
AI
V
Victor R. Basili
S
Salwa K. Abd–El–Hafiz
DOI:10.1016/0164-1212(95)00070-4delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
We propose a set of criteria for facilitating the rigorous understanding of code components via documentation and evaluate existing notations and approaches with respect to these criteria. We present an overview of an analysis approach designed to generate program documentation that satisfies these criteria. Because of the inherent difficulty and importance of reasoning about loops, we focus on understanding and documenting loops. We decompose loops into their component parts and obtain formal specifications of the resulting loop fragments by use of a knowledge base. We build this knowledge base for a specific application domain by designing plans that allow us to recognize stereotyped code patterns and associate them with their formal specifications. Finally, we synthesize a consistent and accurate specification of the whole loop construct from the specifications of its fragments. To evaluate our loop analysis approach, a case study was performed on a preexisting program of reasonable size. Results concerning the analyzed loops and the plans designed for them are given. To generate formal documentation of complete program modules, we briefly describe how to integrate our loop analysis approach with an existing program analysis tool, FSQ(2), which uses user-supplied loop specifications.
Keywords:
PROGRAMS
The Document Components Ontology (DoCO)
err2016-02-12
err43
errOAAI
errConstantin, Alexandru; Peroni, Silvio; Pettifer, Steve; Shotton, David; Vitali, Fabio
errShare
errSave
errShare
errSave
errShare
errSave
A Review on Source Code Documentation
err2022-06-21
err11
PREAI
errRai, Sawan; Belwal, Ramesh Chandra; Gupta, Atul
errShare
errSave
Toward accurate link between code and software documentation
err2018-04-20
err14
PREAI
errCao, Yingkui; Zou, Yanzhen; Luo, Yuxiang; Xie, Bing; Zhao, Junfeng
errShare
errSave
Correlating Automated and Human Evaluation of Code Documentation Generation Quality
err2022-07-28
err13
errOAAI
errHu, Xing; Chen, Qiuyuan; Wang, Haoye; Xia, Xin; Lo, David; Zimmermann, Thomas
errShare
errSave
Prioritizing code documentation effort: Can we do it simpler but better?
err2021-12-01
err3
PREAI
errLiu, Shiran; Guo, Zhaoqiang; Li, Yanhui; Lu, Hongmin; Chen, Lin; Xu, Lei; Zhou, Yuming; Xu, Baowen
errShare
errSave

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
1.0W

Organization

No organization information available
Cited Papers

Cited Papers

SUB-GOAL INDUCTION
err1977-04-01
err25
errOAAI
errMORRIS, JH; WEGBREIT, B
errShare
errSave
errShare
errSave
errShare
errSave
The Associations of Fetuin-A With Subclinical Cardiovascular Disease in Community-Dwelling Persons
err2011-11-01
err0
errOAAI
errJoachim H. Ix; Elizabeth Barrett-Connor; Christina L. Wassel; Kevin Cummins; Jaclyn Bergstrom; Lori B. Daniels; Gail A. Laughlin
errShare
errSave
Effect of glutathione capping on the antibacterial activity of tin doped ZnO nanoparticles
err2021-08-27
err0
PREAI
errSunil Kumar; Kavita; H S Bhatti; Karamjit Singh; Saurabh Gupta; Swati Sharma; Vijay Kumar; Ravi Kant Choubey
errShare
errSave
RULE-BASED SYSTEMS
err1985-09-01
err261
errOAAI
errHAYESROTH, F
errShare
errSave
errShare
errSave
researcher View more