pub struct ProjectBalanceReport {
pub total_couplings: usize,
pub balanced_count: usize,
pub needs_review: usize,
pub needs_refactoring: usize,
pub average_score: f64,
pub health_grade: HealthGrade,
pub issues_by_severity: HashMap<Severity, usize>,
pub issues_by_type: HashMap<IssueType, usize>,
pub issues: Vec<CouplingIssue>,
pub top_priorities: Vec<CouplingIssue>,
pub grade_rationale: GradeRationale,
}Expand description
Complete project balance analysis report
Fields§
§total_couplings: usizeTotal couplings considered in the report.
balanced_count: usizeNumber of internal couplings considered balanced or acceptable.
needs_review: usizeNumber of internal couplings that need review.
needs_refactoring: usizeNumber of internal couplings that need refactoring.
average_score: f64Average balance score across internal couplings.
health_grade: HealthGradeOverall project health grade derived from issue density.
issues_by_severity: HashMap<Severity, usize>Issue counts grouped by severity.
issues_by_type: HashMap<IssueType, usize>Issue counts grouped by issue type.
issues: Vec<CouplingIssue>All detected issues after threshold and strict-mode filtering.
top_priorities: Vec<CouplingIssue>Highest-priority issues selected for concise reporting.
grade_rationale: GradeRationaleConcise explanation of why the health grade was assigned.
Implementations§
Source§impl ProjectBalanceReport
impl ProjectBalanceReport
Sourcepub fn issues_grouped_by_type(&self) -> HashMap<IssueType, Vec<&CouplingIssue>>
pub fn issues_grouped_by_type(&self) -> HashMap<IssueType, Vec<&CouplingIssue>>
Get issues grouped by type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProjectBalanceReport
impl RefUnwindSafe for ProjectBalanceReport
impl Send for ProjectBalanceReport
impl Sync for ProjectBalanceReport
impl Unpin for ProjectBalanceReport
impl UnsafeUnpin for ProjectBalanceReport
impl UnwindSafe for ProjectBalanceReport
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more