AI Slop Code RIsk Monitor

image-rs/image

Encoding and decoding images in Rust

4.6 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for image-rs/image, a Rust project with 5,887 GitHub stars. SynthScan examined 45,723 lines of code across 143 source files, recording 203 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 4.6 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.6
Adjusted Signal
4.6
Raw Pattern Score
100%
Time Factor
2026-09-15
Last Push
5.9K
Stars
Rust
Language
45.7K
Lines of Code
143
Files
203
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 203 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 0.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 0 finding(s).

PR Review Velocity Impact 20.7/100 · LOW

Which changes need focused human review? 203 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 1MEDIUM 2LOW 200

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 203 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block200 hits · 197 pts
SeverityFileLineSnippetContext
LOWtests/regression.rs201COMMENT
LOWtests/limits.rs1//! Test enforcement of size and memory limits for various decoding APIs.COMMENT
LOWsrc/io.rs41COMMENT
LOWsrc/error.rs1//! Contains detailed error representation.COMMENT
LOWsrc/error.rs21/// The generic error type for image operations.COMMENT
LOWsrc/error.rs41COMMENT
LOWsrc/error.rs141}COMMENT
LOWsrc/error.rs161}COMMENT
LOWsrc/metadata.rs21COMMENT
LOWsrc/metadata.rs81 Self::Rotate270 => 8,COMMENT
LOWsrc/color.rs101/// Another purpose is to advise users of a rough estimate of the accuracy and effort of theCOMMENT
LOWsrc/color.rs261COMMENT
LOWsrc/lib.rs1//! # OverviewCOMMENT
LOWsrc/lib.rs21//! # fn main() -> Result<(), image::ImageError> {COMMENT
LOWsrc/lib.rs41//! let mut bytes: Vec<u8> = Vec::new();COMMENT
LOWsrc/lib.rs61//! * [`GenericImage`] trait for a mutable image buffer.COMMENT
LOWsrc/lib.rs81//! # Ok(())COMMENT
LOWsrc/lib.rs101//! # Ok(())COMMENT
LOWsrc/lib.rs181COMMENT
LOWsrc/lib.rs201/// | `gif` | GIF |COMMENT
LOWsrc/lib.rs221/// _wrappers_, not direct re-exports, in either of the following cases:COMMENT
LOWsrc/lib.rs281// <https://github.com/GuillaumeGomez/doc-comment>COMMENT
LOWsrc/hooks.rs121///COMMENT
LOWsrc/hooks.rs141///COMMENT
LOWsrc/primitive_sealed.rs61impl BgraSwizzle for isize {}COMMENT
LOWsrc/primitive_sealed.rs81 /// Returns the nearest value of `Self` to `value`.COMMENT
LOWsrc/traits.rs361 // fact that `Self::Subpixel` is used for `TransformableSubpixel` from the bound onCOMMENT
LOWsrc/traits.rs441 /// A string that can help to interpret the meaning each channelCOMMENT
LOWsrc/traits.rs461 Self::Subpixel::DEFAULT_MAX_VALUECOMMENT
LOWsrc/animation.rs41 /// Delay between the frames in millisecondsCOMMENT
LOWsrc/animation.rs141COMMENT
LOWsrc/animation.rs161 /// assert_eq!(delay_10ms, Delay::from_numer_denom_ms(30, 3));COMMENT
LOWsrc/animation.rs181 /// use std::time::Duration;COMMENT
LOWsrc/codecs/gif.rs1//! Decoding of GIF ImagesCOMMENT
LOWsrc/codecs/tiff.rs201 UnsupportedErrorKind::GenericFeature(COMMENT
LOWsrc/codecs/openexr.rs1//! Decoding of OpenEXR (.exr) ImagesCOMMENT
LOWsrc/codecs/png.rs161 .map(|x| f64::from(x.into_scaled()) / 100_000.0))COMMENT
LOWsrc/codecs/png.rs701 #[default]COMMENT
LOWsrc/codecs/png.rs741 filter: FilterType::default(),COMMENT
LOWsrc/codecs/farbfeld.rs1//! Decoding of farbfeld imagesCOMMENT
LOWsrc/codecs/hdr/decoder.rs201 /// Create a new decoder with the given spec compliance mode.COMMENT
LOWsrc/codecs/hdr/decoder.rs501pub struct HdrMetadata {COMMENT
LOWsrc/codecs/hdr/mod.rs1//! Decoding of Radiance HDR ImagesCOMMENT
LOWsrc/codecs/webp/encoder.rs1//! Encoding of WebP images.COMMENT
LOWsrc/codecs/avif/yuv.rs261/// * `image`: see [YuvGrayImage]COMMENT
LOWsrc/codecs/avif/yuv.rs281/// * `range`: see [YuvIntensityRange]COMMENT
LOWsrc/codecs/avif/yuv.rs301///COMMENT
LOWsrc/codecs/avif/yuv.rs1001/// Converts Yuv 444 planar format 12 bit-depth to Rgba 12 bitCOMMENT
LOWsrc/codecs/avif/yuv.rs1121///COMMENT
LOWsrc/codecs/avif/yuv.rs1141/// * `image`: see [YuvPlanarImage]COMMENT
LOWsrc/codecs/avif/mod.rs1//! Encoding of AVIF images.COMMENT
LOWsrc/codecs/jpeg/encoder.rs21COMMENT
LOWsrc/codecs/jpeg/encoder.rs61///COMMENT
LOWsrc/codecs/jpeg/encoder.rs181COMMENT
LOWsrc/codecs/bmp/decoder.rs361COMMENT
LOWsrc/codecs/bmp/decoder.rs441 #[default]COMMENT
LOWsrc/codecs/bmp/decoder.rs461 /// bitmask bytes or palette). This is the minimum valid data_offset.COMMENT
LOWsrc/codecs/bmp/decoder.rs481 Checkpoint { row: u32, x: u32, stream_pos: u64 },COMMENT
LOWsrc/codecs/bmp/decoder.rs1161 /// headers. If it returns an `UnexpectedEof` error, you can retry on theCOMMENT
LOWsrc/codecs/bmp/decoder.rs1181 /// // Phase 1: Read metadata (with retry on UnexpectedEof)COMMENT
140 more matches not shown…
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/animation.rs8/// An implementation dependent iterator, reading the frames as requestedCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/rust.yml70 # an emulated mips system. NOTE: you can also use this approach to test forCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/io/decoder.rs6/// The interface for `image` to utilize in reading image files.COMMENT