首页> 外文会议> >A case study of feature location in unstructured legacy Fortran code
【24h】

A case study of feature location in unstructured legacy Fortran code

机译:非结构化旧版Fortran代码中特征位置的案例研究

获取原文

摘要

Feature location is a major problem in supporting legacy code. Two methods, the Software Reconnaissance technique and the Dependency Graph search method, have been proposed to help software engineers locate features in a program that needs to be modified. Both methods have been developed and evaluated largely using relatively modern C code. The article describes preliminary experiences in adapting them to legacy Fortran code, typical of systems developed in the 1970s. A case study was performed to apply the two methods to the CONVERT3 program, which is part of the FASTGEN geometric modeling suite. CONVERT3 exhibits many characteristics typical of legacy Fortran programs such as poor modularity, prolific use of unstructured GOTOs, tight coupling through large common blocks, and confusing program plans introduced to provide efficiency on now-obsolete platforms. Both methods were effective in locating features in CONVERT3. The Dependency Graph search method required considerable adaptation to be useful on this kind of program and required the systematic exploration of a large amount of code. The Software Reconnaissance technique was able to locate features with less searching but, as compared to earlier experience with C, the Fortran code proved more difficult to understand once it had been located.
机译:功能位置是支持遗留代码的主要问题。已经提出了两种方法,即软件侦察技术和依赖关系图搜索方法,以帮助软件工程师在需要修改的程序中定位功能。两种方法都主要是使用相对现代的C代码开发和评估的。本文介绍了使它们适应旧版Fortran代码(1970年代开发的典型系统)的初步经验。进行了案例研究,将这两种方法应用到CONVERT3程序中,该程序是FASTGEN几何建模套件的一部分。 CONVERT3具有许多传统Fortran程序的典型特征,例如模块化差,非结构化GOTO的大量使用,通过大型通用块的紧密耦合以及令人困惑的程序计划,这些计划在如今已过时的平台上提供了高效率。两种方法都可以有效地定位CONVERT3中的特征。依赖图搜索方法需要大量的修改才能在这种程序上使用,并且需要对大量代码进行系统的探索。软件侦查技术能够以较少的搜索来定位特征,但是与C的早期经验相比,一旦找到Fortran代码,就很难理解。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号