A Knowledge-Based Approach to Program Understanding

A Knowledge-Based Approach to Program Understanding

by Salwa K. Abd-El-Hafiz, Victor R. Basili

Paperback(Softcover reprint of the original 1st ed. 1995)

$139.99
Choose Expedited Shipping at checkout for guaranteed delivery by Tuesday, July 23

Overview

Program understanding plays an important role in nearly all software related tasks. It is vital to the development, maintenance and reuse activities. Program understanding is indispensable for improving the quality of software development. Several development activities such as code reviews, debugging and some testing approaches require programmers to read and understand programs. Maintenance activities cannot be performed without a deep and correct understanding of the component to be maintained. Program understanding is vital to the reuse of code components because they cannot be utilized without a clear understanding of what they do. If a candidate reusable component needs to be modified, an understanding how it is designed is also required. of This monograph presents a· knowledge-based approach to the automation of program understanding. This approach generates rigorous program documentation mechanically by combining and building on strengths of a practical program decomposition method, the axiomatic correctness notation, and the knowledge­ based analysis approaches. More specifically, this approach documents programs by generating first order predicate logic annotations of their loops. In this approach, loops are classified according to their complexity levels. Based on this taxonomy, variations on the basic analysis approach that best fit each of the different classes are described. In general, mechanical annotation of loops is performed by first decomposing them using data flow analysis. This decomposition encapsulates interdependent statements in events, which can be analyzed individually.

Product Details

ISBN-13: 9781461359616
Publisher: Springer US
Publication date: 09/27/2012
Series: The Springer International Series in Engineering and Computer Science , #325
Edition description: Softcover reprint of the original 1st ed. 1995
Pages: 119
Product dimensions: 6.10(w) x 9.25(h) x 0.01(d)

Table of Contents

List of figures. List of tables. Preface. 1. Introduction. 2. Background. 3. Overview and basic definitions. 4. Analysis of flat loops. 5. Analysis of nested loops. 6. Discussion of the analysis approach. 7. Case study. 8. Prototype implementation. 9. Applications. 10. Conclusions. References. A. Notation. B. Acronyms. C. Definitions. D. Additional plans and abstraction classes. Index.

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews