Object localization in procedural programs: a graph-based approach

被引:0
作者
Department of Computer Science, Louisiana State University, Baton Rouge, LA 70803, United States [1 ]
机构
来源
Journal of Software Maintenance | 2000年 / 12卷 / 05期
关键词
Computer software maintenance - Encoding (symbols) - Error detection - Graphic methods - Legacy systems - Merging - Object oriented programming - Procedure oriented languages - Reengineering - State assignment - User interfaces;
D O I
10.1002/1096-908X(200009/10)12:53.0.CO;2-Q
中图分类号
学科分类号
摘要
Maintenance of legacy systems is a laborious, error-prone task. It is often difficult to define encapsulated components in procedural programs. We define a comprehensive process for re-engineering procedural, legacy code to an object-oriented architecture. The process is based on a program representation graph, called a statement dependence graph. The process includes a technique to recognize potential object hierarchies, state variables and operations. Procedures are partitioned into operations by analyzing variable use-def chains. The statement dependence graph is restructured by merging cohesive parts of the graph to produce a restructured graph. From the restructured graph, we identify hierarchies of objects. The process to encapsulate the objects includes streamlining the interfaces.
引用
收藏
页码:305 / 323
相关论文
empty
未找到相关数据