pub struct FileBaselineEntry {
pub path: String,
pub code_lines: u64,
pub cyclomatic: u32,
pub cognitive: u32,
pub max_nesting: u32,
pub function_count: u32,
pub content_hash: Option<String>,
}Expand description
Per-file baseline entry for granular complexity tracking.
Fields§
§path: StringNormalized file path (forward slashes).
code_lines: u64Lines of code in this file.
cyclomatic: u32Cyclomatic complexity for this file.
cognitive: u32Cognitive complexity for this file.
max_nesting: u32Maximum nesting depth in this file.
function_count: u32Number of functions in this file.
content_hash: Option<String>BLAKE3 hash of file content for change detection.
Trait Implementations§
Source§impl Clone for FileBaselineEntry
impl Clone for FileBaselineEntry
Source§fn clone(&self) -> FileBaselineEntry
fn clone(&self) -> FileBaselineEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileBaselineEntry
impl Debug for FileBaselineEntry
Source§impl<'de> Deserialize<'de> for FileBaselineEntry
impl<'de> Deserialize<'de> for FileBaselineEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FileBaselineEntry
impl RefUnwindSafe for FileBaselineEntry
impl Send for FileBaselineEntry
impl Sync for FileBaselineEntry
impl Unpin for FileBaselineEntry
impl UnsafeUnpin for FileBaselineEntry
impl UnwindSafe for FileBaselineEntry
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