Back to search

University of Ottawa (Canada)

Heuristic program reorganization guided by object-oriented metrics.

Abstract

dc:description.abstract

The benefits of increased reusability and maintainability afforded by object-oriented programming are now widely recognised, but there is a vast legacy of procedural code that it may be more desirable to attempt to transform into object-oriented form than to redesign from scratch. A system is here presented that will assist a human programmer in performing such a transformation, by identifying potential objects in C code: the system produces a clustering of the procedures and global variables in the C code, which are to be considered as the methods and the data members respectively of a C++ object. Three different clustering techniques are compared: AGGLOM by Fisher, a bottom-up clustering technique by Basili, and a novel matrix diagonalization technique for simultaneously clustering entities and their attributes. A suite of object-oriented metrics proposed by Kemerer and experimentally found to correlate to maintainability is used to guide the clustering; metrics scores for a particular clustering are compared with scores for randomly constructed objects of the same size. The resulting objects, which are customizable according to which metric the user favours, are also compared against the objects produced when humans transform the C code to C++. The tool constructed is deemed to find useful candidate objects in several C test programs, and some novel refinements of the object-oriented metrics are demonstrated by the experimental results to be improvements.

Degree

thesis:*
Name thesis:degree_name
M.C.Sc.
Level thesis:degree_level
Masters
Grantor dc:publisher
University of Ottawa (Canada)
Year dc:date.issued
1997

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Israel, Mark Abraham.
Advisor dc:contributor.advisor
  • Holte, R.,

Identifiers

dc:identifier.*
ISBN
9780612209763
Dc Identifier Citation
Source: Masters Abstracts International, Volume: 36-01, page: 0207.

Chain of custody

source
Harvested from
University of Ottawa
Base URL
ruor.uottawa.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Israel, Mark Abraham.. Heuristic program reorganization guided by object-oriented metrics.. Masters thesis, University of Ottawa (Canada), 1997. https://doi.org/10.20381/ruor-10076