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>,
}Expand description
Complete project balance analysis report
Fields§
§total_couplings: usize§balanced_count: usize§needs_review: usize§needs_refactoring: usize§average_score: f64§health_grade: HealthGrade§issues_by_severity: HashMap<Severity, usize>§issues_by_type: HashMap<IssueType, usize>§issues: Vec<CouplingIssue>§top_priorities: Vec<CouplingIssue>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
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