Practical framework constraints

  • Authors:
  • Francois Bronsard

  • Affiliations:
  • Siemens Corporate Research, Princeton, NJ, USA

  • Venue:
  • Proceedings of the the 7th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Framework constraints are used to represent recommendations or restrictions on the use of the framework's primitives in a way that is amenable to automatic checking. The goal is to support the framework's users in making the best use of the framework without overwhelming the users with documentation. In this work, we show how we realized this goal using a small set of abstract framework constraints and a collection of heuristics. We took a real-life complex framework and extracted from its support history a set of framework constraints that we refined into five abstract framework constraints. We then developed heuristics to enable the easy specification and the automatic checking of instances of these constraints using a static analysis tool. The result is a system that allows one to define practical framework constraints and provides a mechanism to check them automatically in the user's code.