A Framework for Detecting Interface Violations in Component-Based Software

  • Authors:
  • S. H. Edwards;G. Shakir;M. Sitaraman;B. W. Weide;J. Hollingsworth

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • ICSR '98 Proceedings of the 5th International Conference on Software Reuse
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

Two kinds of interface contract violations can occur in component-based software: a client component may fail to satisfy a requirement of a component it is using, or a component implementation may fail to fulfill its obligations to the client. This paper proposes a systematic approach for detecting both kinds of violations, so that violation detection is not hard-coded into base-level components, but is "layered" on top of them, and so that it can be turned "on" or "off' selectively for one or more components, with practically no change to executable code (limiting changes to a few declarations). Among the salient features of this approach are its use of formal specifications, the ability to handle parameterized (i.e., generic, or template) components, and the automatic generation of routine aspects of violation detection. We have designed, built, and experimented with a generator of checking components for C++ templates.