Bauhaus Paper
Bauhaus Library
Bauhaus Home Page

J.-F. Girard, R. Koschke, G. Schied. A Metric-based Approach to Detect
Abstract Data Types and State Encapsulations. Journal Automated Software
Engineering, Kluwer, 1999.
Abstract
This article presents an approach to identify abstract data types (ADT)
and abstract state encapsulations (ASE, also called abstract objects) in
source code. This approach, named similarity clustering, groups together
functions, types, and variables into ADT and ASE candidates according to
the proportion of features they share. The set of features considered includes
the context of these elements, the relationships to their environment,
and informal information.
A prototype tool has been implemented to support this approach. It
has been applied to three C systems (each between 30-38 Kloc). The ADTs
and ASEs identified by the approach are compared to those identified by
software engineers who did not know the proposed approach or other automatic
approaches. Within this case study, this approach has been shown to have
a higher detection quality and to identify, in most of the cases, more
ADTs and ASEs than the other techniques. In all other cases its detection
quality is second best. N.B. This article reports work in progress on this
approach which has evolved since it was presented in the original ASE97
conference paper.
Download
full paper as postscript
full paper as compressed postscript (GNU zip)
Rainer Koschke,
Institute of Computer Science, University of Stuttgart, Germany.