方法对比
并排查看您选择的方法;存在差异的行会高亮显示。
| 代码覆盖率分析× | 缺陷预测模型× | |
|---|---|---|
| 领域 | 软件工程 | 软件工程 |
| 方法族 | Process / pipeline | Process / pipeline |
| 起源年份≠ | 1988 | 2005 |
| 提出者≠ | Test Coverage Community | Thomas Ostrand, Elaine Weyuker, Robert Bell |
| 类型≠ | measurement and analysis | machine learning model |
| 开创性文献≠ | 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 ↗ | Ostrand, T. J., Weyuker, E. J., & Bell, R. M. (2005). Predicting the location and number of faults in large software systems. IEEE Transactions on Software Engineering, 31(4), 340–355. DOI ↗ |
| 别名 | coverage metrics, test coverage, instrumentation-based measurement | fault prediction, bug prediction, defect classification |
| 相关 | 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. | Defect prediction models forecast the likelihood of software faults in code modules using statistical or machine learning approaches. Pioneered by Ostrand, Weyuker, and Bell (2005), these models correlate code metrics (complexity, churn, coupling) with historical defect data to identify high-risk components. Organizations use predictions to allocate testing resources, guide code review, and prioritize refactoring. |
| ScholarGate数据集 ↗ |
|
|