Module statistics

Module statistics 

Source
Expand description

§Graph Statistics and Analysis for Dependency Graphs

Comprehensive statistical analysis and metrics computation for code dependency graphs. This module provides detailed insights into graph structure, connectivity patterns, and characteristics that are essential for understanding codebase architecture.

§Key Features

  • Degree Distribution Analysis: In-degree, out-degree, and total degree statistics
  • Connectivity Metrics: Strongly connected components, graph density, clustering
  • Structural Patterns: Hub detection, authority identification, bottleneck analysis
  • Import Relationship Insights: Dependency depth, fan-in/fan-out analysis
  • Performance Characteristics: Memory usage, computation complexity estimates
  • Comparative Analysis: Before/after graph evolution tracking

Structs§

AnalysisMetadata
Analysis execution metadata
CircularDependency
Circular dependency information
ConnectivityAnalysis
Graph connectivity and component analysis
DegreeDistribution
Detailed degree distribution statistics
DegreeStats
Statistical measures for degree sequences
DependencyPath
Important dependency path
GraphAnalysisResults
Comprehensive graph analysis results
GraphStatisticsAnalyzer
Main graph statistics analyzer
ImportInsights
Import relationship specific insights
NodeInfo
Information about important nodes
PerformanceProfile
Performance characteristics of the graph
StatisticsConfig
Configuration for statistics computation
StorageEfficiency
Storage and memory efficiency metrics
StructuralPatterns
Structural patterns and notable nodes
TraversalComplexity
Complexity analysis for graph algorithms