软件模块化分析的进化方法

Sunny Huynh, Yuanfang Cai
{"title":"软件模块化分析的进化方法","authors":"Sunny Huynh, Yuanfang Cai","doi":"10.1109/ACOM.2007.1","DOIUrl":null,"url":null,"abstract":"Modularity determines software quality in terms of evolvability, changeability, maintainability, etc. and a module could be a vertical slicing through source code directory structure or class boundary. Given a modularized design, we need to determine whether its implementation realizes the designed modularity. Manually comparing source code modular structure with abstracted design modular structure is tedious and error-prone. In this paper, we present an automated approach to check the conformance of source code modularity to the designed modularity. Our approach uses design structure matrices (DSMs) as a uniform representation; it uses existing tools to automatically derive DSMs from the source code and design, and uses a genetic algorithm to automatically cluster DSMs and check the conformance. We applied our approach to a small canonical software system as a proof of concept experiment. The results supported our hypothesis that it is possible to check the conformance between source code structure and design structure automatically, and this approach has the potential to be scaled for use in large software systems.","PeriodicalId":377207,"journal":{"name":"First International Workshop on Assessment of Contemporary Modularization Techniques (ACoM '07)","volume":"115 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-05-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"18","resultStr":"{\"title\":\"An Evolutionary Approach to Software Modularity Analysis\",\"authors\":\"Sunny Huynh, Yuanfang Cai\",\"doi\":\"10.1109/ACOM.2007.1\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Modularity determines software quality in terms of evolvability, changeability, maintainability, etc. and a module could be a vertical slicing through source code directory structure or class boundary. Given a modularized design, we need to determine whether its implementation realizes the designed modularity. Manually comparing source code modular structure with abstracted design modular structure is tedious and error-prone. In this paper, we present an automated approach to check the conformance of source code modularity to the designed modularity. Our approach uses design structure matrices (DSMs) as a uniform representation; it uses existing tools to automatically derive DSMs from the source code and design, and uses a genetic algorithm to automatically cluster DSMs and check the conformance. We applied our approach to a small canonical software system as a proof of concept experiment. The results supported our hypothesis that it is possible to check the conformance between source code structure and design structure automatically, and this approach has the potential to be scaled for use in large software systems.\",\"PeriodicalId\":377207,\"journal\":{\"name\":\"First International Workshop on Assessment of Contemporary Modularization Techniques (ACoM '07)\",\"volume\":\"115 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2007-05-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"18\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"First International Workshop on Assessment of Contemporary Modularization Techniques (ACoM '07)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ACOM.2007.1\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"First International Workshop on Assessment of Contemporary Modularization Techniques (ACoM '07)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ACOM.2007.1","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 18

摘要

模块化根据可演化性、可变性、可维护性等方面决定软件质量,模块可以是源代码目录结构或类边界的垂直切片。给定一个模块化的设计,我们需要确定它的实现是否实现了设计的模块化。手工比较源代码模块结构和抽象设计模块结构是一项繁琐且容易出错的工作。在本文中,我们提出了一种自动化的方法来检查源代码模块化是否符合设计的模块化。我们的方法使用设计结构矩阵(dsm)作为统一的表示;它使用现有的工具从源代码和设计中自动派生出dsm,并使用遗传算法自动聚类dsm并检查一致性。我们将我们的方法应用到一个小型的规范软件系统中,作为概念实验的证明。结果支持了我们的假设,即自动检查源代码结构和设计结构之间的一致性是可能的,并且这种方法具有在大型软件系统中被扩展使用的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
An Evolutionary Approach to Software Modularity Analysis
Modularity determines software quality in terms of evolvability, changeability, maintainability, etc. and a module could be a vertical slicing through source code directory structure or class boundary. Given a modularized design, we need to determine whether its implementation realizes the designed modularity. Manually comparing source code modular structure with abstracted design modular structure is tedious and error-prone. In this paper, we present an automated approach to check the conformance of source code modularity to the designed modularity. Our approach uses design structure matrices (DSMs) as a uniform representation; it uses existing tools to automatically derive DSMs from the source code and design, and uses a genetic algorithm to automatically cluster DSMs and check the conformance. We applied our approach to a small canonical software system as a proof of concept experiment. The results supported our hypothesis that it is possible to check the conformance between source code structure and design structure automatically, and this approach has the potential to be scaled for use in large software systems.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Performing and Reviewing Assessments of Contemporary Modularization Approaches: What Constitutes Reasonable Expectations? An Evolutionary Approach to Software Modularity Analysis Semantic Dependencies and Modularity of Aspect-Oriented Software Using Design Structure Matrices to Assess Modularity in Aspect-Oriented Software Product Lines On the Necessity of Empirical Studies in the Assessment of Modularization Mechanisms for Crosscutting Concerns
×
引用
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