{"title":"使用示例代码挖掘API调用模式的方法","authors":"ZiHao Xia, Linhui Zhong, Chaoyi Yang, JunJie Mo, RongJing Gao, HaoRan Chen","doi":"10.1109/ICSESS54813.2022.9930263","DOIUrl":null,"url":null,"abstract":"In the process of software development, developers usually use API to improve development efficiency and code reuse rate. API provides developers with a set of accessible services, and developers do not need to care about the internal source code of API, which greatly reduces the workload of developers. Due to the increasing scale and complexity of modern software, more and more APIs are used by developers in software. In order to solve the problem of insufficient recall rate in up miner, this paper proposes an API call pattern mining method based on examples, be miner, which collects data from some Q&A websites, such as stack Overflow, which extracts the API call sequences from some code examples, uses these API call sequences to mine the API call patterns that appear less frequently in the project, and does not produce a large number of redundant results. The experimental results show that the API call pattern mining method based on example can effectively mine the call patterns that appear less frequently in the project from the source program, and has higher recall rate and F-measure value than up-miner.","PeriodicalId":265412,"journal":{"name":"2022 IEEE 13th International Conference on Software Engineering and Service Science (ICSESS)","volume":"35 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Method for Mining API Call Pattern Using Sample Codes\",\"authors\":\"ZiHao Xia, Linhui Zhong, Chaoyi Yang, JunJie Mo, RongJing Gao, HaoRan Chen\",\"doi\":\"10.1109/ICSESS54813.2022.9930263\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In the process of software development, developers usually use API to improve development efficiency and code reuse rate. API provides developers with a set of accessible services, and developers do not need to care about the internal source code of API, which greatly reduces the workload of developers. Due to the increasing scale and complexity of modern software, more and more APIs are used by developers in software. In order to solve the problem of insufficient recall rate in up miner, this paper proposes an API call pattern mining method based on examples, be miner, which collects data from some Q&A websites, such as stack Overflow, which extracts the API call sequences from some code examples, uses these API call sequences to mine the API call patterns that appear less frequently in the project, and does not produce a large number of redundant results. The experimental results show that the API call pattern mining method based on example can effectively mine the call patterns that appear less frequently in the project from the source program, and has higher recall rate and F-measure value than up-miner.\",\"PeriodicalId\":265412,\"journal\":{\"name\":\"2022 IEEE 13th International Conference on Software Engineering and Service Science (ICSESS)\",\"volume\":\"35 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-10-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE 13th International Conference on Software Engineering and Service Science (ICSESS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICSESS54813.2022.9930263\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 13th International Conference on Software Engineering and Service Science (ICSESS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSESS54813.2022.9930263","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Method for Mining API Call Pattern Using Sample Codes
In the process of software development, developers usually use API to improve development efficiency and code reuse rate. API provides developers with a set of accessible services, and developers do not need to care about the internal source code of API, which greatly reduces the workload of developers. Due to the increasing scale and complexity of modern software, more and more APIs are used by developers in software. In order to solve the problem of insufficient recall rate in up miner, this paper proposes an API call pattern mining method based on examples, be miner, which collects data from some Q&A websites, such as stack Overflow, which extracts the API call sequences from some code examples, uses these API call sequences to mine the API call patterns that appear less frequently in the project, and does not produce a large number of redundant results. The experimental results show that the API call pattern mining method based on example can effectively mine the call patterns that appear less frequently in the project from the source program, and has higher recall rate and F-measure value than up-miner.