首页> 外国专利> Method, storage medium, apparatus and system for retrieving navigation model for web application analysis

Method, storage medium, apparatus and system for retrieving navigation model for web application analysis

机译:用于Web应用分析的导航模型的获取方法,存储介质,装置和系统

摘要

In one embodiment, a method includes automated extraction of the Page Transition Graph (PTG) model for model-based analysis of web applications. Specifically, the method includes accessing one or more JAVASERVER PAGES (JSP) files, one or more Extensible Markup Language (XML) configuration files, and one or more class files of a web application; parsing the JSP files and extracting data in the JSP files that encode user or server events supported by the event-driven application; parsing the XML configuration files and extracting data in the XML configuration files that encode definitions used by the event-driven application when deployed; parsing the class files and extracting data in the class files that encode one or more actions or one or more forms used by the event-driven application when deployed; storing the extracted data as an abstract syntax tree (AST); populating a page transition graph (PTG) of the event-driven application based on the AST; and checking the extracted PTG for navigation errors such as unreachable pages, ghost pages and undefined transitions.
机译:在一个实施例中,一种方法包括自动提取页面过渡图(PTG)模型以用于基于web的应用程序的模型分析。具体地,该方法包括访问Web应用程序的一个或多个JAVASERVER PAGES(JSP)文件,一个或多个可扩展标记语言(XML)配置文件以及一个或多个类文件。解析JSP文件并从JSP文件中提取数据,以对事件驱动的应用程序支持的用户或服务器事件进行编码;解析XML配置文件并提取XML配置文件中的数据,该数据对事件驱动的应用程序在部署时使用的定义进行编码;解析类文件,并从类文件中提取数据,以对事件驱动的应用程序在部署时使用的一种或多种动作或一种或多种形式进行编码;将提取的数据存储为抽象语法树(AST);基于AST填充事件驱动的应用程序的页面转换图(PTG);并检查提取的PTG是否存在导航错误,例如无法访问的页面,幻影页面和未定义的转换。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号