Skip to main content

Module analysis

Module analysis 

Source
Expand description

Semantic analysis algorithms.

Re-exports§

pub use analysis_similarity::SimilarityMethod;
pub use analysis_similarity::compute_similarity;
pub use hot_spots::HotEventKind;
pub use hot_spots::HotSpot;
pub use hot_spots::HotSpotKey;
pub use hot_spots::HotSpotKeyValue;
pub use hot_spots::HotSpotParams;
pub use hot_spots::HotSpotsReport;
pub use hot_spots::analyze_actor_histogram;
pub use hot_spots::analyze_hot_spots;

Modules§

analysis_similarity
Similarity computation utilities.
hot_spots
Longitudinal hot-spot aggregation across commit history.

Structs§

AggregatedChange
A group of related semantic changes collapsed into one review unit.
AggregationResult
Result of aggregation: ungrouped changes + aggregate groups.
BlastRadius
Blast radius result for a set of changed functions.
CallGraph
The call graph for a set of files.
CallGraphNode
A node in the call graph: a function definition.
FunctionKey
A directed edge: caller calls callee.

Enums§

AggregateKind
What kind of aggregate group this is.

Functions§

aggregate_changes
Aggregate a flat list of semantic changes into groups where possible.
classify_modification
Classify what kind of modification happened to a file and its review importance.
classify_modification_with_confidence
Like classify_modification but also returns a confidence score.
detect_file_renames
Detect file renames by comparing deleted and added files.
detect_function_changes
Detect function-level changes between two file versions.
detect_import_changes
Detect import/dependency changes between two file versions.
detect_import_changes_with_manifest
Detect import changes with optional manifest for version resolution.