Process / pipelineTest measurement
代码覆盖率分析
代码覆盖率分析衡量测试套件执行源代码的程度,量化了哪些行、分支或路径被执行。工具通过instrumentation(插桩)来跟踪执行,报告覆盖率百分比并识别未测试的区域。覆盖率分析指导测试创建,检测死代码,并在质量保证过程中验证测试的充分性。
阅读完整方法
仅限会员
登录使用免费账户登录即可阅读本节。
Method map
The neighbourhood of related methods — select a node to explore.
来源
- Zhu, H., Hall, P. A. V., & May, J. H. R. (1997). Software unit test coverage and adequacy. ACM Computing Surveys, 29(4), 366–427. DOI: 10.1145/267580.267590 ↗
- Frankl, P. G., & Weiss, S. N. (1988). An experimental comparison of the effectiveness of branch testing and data flow testing. IEEE Transactions on Software Engineering, 14(12), 1763–1773. link ↗
- Corbet, J. (2008). Code coverage for the Linux kernel. Linux Weekly News article. link ↗
如何引用本页
ScholarGate. (2026, June 3). Code Coverage Measurement and Analysis. ScholarGate. https://scholargate.app/zh/software-engineering/code-coverage-analysis
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
Compare side by side →