差异覆盖:自动化覆盖分析
Differential coverage: automating coverage analysis
摘要:
虽然自动化覆盖范围数据汇集很容易,但分析数据以便对其采取行动是一个耗时/困难/昂贵的手动过程。复杂性来自许多来源,其中未经测试或测试不佳的遗留代码和第三方库是最常见的两种。差异覆盖率和数据分箱是将覆盖率数据和项目/文件历史相结合的方法,以确定目标是否已经实现,并确定应该优先考虑的代码区域。这些方法可以应用于任何覆盖率度量,它可以与位置相关联-语句,函数,表达式,切换等-和任何语言,包括软件(C++,Python等)。和硬件描述语言(SystemVerilog,VHDL)。这些方法的目标是降低在大规模项目中使用覆盖数据分析的成本和进入障碍。该方法在最近发布的开源工具gendiffcov中实现。
英文摘要:
While it is easy to automate coverage data collection, it is a time consuming/difficult/expensive manual process to analyze the data so that it can be acted upon. Complexity arises from numerous sources, of which untested or poorly tested legacy code and third-party libraries are two of the most common. Differential coverage and date binning are methods of combining coverage data and project/file history to determine if goals have been met and to identify areas of code which should be prioritized. These methods can be applied to any coverage metric which can be associated with a location -- statement, function, expression, toggle, etc. -- and to any language, including both software (C++, Python, etc.) and hardware description languages (SystemVerilog, VHDL). The goal of these approaches is to reduce the cost and the barrier to entry of using coverage data analysis in large-scale projects. The approach is realized in gendiffcov, a recently released open-source tool.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。