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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! # Mutation Core
//!
//! A mutation testing tool for Bitcoin Core written in Rust.
//!
//! This library provides functionality to:
//! - Generate mutants for Bitcoin Core source code
//! - Analyze mutants by running tests against them
//! - Generate detailed reports of surviving mutants
//! - AST-based arid node detection to filter unproductive mutants
//!
//! ## Example
//!
//! ```rust,no_run
//! use bcore_mutation::mutation;
//! use bcore_mutation::project::Project;
//! use std::collections::HashMap;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Generate mutants for a specific file with AST filtering
//! mutation::run_mutation(
//! Project::BitcoinCore, // project
//! None, // PR number
//! Some("src/test.cpp".into()), // file path
//! false, // one_mutant
//! false, // only_security_mutations
//! None, // range_lines
//! None, // coverage
//! false, // test_only
//! HashMap::new(), // skip_lines
//! true, // enable_ast_filtering
//! None, // custom_expert_rule
//! None, // sqlite_path
//! ).await?;
//!
//! Ok(())
//! }
//! ```
pub use ;
/// Re-export commonly used types