Closing the Loop: The Influence of Code Analysis on Design

  • Authors:
  • Peter Amey

  • Affiliations:
  • -

  • Venue:
  • Ada-Europe '02 Proceedings of the 7th Ada-Europe International Conference on Reliable Software Technologies
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Static code analysis originally concerned the extraction from source code of various properties of a program. Although this kind of reverse engineering approach can uncover errors that are hard to detect in other ways, it is not a very efficient use of resources because of its retrospective nature and the late error detection that results. The SPARK language and its associated Examiner tool took a different approach which emphasises error prevention ("correctness by construction") rather than error detection. Recent work with SPARK has shown that very early application of static analysis can have a beneficial influence on software architectures and designs. The paper describes the use of SPARK to produce designs with demonstrably low coupling and high cohesion.