Unreachable procedures in object-oriented programming
- 1 December 1992
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Letters on Programming Languages and Systems
- Vol. 1 (4), 355-364
- https://doi.org/10.1145/161494.161517
Abstract
Unreachable procedures are procedures that can never be invoked. Their existence may adversely affect the performance of a program. Unfortunately, their detection requires the entire program to be present. Using a long-time code modification system, we analyze large, linked, program modules of C++, C, and Fortran. We find that C++ programs using object-oriented programming style contain a large fraction of unreachable procedure code. In contrast, C and Fortran programs have a low and essentially constant fraction of unreachable code. In this article, we present our analysis of C++, C, and Fortran programs, and we discuss how object-oriented programming style generates unreachable procedures.Keywords
This publication has 2 references indexed in Scilit:
- Managing C++ librariesACM SIGPLAN Notices, 1989
- Revised 3 report on the algorithmic language schemeACM SIGPLAN Notices, 1986