Machine learningSoftware Metrics
Halstead Complexity
Halstead Complexity Metrics 是一组由 Maurice Halstead 于 1977 年开发的静态代码分析度量,它使用算子和操作数计数来量化软件质量。诸如程序体积、难度和工作量之类的度量仅从源代码结构就可估算代码的复杂性、可维护性和缺陷可能性。
阅读完整方法
仅限会员
登录使用免费账户登录即可阅读本节。
Method map
The neighbourhood of related methods — select a node to explore.
来源
- Halstead, M. H. (1977). Elements of Software Science. Elsevier. ISBN: 0444002057
- Kitchenham, B. A., Pickard, L. M., & Linkman, S. J. (1995). An empirical study of source code defects. IEEE Transactions on Software Engineering, 21(2), 147–156. link ↗
- Harrison, W. (2007). Using metrics to evaluate software system maintainability. IEEE Software, 24(4), 44–50. link ↗
如何引用本页
ScholarGate. (2026, June 3). Halstead Complexity Metrics. ScholarGate. https://scholargate.app/zh/numerical-methods/halstead-complexity
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 →