ScholarGate
Ассистент

Сравнение методов

Просматривайте выбранные методы рядом; строки с различиями подсвечены.

Цикломатическая сложность×Сложность Хэлстеда×
ОбластьЧисленные методыЧисленные методы
СемействоMachine learningMachine learning
Год появления19761977
Автор методаThomas McCabeMaurice Halstead
ТипControl-flow complexity metricStatic code analysis metric
Основополагающий источникMcCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, SE-2(4), 308–320. DOI ↗Halstead, M. H. (1977). Elements of Software Science. Elsevier. ISBN: 0444002057
Другие названияCC, cyclomatic number, McCabe complexityHalstead metrics, program length, volume metric
Связанные11
Сводка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.Halstead 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.
ScholarGateНабор данных
  1. v1
  2. 3 Источники
  3. PUBLISHED
  1. v1
  2. 3 Источники
  3. PUBLISHED

Перейти к поиску Скачать слайды

ScholarGateСравнение методов: Cyclomatic Complexity · Halstead Complexity. Получено 2026-06-15 из https://scholargate.app/ru/compare