Skip to main content

batuta/bug_hunter/localization/
mod.rs

1//! Advanced Fault Localization Module (BH-16 to BH-20)
2//!
3//! Implements research-based fault localization techniques:
4//! - BH-16: Mutation-Based Fault Localization (MBFL)
5//! - BH-17: Causal Fault Localization
6//! - BH-18: Predictive Mutation Testing
7//! - BH-19: Multi-Channel Fault Localization
8//! - BH-20: Semantic Crash Bucketing
9//!
10//! References:
11//! - Papadakis & Le Traon (2015) "Metallaxis-FL" - IEEE TSE
12//! - Baah et al. (2010) "Causal Inference for Statistical Fault Localization" - ISSTA
13//! - Zhang et al. (2018) "Predictive Mutation Testing" - IEEE TSE
14//! - Li et al. (2021) "DeepFL" - ISSTA
15//! - Cui et al. (2016) "RETracer" - ICSE
16
17mod crash_bucketing;
18mod multi_channel;
19mod scoring;
20
21pub use crash_bucketing::{CrashBucket, CrashBucketer, CrashInfo, RootCausePattern, StackFrame};
22pub use multi_channel::MultiChannelLocalizer;
23pub use scoring::{MutationData, ScoredLocation, SpectrumData, TestCoverage};
24
25#[cfg(test)]
26mod tests_crash_bucketing;
27#[cfg(test)]
28mod tests_multi_channel;
29#[cfg(test)]
30mod tests_scoring;
31#[cfg(test)]
32mod tests_semantic;