Using dependence graphs as a support to document programs
Françoise Balmas · IEEE International Workshop on Source Code Analysis and Manipulation (SCAM) · 2003
In this paper we argue that source code is not the best support for commenting programs and we introduce dependence graphs as a better support since they offer different levels of abstraction and make visible objects that are not directly represented in the source code. We first introduce our tool to display dependence graphs, focusing on how different views of the same program can be built and tuned by grouping together nodes that are syntactically or conceptually related. We also show how these views make visible objects of the program that aren't accessible for comment in the source code while they can be, in our tool, richly documented through typed annotations. Then we review which kinds of units can be commented this way and discuss a typical way to apply our tool to document programs. Finally, we give strategies towards the automation of program documentation.
Cited by 19 works. doi:10.1109/scam.2002.1134114
Authors
References
- Reverse engineering and design recovery: a taxonomy
- Interprocedural slicing using dependence graphs
- An efficient method of computing static single assignment form
- The program dependence graph in a software development environment
- Drawing graphs with dot
- Designing documentation to compensate for delocalized plans
- Structural redocumentation: a case study
- Value dependence graphs
- Debugging with GDB : the GNU source-level debugger
- Building documentation generators