Title :
Automatically identifying reusable OO legacy code
Author :
Etzkorn, Letha H. ; Davis, Carl G.
Author_Institution :
Dept. of Comput. Sci., Alabama Univ., Huntsville, AL, USA
fDate :
10/1/1997 12:00:00 AM
Abstract :
Much object oriented code has been written without reuse in mind, making identification of useful components difficult. The Patricia (Program Analysis Tool for Reuse) system automatically identifies these components through understanding comments and identifiers. To understand a program, Patricia uses a unique heuristic approach, deriving information from the linguistic aspects of comments and identifiers and from other nonlinguistic aspects of OO code, such as a class hierarchy. In developing the Patricia system, we had to overcome the problems of syntactically parsing natural language comments and syntactically analyzing identifiers-all prior to a semantic understanding of the comments and identifiers. Another challenge was the semantic understanding phase, when the organization of the knowledge base and an inferencing scheme were developed
Keywords :
abstract data types; computational linguistics; object-oriented programming; program diagnostics; reverse engineering; software reusability; OO code; Patricia system; Program Analysis Tool for Reuse; class hierarchy; heuristic approach; inferencing scheme; knowledge base; linguistic aspects; natural language comments; nonlinguistic aspects; object oriented code; reusable OO legacy code identification; semantic understanding phase; syntactic parsing; Algorithms; Documentation; Functional programming; Humans; Scattering; Software libraries; Software reusability;