{"title":"神经元覆盖率与代码覆盖率相关性的实证研究","authors":"Yahui Li, Guangjie Li","doi":"10.1109/ISCTIS58954.2023.10213091","DOIUrl":null,"url":null,"abstract":"Deep learning techniques have been widely used in many important areas. Therefore, testing of deep neural network is very important. In recent years, a few neuron coverage metrics have been proposed that are similar to the concept of traditional code coverage metrics. However, it is little known how such neuron coverage metrics are related to the traditional code coverage metrics. In this paper, we propose an automated approach to correlating neuron coverage to traditional code coverage and based on the approach we conduct an empirical study on the correlation between neuron coverage and code coverage. The experimental results confirm that neuron coverage is positive correlate to code coverage in testing individual Java methods. Our result also suggests that we do not have to reach a high neuron coverage because it may request much more test cases than those requested by high code coverage. To the best of our knowledge, we are the first to investigate the correlation between neuron coverage and code coverage.","PeriodicalId":334790,"journal":{"name":"2023 3rd International Symposium on Computer Technology and Information Science (ISCTIS)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-07-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An Empirical Study on the Correlation between Neuron Coverage and Code Coverage\",\"authors\":\"Yahui Li, Guangjie Li\",\"doi\":\"10.1109/ISCTIS58954.2023.10213091\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Deep learning techniques have been widely used in many important areas. Therefore, testing of deep neural network is very important. In recent years, a few neuron coverage metrics have been proposed that are similar to the concept of traditional code coverage metrics. However, it is little known how such neuron coverage metrics are related to the traditional code coverage metrics. In this paper, we propose an automated approach to correlating neuron coverage to traditional code coverage and based on the approach we conduct an empirical study on the correlation between neuron coverage and code coverage. The experimental results confirm that neuron coverage is positive correlate to code coverage in testing individual Java methods. Our result also suggests that we do not have to reach a high neuron coverage because it may request much more test cases than those requested by high code coverage. To the best of our knowledge, we are the first to investigate the correlation between neuron coverage and code coverage.\",\"PeriodicalId\":334790,\"journal\":{\"name\":\"2023 3rd International Symposium on Computer Technology and Information Science (ISCTIS)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-07-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 3rd International Symposium on Computer Technology and Information Science (ISCTIS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISCTIS58954.2023.10213091\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 3rd International Symposium on Computer Technology and Information Science (ISCTIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISCTIS58954.2023.10213091","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
An Empirical Study on the Correlation between Neuron Coverage and Code Coverage
Deep learning techniques have been widely used in many important areas. Therefore, testing of deep neural network is very important. In recent years, a few neuron coverage metrics have been proposed that are similar to the concept of traditional code coverage metrics. However, it is little known how such neuron coverage metrics are related to the traditional code coverage metrics. In this paper, we propose an automated approach to correlating neuron coverage to traditional code coverage and based on the approach we conduct an empirical study on the correlation between neuron coverage and code coverage. The experimental results confirm that neuron coverage is positive correlate to code coverage in testing individual Java methods. Our result also suggests that we do not have to reach a high neuron coverage because it may request much more test cases than those requested by high code coverage. To the best of our knowledge, we are the first to investigate the correlation between neuron coverage and code coverage.