{"title":"基于顺序和控制语句内容的代码克隆检测","authors":"M. Sudhamani, Lalitha Rangarajan","doi":"10.1109/IC3I.2016.7917935","DOIUrl":null,"url":null,"abstract":"In this paper, we propose a method to detect duplicate codes based on structure and content of control statements present in the source codes. The proposed method efficiently finds all types of clones. Similarity between two programs is identified by comparing metrics of programs. Metric of a program is computed using control statements, operators and operands present in the program. Proposed method is independent of programming languages. This approach is also useful to detect plagiarized programs in academic environment.","PeriodicalId":305971,"journal":{"name":"2016 2nd International Conference on Contemporary Computing and Informatics (IC3I)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":"{\"title\":\"Code clone detection based on order and content of control statements\",\"authors\":\"M. Sudhamani, Lalitha Rangarajan\",\"doi\":\"10.1109/IC3I.2016.7917935\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper, we propose a method to detect duplicate codes based on structure and content of control statements present in the source codes. The proposed method efficiently finds all types of clones. Similarity between two programs is identified by comparing metrics of programs. Metric of a program is computed using control statements, operators and operands present in the program. Proposed method is independent of programming languages. This approach is also useful to detect plagiarized programs in academic environment.\",\"PeriodicalId\":305971,\"journal\":{\"name\":\"2016 2nd International Conference on Contemporary Computing and Informatics (IC3I)\",\"volume\":\"11 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"12\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2016 2nd International Conference on Contemporary Computing and Informatics (IC3I)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IC3I.2016.7917935\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 2nd International Conference on Contemporary Computing and Informatics (IC3I)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IC3I.2016.7917935","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Code clone detection based on order and content of control statements
In this paper, we propose a method to detect duplicate codes based on structure and content of control statements present in the source codes. The proposed method efficiently finds all types of clones. Similarity between two programs is identified by comparing metrics of programs. Metric of a program is computed using control statements, operators and operands present in the program. Proposed method is independent of programming languages. This approach is also useful to detect plagiarized programs in academic environment.