D. Carver, Ramachenga R. Valasareddi
{"title":"Object localization in procedural programs: a graph-based approach","authors":"D. Carver, Ramachenga R. Valasareddi","doi":"10.1002/1096-908X(200009/10)12:5%3C305::AID-SMR215%3E3.0.CO;2-Q","DOIUrl":null,"url":null,"abstract":"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. Copyright © 2000 John Wiley & Sons, Ltd.","PeriodicalId":383619,"journal":{"name":"J. Softw. Maintenance Res. Pract.","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2000-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Softw. Maintenance Res. Pract.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1002/1096-908X(200009/10)12:5%3C305::AID-SMR215%3E3.0.CO;2-Q","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
过程程序中的对象定位:基于图的方法
维护遗留系统是一项费力且容易出错的任务。在过程程序中定义封装组件通常是困难的。我们定义了一个全面的过程,用于将过程遗留代码重新设计为面向对象的体系结构。该过程基于程序表示图,称为语句依赖图。该过程包括识别潜在对象层次结构、状态变量和操作的技术。通过分析变量使用定义链,将过程划分为操作。通过合并图的内聚部分来重构语句依赖图,从而生成一个重构图。从重构后的图中,我们确定了对象的层次结构。封装对象的过程包括简化接口。版权所有©2000约翰威利父子有限公司
本文章由计算机程序翻译,如有差异,请以英文原文为准。