引用本文:周晓宇,钱巨,陈林,徐宝文.基于形态分析识别设计模式中的集中管理式聚集.软件学报,2010,21(11):2725-2737
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 5537次   下载 6864 本文二维码信息
码上扫一扫!
分享到: 微信 更多
基于形态分析识别设计模式中的集中管理式聚集
周晓宇, 钱巨, 陈林, 徐宝文
作者单位
周晓宇  
钱巨  
陈林  
徐宝文  
摘要:
针对常见的利用指针或引用的聚集实现方式,提出一种基于形态分析的一对多聚集关系的自动识别方法。首先,扩充Sagiv的三值逻辑结构中的谓词以描述链表上聚集管理操作的语义特征。然后,给出基于控制流上链表形态结构的变化识别聚集管理行为的方法。最后,通过开源软件JEdit中的实例分析展示了该方法的有效性。
关键词:  聚集  设计模式  形态分析  集中式管理  识别
DOI:
分类号:
基金项目:Supported by the National Natural Science Foundation of China under Grant Nos.90818027, 60633010, 60873050, 60873049, 60803008, 60903026 (国家自然科学基金); the National High-Tech Research and Development Plan of China under Grant No.2009AA01Z147 (国家高技术研究发展计划(863)); the Jiangsu Provincial Natural Science Foundation of China under Grant Nos.BK2006094, BK2008292 (江苏省自然科学基金); the Opening Project of Shanghai Key Laboratory of Computer Software Evaluating and Testing of China under Grant No.09DZ2272600 (上海市计算机软件评测重点实验室开放项目)
Identification of Centrally Managed Aggregations in Design Patterns Using Shape Analysis
ZHOU Xiao-Yu, QIAN Ju, CHEN Lin, XU Bao-Wen
Abstract:
In this paper, a shape-analysis based approach is proposed to automatically identify aggregations that are implemented using the commonly used implementation mechanism, pointers or references. First, this paper augments predicates of Sagiv’s three-valued logical structure to describe the semantic constraints for the central aggregation management operations on linked lists. Then, this paper presents a method to identify the aggregation management behavior by analyzing the changes of shape structures for linked lists along control flow paths. Finally, the effectiveness of the proposed 1-n aggregation identification approach is proposed using a case study from the open-source software JEdit.
Key words:  aggregation  design pattern  shape analysis  centrally managed  identification

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: