R. Kersemakers, E. Dortmans, and L. Somers (The Netherlands)
Architecture, pattern detection, reengineering, Prolog, constraint satisfaction, template library
We show how to use constraint satisfaction for detecting design and architectural patterns in existing source code by using a pattern library. The patterns observer, pipe and-filter, interceptor, and blackboard are catalogued. Prolog has been used to detect these patterns by means of heuristics for class relations and method calls. A staged approach allows ranking the matching patterns by using a subset of the heuristics. The approach has been validated on two substantial subsystems of an Océ controller.
Important Links:
Go Back