CODE SMELL DETECTION THROUGH METRICS FOR THE PROTECTION OF TEMPLATE METHODS

IF 0.8 4区 工程技术 Q3 ENGINEERING, MULTIDISCIPLINARY Dyna Pub Date : 2024-07-01 DOI:10.52152/d11107
Elías Alejandro Ramírez García, René Santaolaya Salgado, Blanca Dina VALENZUELA ROBLES, Olivia Graciela Fragoso Díaz
{"title":"CODE SMELL DETECTION THROUGH METRICS FOR THE PROTECTION OF TEMPLATE METHODS","authors":"Elías Alejandro Ramírez García, René Santaolaya Salgado, Blanca Dina VALENZUELA ROBLES, Olivia Graciela Fragoso Díaz","doi":"10.52152/d11107","DOIUrl":null,"url":null,"abstract":"One of the bad decisions made by a developer is the lack of a good encapsulation in the design pattern \"Template Method\", when this happens, \"Code Smell\" appears, which is defined as \"symptoms of poor design and implementation choices\", these symptoms will be reflected in a high degree of dependency between classes of a program (indirect coupling), thus shortening the lifetime of the software.","PeriodicalId":11386,"journal":{"name":"Dyna","volume":null,"pages":null},"PeriodicalIF":0.8000,"publicationDate":"2024-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Dyna","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.52152/d11107","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

One of the bad decisions made by a developer is the lack of a good encapsulation in the design pattern "Template Method", when this happens, "Code Smell" appears, which is defined as "symptoms of poor design and implementation choices", these symptoms will be reflected in a high degree of dependency between classes of a program (indirect coupling), thus shortening the lifetime of the software.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
通过模板方法保护指标检测代码气味
开发人员做出的错误决定之一就是在设计模式 "模板方法 "中缺乏良好的封装,当出现这种情况时,就会出现 "代码味道",它被定义为 "设计和实现选择不当的症状",这些症状将反映为程序类之间的高度依赖性(间接耦合),从而缩短软件的使用寿命。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Dyna
Dyna 工程技术-工程:综合
CiteScore
1.00
自引率
10.00%
发文量
131
审稿时长
6-12 weeks
期刊介绍: Founded in 1926, DYNA is one of the journal of general engineering most influential and prestigious in the world, as it recognizes Clarivate Analytics. Included in Science Citation Index Expanded, its impact factor is published every year in Journal Citations Reports (JCR). It is the Official Body for Science and Technology of the Spanish Federation of Regional Associations of Engineers (FAIIE). Scientific journal agreed with AEIM (Spanish Association of Mechanical Engineering) In character Scientific-technical, it is the most appropriate way for communication between Multidisciplinary Engineers and for expressing their ideas and experience. DYNA publishes 6 issues per year: January, March, May, July, September and November.
期刊最新文献
ROBUST OUTPUT FEEDBACK CONTROL FOR HETEROGENEOUS AUTONOMOUS VEHICLE PLATOONS SUITABLE LOCATION ON THE SPANISH ATLANTIC COAST FOR THE IMPLEMENTATION OF A NEW WAVE ENERGY CONVERTER BASED ON DIFFERENT PARAMETERS INTEGRATION OF DIGITAL IMAGE CORRELATION AND THERMOELASTICITY FOR EXPERIMENTAL ANALYSYS OF OPERATIONAL MODAL SHAPES APPLICATION OF THE DISCRETE WAVELET TRANSFORM TO THE DETECTION OF CATASTROPHIC TOOL BREAKAGE DURING DRILLING OF AERONAUTICAL STRUCTURAL COMPONENTS CURRENT STATUS, CHALLENGES AND PROSPECTS OF CONTROLLED NUCLEAR FUSION: THE ECONOMICS
×
引用
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