Skip to main content

Module signals

Module signals 

Source

Re-exports§

pub use crate::detectors::CodeSmellsDetector;
pub use crate::detectors::DuplicationDetector;
pub use crate::detectors::LegacyCodeDetector;
pub use crate::detectors::LineCountSmellDetector;
pub use crate::detectors::NamingChaosDetector;
pub use crate::detectors::NestedHellDetector;
pub use crate::detectors::PanicAddictionDetector;
pub use crate::detectors::TodoMountainDetector;

Structs§

LanguageCapabilityMatrix
Tracks which StyleSignals are detectable per language.
StyleProfile
StyleProfile is the intermediate representation between signal scores and personality inference. It holds the normalized signal vector and derives the dominant personality type from it.

Enums§

StyleSignal

Traits§

SignalDetector
Direct signal detector that produces StyleSignal scores from parsed code.

Functions§

aggregate_detector_scores
Aggregate scores from all detectors across all parsed files.
classify_rule
compute_signal_scores
violations_to_score
Helpers for converting raw violations to density-normalized signal scores.