1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Statistics aggregation module
//!
//! This module provides comprehensive statistics aggregation capabilities,
//! combining different types of statistics (basic, complexity, time, ratios)
//! into unified aggregated statistics.
//!
//! ## Structure
//!
//! - `types` - Core data structures for aggregated statistics
//! - `aggregator` - Main aggregator interface for combining statistics
//! - `merging` - Logic for merging multiple statistics together
//!
//! ## Usage
//!
//! ```rust
//! use howmany::core::stats::aggregation::StatsAggregator;
//!
//! let aggregator = StatsAggregator::new();
//! // The aggregator is used to combine statistics from different calculators
//! // In real usage, you would pass actual stats from BasicStats, ComplexityStats, etc.
//! ```
// Re-export the main types and functionality
pub use StatsAggregator;
pub use StatsMerger;
pub use ;
// Convenience re-exports for common operations
pub use StatsAggregator as Aggregator;
pub use AggregatedStats as Stats;
/// Update timing information for aggregated statistics
///
/// This is a convenience function that delegates to StatsAggregator::update_timing