pub struct BusFactor {
pub bus_factor_schema_version: u32,
pub coverage_threshold: f64,
pub doa_threshold: f64,
pub repo: GroupBusFactor,
pub by_directory: Vec<DirectoryBusFactor>,
}Available on crate feature
vcs-git only.Expand description
The full bus-factor aggregate: repo-level plus per-directory.
Field order keeps the scalars before the nested tables so the report serialises cleanly to TOML (values must precede tables); JSON / YAML readers are order-insensitive.
Fields§
§bus_factor_schema_version: u32Schema / algorithm version (BUS_FACTOR_SCHEMA_VERSION).
coverage_threshold: f64Coverage (abandonment) threshold actually applied, in (0, 1).
doa_threshold: f64Normalised-DoA authorship threshold (DOA_NORMALIZED_THRESHOLD).
repo: GroupBusFactorBus factor over the whole repository.
by_directory: Vec<DirectoryBusFactor>Bus factor for each top-level directory and each of its immediate subdirectories, sorted by directory path.
Trait Implementations§
impl StructuralPartialEq for BusFactor
Auto Trait Implementations§
impl Freeze for BusFactor
impl RefUnwindSafe for BusFactor
impl Send for BusFactor
impl Sync for BusFactor
impl Unpin for BusFactor
impl UnsafeUnpin for BusFactor
impl UnwindSafe for BusFactor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more