An Empirical Study on the Correlation between Neuron Coverage and Code Coverage

Yahui Li, Guangjie Li
{"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}
引用次数: 0

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.
神经元覆盖率与代码覆盖率相关性的实证研究
深度学习技术已广泛应用于许多重要领域。因此,对深度神经网络的测试是非常重要的。近年来,人们提出了一些与传统代码覆盖率指标概念类似的神经元覆盖率指标。然而,这种神经元覆盖指标与传统的代码覆盖指标之间的关系却鲜为人知。本文提出了一种自动关联神经元覆盖率与传统代码覆盖率的方法,并在此基础上对神经元覆盖率与代码覆盖率之间的相关性进行了实证研究。实验结果证实,在测试单个Java方法时,神经元覆盖率与代码覆盖率呈正相关。我们的结果还表明,我们不必达到高神经元覆盖率,因为它可能需要比高代码覆盖率要求的测试用例多得多的测试用例。据我们所知,我们是第一个研究神经元覆盖率和代码覆盖率之间相关性的人。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信