Empirical insight into the context of design patterns: Modularity analysis

Mawal A. Mohammed, Mahmoud O. Elish, A. Qusef
{"title":"Empirical insight into the context of design patterns: Modularity analysis","authors":"Mawal A. Mohammed, Mahmoud O. Elish, A. Qusef","doi":"10.1109/CSIT.2016.7549474","DOIUrl":null,"url":null,"abstract":"Design patterns are common solutions to specific design problems. There are many claimed benefits of the application of design patterns on design quality. This paper empirically evaluates and compares the modularity of design patterns in object-oriented software. Coupling and cohesion of classes that participate in design patterns were compared with those that do not participate. We used CBO and LCOM metrics as proxy measures for coupling and cohesion respectively. Data were collected from five open source systems, and analyses were conducted at both the design and pattern levels. At the design level, we compared the modularity of participant versus non-participant classes in design patterns, whereas at the pattern level, we compared the modularity of the classes in each pattern. The results indicate that the classes that participate in design patterns are more coupled and less cohesive than the non-participant classes at both levels.","PeriodicalId":210905,"journal":{"name":"2016 7th International Conference on Computer Science and Information Technology (CSIT)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2016-07-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 7th International Conference on Computer Science and Information Technology (CSIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSIT.2016.7549474","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

Design patterns are common solutions to specific design problems. There are many claimed benefits of the application of design patterns on design quality. This paper empirically evaluates and compares the modularity of design patterns in object-oriented software. Coupling and cohesion of classes that participate in design patterns were compared with those that do not participate. We used CBO and LCOM metrics as proxy measures for coupling and cohesion respectively. Data were collected from five open source systems, and analyses were conducted at both the design and pattern levels. At the design level, we compared the modularity of participant versus non-participant classes in design patterns, whereas at the pattern level, we compared the modularity of the classes in each pattern. The results indicate that the classes that participate in design patterns are more coupled and less cohesive than the non-participant classes at both levels.
对设计模式上下文的经验洞察:模块化分析
设计模式是特定设计问题的通用解决方案。设计模式的应用对设计质量有很多好处。本文对面向对象软件中设计模式的模块化进行了实证评价和比较。将参与设计模式的类与不参与设计模式的类的耦合和内聚进行了比较。我们分别使用CBO和LCOM度量作为耦合和内聚的代理度量。从五个开放源码系统中收集数据,并在设计和模式级别进行分析。在设计级别,我们比较了设计模式中参与类与非参与类的模块化,而在模式级别,我们比较了每个模式中类的模块化。结果表明,在这两个级别上,参与设计模式的类比不参与的类更耦合,更少内聚。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信