pub struct ConfigQualityAnalyzer;Implementations§
Source§impl ConfigQualityAnalyzer
impl ConfigQualityAnalyzer
Sourcepub fn analyze(
config_files: &[ConfigFile],
known_files: &HashSet<String>,
) -> ConfigQualityResult
pub fn analyze( config_files: &[ConfigFile], known_files: &HashSet<String>, ) -> ConfigQualityResult
Analyze the quality of configuration files (CLAUDE.md, .claude/instructions, README.md).
config_files: the config files found in the project
known_files: set of all known file paths (for validating file references)
Sourcepub fn blend_agents_md_score(
config_result: &mut ConfigQualityResult,
agents_md_score: f64,
)
pub fn blend_agents_md_score( config_result: &mut ConfigQualityResult, agents_md_score: f64, )
Blend AGENTS.md score into an existing config quality result.
Call this after analyze() to incorporate AGENTS.md quality.
Uses a 70/30 blend: 70% original config score + 30% AGENTS.md score.
Has no effect if agents_md_score is 0.0 (file not found or empty).
Auto Trait Implementations§
impl Freeze for ConfigQualityAnalyzer
impl RefUnwindSafe for ConfigQualityAnalyzer
impl Send for ConfigQualityAnalyzer
impl Sync for ConfigQualityAnalyzer
impl Unpin for ConfigQualityAnalyzer
impl UnsafeUnpin for ConfigQualityAnalyzer
impl UnwindSafe for ConfigQualityAnalyzer
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