ScholarGate
助手
Process / pipelineTest measurement

代码覆盖率分析

代码覆盖率分析衡量测试套件执行源代码的程度,量化了哪些行、分支或路径被执行。工具通过instrumentation(插桩)来跟踪执行,报告覆盖率百分比并识别未测试的区域。覆盖率分析指导测试创建,检测死代码,并在质量保证过程中验证测试的充分性。

在 MethodMind 中打开即将推出视频即将推出Download slides

阅读完整方法

仅限会员

使用免费账户登录即可阅读本节。

登录

Method map

The neighbourhood of related methods — select a node to explore.

来源

  1. 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
  2. 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
  3. 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

被引用于

ScholarGateCode Coverage Analysis (Code Coverage Measurement and Analysis). 于 2026-06-15 检索自 https://scholargate.app/zh/software-engineering/code-coverage-analysis · 数据集: https://doi.org/10.5281/zenodo.20539026