Efficient identification of design patterns with bit-vector algorithm

Olivier Kaczor, Yann-Gaël Guéhéneuc, Sylvie Hamel
{"title":"Efficient identification of design patterns with bit-vector algorithm","authors":"Olivier Kaczor, Yann-Gaël Guéhéneuc, Sylvie Hamel","doi":"10.1109/CSMR.2006.25","DOIUrl":null,"url":null,"abstract":"Design patterns are important in software maintenance because they help in designing, in understanding, and in re-engineering programs. The identification of occurrences of a design pattern consists in identifying, in a program, classes which structure and organisation match - strictly or approximately - the structure and organisation of classes as suggested by the design pattern. We express the problem of design pattern identification with operations on finite sets of bit-vectors. We use the inherent parallelism of bit-wise operations to derive an efficient bit-vector algorithm that finds exact and approximate occurrences of design patterns in a program. We apply our algorithm on three small-to-medium size programs, JHotDraw, Juzzle, and QuickUML, with the Abstract Factory and Composite design patterns and compare its performance and results with two existing constraint-based approaches","PeriodicalId":443362,"journal":{"name":"Conference on Software Maintenance and Reengineering (CSMR'06)","volume":"58 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-03-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"75","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Conference on Software Maintenance and Reengineering (CSMR'06)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSMR.2006.25","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 75

Abstract

Design patterns are important in software maintenance because they help in designing, in understanding, and in re-engineering programs. The identification of occurrences of a design pattern consists in identifying, in a program, classes which structure and organisation match - strictly or approximately - the structure and organisation of classes as suggested by the design pattern. We express the problem of design pattern identification with operations on finite sets of bit-vectors. We use the inherent parallelism of bit-wise operations to derive an efficient bit-vector algorithm that finds exact and approximate occurrences of design patterns in a program. We apply our algorithm on three small-to-medium size programs, JHotDraw, Juzzle, and QuickUML, with the Abstract Factory and Composite design patterns and compare its performance and results with two existing constraint-based approaches
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于位向量算法的设计模式有效识别
设计模式在软件维护中很重要,因为它们有助于设计、理解和重新设计程序。设计模式出现的识别包括在程序中识别结构和组织与设计模式所建议的类的结构和组织严格或近似匹配的类。我们用有限位向量集上的运算来表达设计模式识别问题。我们利用位操作固有的并行性来推导出一种有效的位向量算法,该算法可以在程序中找到精确和近似出现的设计模式。我们将我们的算法应用于三个中小型程序,JHotDraw, Juzzle和QuickUML,使用抽象工厂和复合设计模式,并将其性能和结果与两种现有的基于约束的方法进行比较
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A comparative framework for design recovery tools Package patterns for visual architecture recovery A flexible wrapper for the migration of interactive legacy system to Web services Search-based software maintenance Realistic load testing of Web applications
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1