pub enum IssueType {
Show 13 variants
GlobalComplexity,
CascadingChangeRisk,
InappropriateIntimacy,
HighEfferentCoupling,
HighAfferentCoupling,
UnnecessaryAbstraction,
CircularDependency,
ShallowModule,
PassThroughMethod,
HighCognitiveLoad,
GodModule,
PublicFieldExposure,
PrimitiveObsession,
}Expand description
Types of coupling problems
Variants§
GlobalComplexity
Strong coupling spanning a long distance
CascadingChangeRisk
Strong coupling to a frequently changing component
InappropriateIntimacy
Intrusive coupling across boundaries (field/internals access)
HighEfferentCoupling
A module with too many dependencies
HighAfferentCoupling
A module that too many others depend on
UnnecessaryAbstraction
Weak coupling where stronger might be appropriate
CircularDependency
Circular dependency detected
ShallowModule
Module with interface complexity close to implementation complexity
PassThroughMethod
Method that only delegates to another method without adding value
HighCognitiveLoad
Module requiring too much knowledge to understand/modify
GodModule
Module with too many functions, types, or implementations
PublicFieldExposure
Public fields exposed to external modules (should use getters/methods)
PrimitiveObsession
Functions with too many primitive parameters (consider newtype)
Implementations§
Trait Implementations§
impl Copy for IssueType
impl Eq for IssueType
impl StructuralPartialEq for IssueType
Auto Trait Implementations§
impl Freeze for IssueType
impl RefUnwindSafe for IssueType
impl Send for IssueType
impl Sync for IssueType
impl Unpin for IssueType
impl UnsafeUnpin for IssueType
impl UnwindSafe for IssueType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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