ScholarGate
Trợ lý

So sánh phương pháp

Xem các phương pháp đã chọn cạnh nhau; những hàng khác biệt được làm nổi bật.

Độ phức tạp Halstead×Cyclomatic Complexity×
Lĩnh vựcPhương pháp sốPhương pháp số
HọMachine learningMachine learning
Năm ra đời19771976
Người khởi xướngMaurice HalsteadThomas McCabe
LoạiStatic code analysis metricControl-flow complexity metric
Công trình gốcHalstead, M. H. (1977). Elements of Software Science. Elsevier. ISBN: 0444002057McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, SE-2(4), 308–320. DOI ↗
Tên gọi khácHalstead metrics, program length, volume metricCC, cyclomatic number, McCabe complexity
Liên quan11
Tóm tắtHalstead Complexity Metrics are a set of static code analysis measures developed by Maurice Halstead in 1977 that quantify software quality using operator and operand counts. Metrics like program volume, difficulty, and effort estimate code complexity, maintainability, and defect likelihood from source code structure alone.Cyclomatic Complexity (CC), introduced by Thomas McCabe in 1976, is a quantitative metric measuring the number of linearly independent paths through a function's control-flow graph. A function with high cyclomatic complexity is harder to understand, test, and maintain; McCabe advocated a threshold of 10 as the complexity limit for maintainability.
ScholarGateBộ dữ liệu
  1. v1
  2. 3 Nguồn tài liệu
  3. PUBLISHED
  1. v1
  2. 3 Nguồn tài liệu
  3. PUBLISHED

Đến trang tìm kiếm Tải xuống bản trình chiếu

ScholarGateSo sánh phương pháp: Halstead Complexity · Cyclomatic Complexity. Truy cập ngày 2026-06-15 từ https://scholargate.app/vi/compare