- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Evaluating Code Duplication Detection Techniques Van 评估代码复制检测技术范
Evaluating Code Duplication Detection TechniquesFilip Van Rysselberghe and Serge DemeyerLab On Re-EngineeringUniversity Of Antwerp Duplicated Code (a.k.a. code clone) Code duplication occurs when developers systematically copy previously existing code which solved a problem similar to the one they are currently trying to solve. Typically 5% to 10% of code, up to 50%. Variety of reasons duplication occurs. Associated Problems Errors can be difficult to fix. Change in requirements may be difficult to implement. Code size unnecessarily increased. Can lead to unused, dead code. Can be indicative of design problems. Bugs may be copied as well. Evaluating Duplicated Code Detection Techniques Authors set out to evaluate the qualities of several clone detection techniques and determine where they fit best into the software maintenance process. Compares 3 representative techniques on 5 small to medium size cases. Duplication Detection Techniques Authors suggest there are three groups of methods of detecting duplicated code: String based Token based Parse-tree based Research Structure Goal Questions Experimental Setup Selected Cases ScoreMaster TextEdit Brahms Jmocha JavaParser of JMetric Results: Portability Simple line matching most portable. Parameterized line matching and suffix tree matching are fairly portable. Metric based matching least portable. Results: What Kind of Matches Found? Metrics based approach find function block duplication. Simple string matching finds equal lines. Parameterized line matching finds duplicated lines. Suffix tree matching finds duplicated series of tokens. Results: Accuracy Number of false matches: Parameterized suffix tree matching and simple line matching find no false matches. Parameterized line matching finds few false matches. Metrics based matching finds many false positives when applying metrics to block fragments, only a few when applying to methods. Results: Accuracy Number of useless matches: Both parameterized methods retu
您可能关注的文档
- AT89C52单片机为核心电烤箱温度控制系统单片机课程设计.docx
- Android平台音乐视频播放器论文.doc
- AT89S52单片机温度湿度计论文.doc
- APS发病机制研究.ppt
- AntiEGFR作用机制.ppt
- AutoCAD螺纹联结相关图形快速绘制二次开发.doc
- AUTOCAD图纸转换为MAPINFO图纸方法.doc
- autocad机械制图中文字标注.ppt
- A公司薪酬公平性调查及提升机制.docx
- AutoCAD 建筑图形尺寸标注.ppt
- ERP课程设计报告ERP供应链流程体验.doc
- Evaluation of Childhood Cancer Incidence in Sandwich, MA …在三明治儿童癌症发病率评价,马….ppt
- Evidence of Chemical Reactions Sherwood Middle School舍伍德中学化学反应证据.ppt
- eWaste Policy Initiatives Solid Waste Management电子垃圾政策倡议固体废物管理.ppt
- Evaluation of Results of the Chagas Incidence 结果评价发病率.ppt
- Exact solution of the diffusionconvection equation in 在对流扩散方程精确解.ppt
- Evolving Patterns Of Use Of Aldosterone Inhibition In Chronic 在慢性醛固酮抑制使用演化模式.ppt
- Evaluation des risques professionnels « Document Unique »风险评估专业人士# 171;单文档和# 187;.ppt
- Excellence Begins With… Accurate Income Calculations BPRO卓越开始……准确收入计算 BPRO.ppt
- Examples of age discrimination Horus becomes Globule bleu年龄歧视例子荷露斯成为球蓝.doc
文档评论(0)