- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
* Metrics for OO Design-II Cohesion The degree to which all operations working together to achieve a single, well-defined purpose Primitiveness Applied to both operations and classes, the degree to which an operation is atomic Similarity The degree to which two or more classes are similar in terms of their structure, function, behavior, or purpose Volatility Measures the likelihood that a change will occur * Class-Oriented Metrics The MOOD Metrics Suite [Har98b]: Method inheritance factor Coupling factor Polymorphism factor * Operation-Oriented Metrics Proposed by Lorenz and Kidd [Lor94]: average operation size operation complexity average number of parameters per operation * Component-Level Design Metrics Cohesion metrics: a function of data objects and the locus of their definition Coupling metrics: a function of input and output parameters, global variables, and modules called Complexity metrics: hundreds have been proposed (e.g., cyclomatic complexity) * Interface Design Metrics Layout appropriateness: a function of layout entities, the geographic position and the “cost” of making transitions among entities * Code Metrics Halstead’s Software Science: a comprehensive collection of metrics all predicated on the number (count and occurrence) of operators and operands within a component or program It should be noted that Halstead’s “laws” have generated substantial controversy, and many believe that the underlying theory has flaws. However, experimental verification for selected programming languages has been performed (e.g. [FEL89]). * Metrics for Testing Testing effort can also be estimated using metrics derived from Halstead measures Binder [Bin94] suggests a broad array of design metrics that have a direct influence on the “testability” of an OO system. Lack of cohesion in methods (LCOM). Percent public and protected (PAP). Public access to data members (PAD). Number of root classes (NOR). Fan-in (FIN). Number of children (NOC) and depth of the inh
您可能关注的文档
最近下载
- (2025秋新版)青岛版科学二年级上册《14 制作方向辨识盘》教案.pdf VIP
- [美的空调]2017美的中央空调设计选型手册(上).pdf
- TCRHA-床旁超声引导下鼻肠管留置操作规范.pdf VIP
- T_ZZB 3785-2024 中小学生午休课桌椅.docx VIP
- 预防艾滋病、梅毒和乙肝母婴传播登记及随访表.docx
- 高考数学母题:三角函数.doc VIP
- 义务教育版(2024)五年级信息科技 第29课 智能工具再体验 教案.docx VIP
- 第二单元+第2课+科技之光+课件 +2024—2025学年人教版(2024)初中美术七年级上册+.pptx VIP
- 【外研版】(三起)五年级英语上册(全册)同步训练(含答案).pdf VIP
- 黑色素瘤诊疗指南(2025年版).docx VIP
文档评论(0)