{"title":"CodeSonar (R)扩展复制-粘贴-(Mis)适应错误检测","authors":"Petru Florin Mihancea, Roger Scott","doi":"10.1109/ICSME.2019.00065","DOIUrl":null,"url":null,"abstract":"Copy-paste programming is risky. One danger is that it may introduce hard-to-spot bugs in programs due to incomplete or inconsistent adaptation of the original code in the copy. In this tool demo paper we present an extension of the CodeSonar (R) static analysis tool that detects this kind of problems in C/C++ systems. To tune its accuracy, the tool was equipped with an extensible, rich set of novel filtering heuristics. Using it, we have identified several bugs in multiple open-source projects, errors that were confirmed by the maintainers.","PeriodicalId":106748,"journal":{"name":"2019 IEEE International Conference on Software Maintenance and Evolution (ICSME)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2019-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"CodeSonar (R) Extension for Copy-Paste-(Mis) Adapt Error Detection\",\"authors\":\"Petru Florin Mihancea, Roger Scott\",\"doi\":\"10.1109/ICSME.2019.00065\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Copy-paste programming is risky. One danger is that it may introduce hard-to-spot bugs in programs due to incomplete or inconsistent adaptation of the original code in the copy. In this tool demo paper we present an extension of the CodeSonar (R) static analysis tool that detects this kind of problems in C/C++ systems. To tune its accuracy, the tool was equipped with an extensible, rich set of novel filtering heuristics. Using it, we have identified several bugs in multiple open-source projects, errors that were confirmed by the maintainers.\",\"PeriodicalId\":106748,\"journal\":{\"name\":\"2019 IEEE International Conference on Software Maintenance and Evolution (ICSME)\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2019 IEEE International Conference on Software Maintenance and Evolution (ICSME)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICSME.2019.00065\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE International Conference on Software Maintenance and Evolution (ICSME)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSME.2019.00065","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
CodeSonar (R) Extension for Copy-Paste-(Mis) Adapt Error Detection
Copy-paste programming is risky. One danger is that it may introduce hard-to-spot bugs in programs due to incomplete or inconsistent adaptation of the original code in the copy. In this tool demo paper we present an extension of the CodeSonar (R) static analysis tool that detects this kind of problems in C/C++ systems. To tune its accuracy, the tool was equipped with an extensible, rich set of novel filtering heuristics. Using it, we have identified several bugs in multiple open-source projects, errors that were confirmed by the maintainers.