Cyclomatic Complexity for WCF: A Service Oriented Architecture

Mir Muhammad Suleman Sarwar, Ibrar Ahmad, Sara Shahzad
{"title":"Cyclomatic Complexity for WCF: A Service Oriented Architecture","authors":"Mir Muhammad Suleman Sarwar, Ibrar Ahmad, Sara Shahzad","doi":"10.1109/FIT.2012.39","DOIUrl":null,"url":null,"abstract":"SOA is a latest architecture for softwares and a lot of tools are available to implement this architecture. Critics of cyclomatic complexity argue that complexity changes with modularization of code. If the technology is shifted from linear programming to OOP and SOA, the complexity of code will also change. The cyclomatic complexity was for the first time introduced by TJ McCabe as metric for the measurement of complexity of a piece of code. McCabe calculated the complexity of a sample code written in fortran language. Fortran is a linear programming language and there are no functions and classes in this language. Hence at the time of introducing cyclomatic complexity there was no concept of structured languages and object oriented languages. This is ignored in McCabes's cyclomatic complexity due to which it is not enough to measure complexity for advance programming architectures like OOP and SOA. Further work has been done on the complexity of structured, OOP and SOA but still work is required on SOA. This study proposes a new metric for the measurement of complexity of WCF a SOA. The significance of this new metric is that it can help to estimate cost of a new project, maintenance cost of already existing projects, basis path testing, comparison of two projects and many other factors.","PeriodicalId":166149,"journal":{"name":"2012 10th International Conference on Frontiers of Information Technology","volume":"134 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-12-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 10th International Conference on Frontiers of Information Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/FIT.2012.39","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

SOA is a latest architecture for softwares and a lot of tools are available to implement this architecture. Critics of cyclomatic complexity argue that complexity changes with modularization of code. If the technology is shifted from linear programming to OOP and SOA, the complexity of code will also change. The cyclomatic complexity was for the first time introduced by TJ McCabe as metric for the measurement of complexity of a piece of code. McCabe calculated the complexity of a sample code written in fortran language. Fortran is a linear programming language and there are no functions and classes in this language. Hence at the time of introducing cyclomatic complexity there was no concept of structured languages and object oriented languages. This is ignored in McCabes's cyclomatic complexity due to which it is not enough to measure complexity for advance programming architectures like OOP and SOA. Further work has been done on the complexity of structured, OOP and SOA but still work is required on SOA. This study proposes a new metric for the measurement of complexity of WCF a SOA. The significance of this new metric is that it can help to estimate cost of a new project, maintenance cost of already existing projects, basis path testing, comparison of two projects and many other factors.
WCF的圈复杂度:一个面向服务的体系结构
SOA是软件的最新体系结构,有许多工具可用于实现该体系结构。圈复杂度的批评者认为复杂度随着代码的模块化而改变。如果技术从线性编程转向面向对象和SOA,代码的复杂性也会发生变化。圈复杂度是TJ McCabe第一次引入的,用来度量一段代码的复杂度。McCabe计算了用fortran语言编写的示例代码的复杂性。Fortran是一种线性编程语言,在这种语言中没有函数和类。因此,在引入圈复杂度的时候,还没有结构化语言和面向对象语言的概念。这在mccabe的圈复杂度中被忽略了,因为它不足以衡量像OOP和SOA这样的高级编程架构的复杂度。在结构化、面向对象和SOA的复杂性方面已经做了进一步的工作,但SOA方面仍然需要更多的工作。本研究提出了一种新的度量SOA中WCF复杂性的度量标准。这个新度量的意义在于,它可以帮助估算新项目的成本、现有项目的维护成本、基础路径测试、两个项目的比较以及许多其他因素。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信