首页> 外国专利> A system and method for extracting a business rule embedded in an application source code

A system and method for extracting a business rule embedded in an application source code

机译:一种提取嵌入在应用程序源代码中的业务规则的系统和方法

摘要

Disclosed is a method and system for extracting a business rule embedded in an application source code. The method comprises creating a call structure of one or more programs present in the application source code by performing a control flow analysis on the application source code. The method further comprises recognizing one or more parent programs and one or more child programs for a parent program. The method further comprises grouping the parent program and the one or more child programs into a group. Also, the method comprises identifying one or more conditional statements. The one or more conditional statements comprise the business rule. The one or more conditional statements are identified by comparing the plurality of conditional statements with pre-defined patterns identified from the application source code, and determining a conditional statement comparing a variable with a hard-coded value. The method further comprises mapping the one or more conditional statements with the business rule.
机译:公开了一种用于提取嵌入在应用程序源代码中的业务规则的方法和系统。该方法包括通过对应用程序源代码执行控制流分析来创建存在于应用程序源代码中的一个或多个程序的调用结构。该方法还包括识别一个或多个父程序以及用于父程序的一个或多个子程序。该方法还包括将父程序和一个或多个子程序分组为一组。而且,该方法包括识别一个或多个条件语句。一个或多个条件语句构成业务规则。通过将多个条件语句与从应用程序源代码中识别出的预定义模式进行比较,并确定将变量与硬编码值进行比较的条件语句,来标识一个或多个条件语句。该方法还包括将一个或多个条件语句与业务规则进行映射。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号