Component contracts in eclipse - a case study

  • Authors:
  • Jens Dietrich;Lucia Stewart

  • Affiliations:
  • School of Engineering and Advanced Technology, Massey University, New Zealand;School of Engineering and Advanced Technology, Massey University, New Zealand

  • Venue:
  • CBSE'10 Proceedings of the 13th international conference on Component-Based Software Engineering
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present the results of an experiment investigating component collaborations in the OSGi/Eclipse component model. The aim of the experiment is to demonstrate the benefits of using a formal contract language. For this purpose, we have associated more than 1000 component collaborations in OSGi/Eclipse with formal contracts extracted from component metadata and extension point documentation. We discuss several characteristics of these contracts, including contract complexity, and verification results obtained with these contracts. To our surprise, there are numerous contract violations. This indicates that the use of a formal contract language can significantly improve the quality of dynamically composed systems.