Skip to main content

semantic/analysis/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2//! Semantic analysis algorithms.
3
4mod analysis_aggregate;
5mod analysis_classify;
6mod analysis_functions;
7mod analysis_graph;
8mod analysis_imports;
9mod analysis_renames;
10pub mod analysis_similarity;
11pub mod hot_spots;
12
13#[cfg(test)]
14mod analysis_tests;
15
16pub use analysis_aggregate::{
17    AggregateKind, AggregatedChange, AggregationResult, aggregate_changes,
18};
19pub use analysis_classify::{classify_modification, classify_modification_with_confidence};
20pub use analysis_functions::detect_function_changes;
21pub(crate) use analysis_functions::detect_function_changes_with_parsed;
22pub use analysis_graph::{BlastRadius, CallGraph, CallGraphNode, FunctionKey};
23pub(crate) use analysis_imports::detect_import_changes_with_parsed;
24pub use analysis_imports::{detect_import_changes, detect_import_changes_with_manifest};
25pub use analysis_renames::detect_file_renames;
26pub use analysis_similarity::{SimilarityMethod, compute_similarity};
27pub use hot_spots::{
28    HotEventKind, HotSpot, HotSpotKey, HotSpotKeyValue, HotSpotParams, HotSpotsReport,
29    analyze_actor_histogram, analyze_hot_spots,
30};