pub struct SummaryTotals {Show 23 fields
pub files_considered: u64,
pub files_analyzed: u64,
pub files_skipped: u64,
pub total_physical_lines: u64,
pub code_lines: u64,
pub comment_lines: u64,
pub blank_lines: u64,
pub mixed_lines_separate: u64,
pub functions: u64,
pub classes: u64,
pub variables: u64,
pub imports: u64,
pub test_count: u64,
pub test_assertion_count: u64,
pub test_suite_count: u64,
pub coverage_lines_found: u64,
pub coverage_lines_hit: u64,
pub coverage_functions_found: u64,
pub coverage_functions_hit: u64,
pub coverage_branches_found: u64,
pub coverage_branches_hit: u64,
pub cyclomatic_complexity: u64,
pub lsloc: Option<u64>,
}Fields§
§files_considered: u64§files_analyzed: u64§files_skipped: u64§total_physical_lines: u64§code_lines: u64§comment_lines: u64§blank_lines: u64§mixed_lines_separate: u64§functions: u64§classes: u64§variables: u64§imports: u64§test_count: u64§test_assertion_count: u64Lexically detected test assertion call lines across all analyzed files.
test_suite_count: u64Lexically detected test suite / fixture / group declaration lines across all analyzed files.
coverage_lines_found: u64Aggregated from LCOV data when provided.
coverage_lines_hit: u64§coverage_functions_found: u64§coverage_functions_hit: u64§coverage_branches_found: u64§coverage_branches_hit: u64§cyclomatic_complexity: u64Sum of per-file cyclomatic complexity scores across all analyzed files.
lsloc: Option<u64>Total logical SLOC across files that support it; None if no files produced LSLOC.
Trait Implementations§
Source§impl Clone for SummaryTotals
impl Clone for SummaryTotals
Source§fn clone(&self) -> SummaryTotals
fn clone(&self) -> SummaryTotals
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SummaryTotals
impl Debug for SummaryTotals
Source§impl Default for SummaryTotals
impl Default for SummaryTotals
Source§fn default() -> SummaryTotals
fn default() -> SummaryTotals
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SummaryTotals
impl<'de> Deserialize<'de> for SummaryTotals
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
Source§impl From<&SummaryTotals> for ScanSummarySnapshot
impl From<&SummaryTotals> for ScanSummarySnapshot
Source§fn from(t: &SummaryTotals) -> Self
fn from(t: &SummaryTotals) -> Self
Project the full per-run totals down to the lightweight registry/baseline snapshot. Centralises the field-by-field copy that callers (CLI baseline, web registry) would otherwise duplicate.
Auto Trait Implementations§
impl Freeze for SummaryTotals
impl RefUnwindSafe for SummaryTotals
impl Send for SummaryTotals
impl Sync for SummaryTotals
impl Unpin for SummaryTotals
impl UnsafeUnpin for SummaryTotals
impl UnwindSafe for SummaryTotals
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