Title :
Inheritance tree shapes and reuse
Author :
Kang, Byung-Kyoo ; Bieman, James M.
Author_Institution :
Div. of Switching Technol., Electron. & Telecommun. Res. Inst., Taejon, South Korea
Abstract :
The shapes of forests of inheritance trees can affect the amount of code reuse in an object-oriented system. Designers can benefit from knowing how structuring decisions affect reuse, so that they can make more optimal decisions. We show that a set of objective measures can classify forests of inheritance trees into a set of five shape classes. These shape classes determine bounds on reuse measures based on the notion of code savings. The reuse measures impart an ordering on the shape classes that demonstrates that some shapes have more capacity to support reuse through inheritance. An initial empirical study shows that the application of the measures and demonstrates that real inheritance forests can be objectively and automatically classified into one of the five shape classes
Keywords :
inheritance; object-oriented programming; pattern classification; software metrics; software reusability; tree data structures; code reuse measure bounds; code savings; forest shape classification; inheritance tree shapes; object-oriented software; object-oriented system; objective measures; optimal decisions; shape class ordering; software measurement; software metrics; software reuse; structuring decisions; Classification tree analysis; Computer science; Encapsulation; NASA; Network-on-a-chip; Optimizing compilers; Shape measurement; Software measurement; Telecommunication switching;
Conference_Titel :
Software Metrics Symposium, 1997. Proceedings., Fourth International
Conference_Location :
Albuquerque, NM
Print_ISBN :
0-8186-8093-8
DOI :
10.1109/METRIC.1997.637163