首页> 外国专利> LEGACY PROGRAM CODE ANALYSIS AND OPTIMIZATION

LEGACY PROGRAM CODE ANALYSIS AND OPTIMIZATION

机译:旧版程序代码分析和优化

摘要

A method for analyzing and optimizing legacy program code is disclosed. In one embodiment, such a method includes logically dividing legacy program code into multiple sections and possibly subsections. The method then instruments each section with a counter that increments a value each time the respective section is executed. The legacy program code is then executed over a specified period of time on a specified number of test systems. The values are then gathered from the counters and analyzed to determine relative importance of the sections. In certain embodiments, this analysis generates a list of sections that are dead. The method then removes, from the legacy program code, sections that are dead. A corresponding system and computer program product are also disclosed.
机译:公开了一种用于分析和优化遗留程序代码的方法。在一个实施例中,这种方法包括将传统程序代码逻辑上划分为多个部分以及可能的子部分。然后,该方法为每个部分提供一个计数器,每次执行相应部分时,该计数器都会增加一个值。然后,在指定数量的测试系统上的指定时间段内执行遗留程序代码。然后从计数器中收集值并进行分析以确定这些部分的相对重要性。在某些实施例中,该分析生成死区的列表。然后,该方法从旧版程序代码中删除无效的部分。还公开了相应的系统和计算机程序产品。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号