方法对比
并排查看您选择的方法;存在差异的行会高亮显示。
| 代码覆盖率分析× | 软件复杂度度量× | |
|---|---|---|
| 领域 | 软件工程 | 软件工程 |
| 方法族 | Process / pipeline | Process / pipeline |
| 起源年份≠ | 1988 | 1976 |
| 提出者≠ | Test Coverage Community | Thomas J. McCabe |
| 类型≠ | measurement and analysis | quantitative measurement |
| 开创性文献≠ | 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 ↗ | McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, 2(4), 308–320. DOI ↗ |
| 别名≠ | coverage metrics, test coverage, instrumentation-based measurement | code complexity analysis, complexity measurement |
| 相关 | 4 | 4 |
| 摘要≠ | Code coverage analysis measures the extent to which source code is executed by a test suite, quantifying which lines, branches, or paths are exercised. Tools instrument code to track execution, reporting coverage percentages and identifying untested regions. Coverage analysis guides test creation, detects dead code, and validates test adequacy in quality assurance processes. | Software complexity metrics quantify the structural and operational difficulty of code through numerical measurements. Introduced by Thomas McCabe in 1976, cyclomatic complexity became the foundational approach. These metrics assess maintainability, testability, and defect risk, enabling teams to identify problematic code regions and guide refactoring efforts. |
| ScholarGate数据集 ↗ |
|
|