首页> 外文期刊>IEEE Transactions on Software Engineering >Design of flexible static program analyzers with PQL
【24h】

Design of flexible static program analyzers with PQL

机译:具有PQL的灵活的静态程序分析器的设计

获取原文
获取原文并翻译 | 示例

摘要

Static program analyzers (SPA) are interactive tools that enhance program understanding during maintenance by answering queries about programs. Depending on the maintenance task in hand, SPAs must process different source programs and answer different types of program queries. Flexibility is, therefore, a desirable property of SPAs. The author describes a program query language, called PQL, that facilitates the design of flexible SPAs. PQL is a conceptual level, source language-independent notation to specify program queries and program views. In PQL, one can query global program design as well as search for detail code patterns. PQL queries are answered automatically by a query evaluation mechanism built into an SPA. Program design models and POL form the core of an SPA conceptual model. He based the SPA's architecture on this conceptual model. By separating the conceptual model from the implementation decisions, one can design SPAs that are customizable to the needs of the maintenance project at hand. Depending on criteria such as efficiency of query evaluation or simplicity of the SPA design, one can implement the same functional specifications of an SPA on a variety of program representations to meet the required criteria. Apart from its role in the design of SPAs, the conceptual model also allows one to rigorously study SPA functionality in the context of the underlying maintenance process and programmer behavior models, in isolation from tool implementation details.
机译:静态程序分析器(SPA)是交互式工具,可以通过回答有关程序的查询来增强维护过程中对程序的理解。根据手头的维护任务,SPA必须处理不同的源程序并回答不同类型的程序查询。因此,灵活性是SPA的理想属性。作者介绍了一种称为PQL的程序查询语言,该语言可简化灵活SPA的设计。 PQL是概念级别的,与源语言无关的表示法,用于指定程序查询和程序视图。在PQL中,可以查询全局程序设计以及搜索详细的代码模式。 SPA中内置的查询评估机制可自动回答PQL查询。程序设计模型和POL构成SPA概念模型的核心。他基于此概念模型建立了SPA的体系结构。通过将概念模型与实施决策分开,可以设计出可针对当前维护项目需求进行定制的SPA。根据诸如查询评估效率或SPA设计简单性之类的标准,可以在各种程序表示上实现SPA的相同功能规格,以满足所需的条件。除了在SPA设计中的作用外,概念模型还允许人们在底层维护过程和程序员行为模型的上下文中严格研究SPA功能,而与工具实现细节隔离。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号