ScholarGate
Assistant

Comparer des méthodes

Examinez les méthodes sélectionnées côte à côte ; les lignes qui diffèrent sont mises en évidence.

Complexité de Halstead×Complexité cyclomatique×
DomaineMéthodes numériquesMéthodes numériques
FamilleMachine learningMachine learning
Année d'origine19771976
Auteur d'origineMaurice HalsteadThomas McCabe
TypeStatic code analysis metricControl-flow complexity metric
Source fondatriceHalstead, 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 ↗
AliasHalstead metrics, program length, volume metricCC, cyclomatic number, McCabe complexity
Apparentées11
Résumé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.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.
ScholarGateJeu de données
  1. v1
  2. 3 Sources
  3. PUBLISHED
  1. v1
  2. 3 Sources
  3. PUBLISHED

Aller à la recherche Télécharger les diapositives

ScholarGateComparer des méthodes: Halstead Complexity · Cyclomatic Complexity. Consulté le 2026-06-15 sur https://scholargate.app/fr/compare