基于度量的微模式检测

S. Maggioni, F. Fontana
{"title":"基于度量的微模式检测","authors":"S. Maggioni, F. Fontana","doi":"10.1145/1809223.1809229","DOIUrl":null,"url":null,"abstract":"Micro patterns are class-level patterns which aim to identify and formalize common programming techniques. A type (either a class or an interface) is an instance of a micro pattern if and only if all of its methods and/or attributes satisfy the constraints specified by the micro pattern.\n We suggest a novel approach to the detection of micro patterns which is aimed to identify types that are very close and similar to a correct micro pattern implementation, even if some of the methods and/or attributes of the type do not comply with the constraints defined by the micro pattern. The new interpretation is based on the number of attributes (NOA) and the number of methods (NOM) of a type. The identification of types similar to micro patterns allows the analysis of software systems along various releases, as well as the identification of possible critical classes that can't be detected with a precise matching approach.","PeriodicalId":103819,"journal":{"name":"Workshop on Emerging Trends in Software Metrics","volume":"34 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-05-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":"{\"title\":\"Metrics-based detection of micro patterns\",\"authors\":\"S. Maggioni, F. Fontana\",\"doi\":\"10.1145/1809223.1809229\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Micro patterns are class-level patterns which aim to identify and formalize common programming techniques. A type (either a class or an interface) is an instance of a micro pattern if and only if all of its methods and/or attributes satisfy the constraints specified by the micro pattern.\\n We suggest a novel approach to the detection of micro patterns which is aimed to identify types that are very close and similar to a correct micro pattern implementation, even if some of the methods and/or attributes of the type do not comply with the constraints defined by the micro pattern. The new interpretation is based on the number of attributes (NOA) and the number of methods (NOM) of a type. The identification of types similar to micro patterns allows the analysis of software systems along various releases, as well as the identification of possible critical classes that can't be detected with a precise matching approach.\",\"PeriodicalId\":103819,\"journal\":{\"name\":\"Workshop on Emerging Trends in Software Metrics\",\"volume\":\"34 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2010-05-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"11\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Workshop on Emerging Trends in Software Metrics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/1809223.1809229\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Workshop on Emerging Trends in Software Metrics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1809223.1809229","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11

摘要

微模式是类级模式,旨在识别和形式化通用编程技术。当且仅当其所有方法和/或属性满足微模式指定的约束时,类型(类或接口)就是微模式的实例。我们提出了一种检测微模式的新方法,旨在识别与正确的微模式实现非常接近和相似的类型,即使该类型的某些方法和/或属性不符合微模式定义的约束。新的解释是基于一个类型的属性数(NOA)和方法数(NOM)。与微模式相似的类型识别允许对不同版本的软件系统进行分析,以及识别无法用精确匹配方法检测到的可能的关键类。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Metrics-based detection of micro patterns
Micro patterns are class-level patterns which aim to identify and formalize common programming techniques. A type (either a class or an interface) is an instance of a micro pattern if and only if all of its methods and/or attributes satisfy the constraints specified by the micro pattern. We suggest a novel approach to the detection of micro patterns which is aimed to identify types that are very close and similar to a correct micro pattern implementation, even if some of the methods and/or attributes of the type do not comply with the constraints defined by the micro pattern. The new interpretation is based on the number of attributes (NOA) and the number of methods (NOM) of a type. The identification of types similar to micro patterns allows the analysis of software systems along various releases, as well as the identification of possible critical classes that can't be detected with a precise matching approach.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信