AI Slop Code Risk Monitor

goccy/go-json

SlopCodeMonitor badge for goccy/go-json Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Fast JSON encoder/decoder compatible with encoding/json for Go

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for goccy/go-json, a Go project with 3,757 GitHub stars. SynthScan examined 184,633 lines of code across 520 source files, recording 127 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.

0.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
3.8K
Stars
Go
Language
184.6K
Lines of Code
520
Files
127
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 3.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 127 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 3.4/100 · LOW

Which changes need focused human review? 127 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 0MEDIUM 1LOW 126

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 127 distinct pattern matches across 2 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 Block126 hits · 126 pts
SeverityFileLineSnippetContext
LOWoption.go81type DecodeOptionFunc func(*DecodeOption)COMMENT
LOWv2_options.go1package jsonCOMMENT
LOWv2_options.go21// MergeWithLegacySemantics, OmitEmptyWithLegacySemantics, ParseBytesWithLooseRFC4648, ParseTimeWithLooseRFC3339,COMMENT
LOWv2_options.go41// calls none when marshaling.COMMENT
LOWv2_options.go61// rather than a JSON array of its elements; but it is still a JSON array of its elements when marshaling if theCOMMENT
LOWv2_options.go81func MatchCaseSensitiveDelimiter(v bool) Options {COMMENT
LOWv2_options.go101// as a JSON null or an empty JSON string, array or object.COMMENT
LOWv2_options.go121func ParseTimeWithLooseRFC3339(v bool) Options {COMMENT
LOWv2_options.go141// This affects marshaling and unmarshaling. It is true by default in this package.COMMENT
LOWdecode_footprint_test.go21// referring to its read buffer, the fragments of Path.Extract referring to a copy of the whole input.COMMENT
LOWpath.go1package jsonCOMMENT
LOWjson.go41}COMMENT
LOWjson.go61// String values encode as JSON strings coerced to valid UTF-8,COMMENT
LOWjson.go81// comma-separated list of options. The name may be empty in order toCOMMENT
LOWjson.go101//COMMENT
LOWjson.go121// only Unicode letters, digits, and ASCII punctuation except quotationCOMMENT
LOWjson.go141// 2) If there is exactly one field (tagged or not according to the first rule), that is selected.COMMENT
LOWjson.go161// Interface values encode as the value contained in the interface.COMMENT
LOWjson.go201// MarshalIndentWithOption is like Marshal but applies Indent to format the output with EncodeOption.COMMENT
LOWjson.go221// Unmarshal calls that value's UnmarshalJSON method, includingCOMMENT
LOWjson.go241// nil for JSON nullCOMMENT
LOWjson.go261//COMMENT
LOWjson.go301 return unmarshal(data, v, optFuncs...)COMMENT
LOWjson.go321COMMENT
LOWencode_of.go1package jsonCOMMENT
LOWtest/example/example_test.go101 fmt.Printf("%T: %v", t, t)COMMENT
LOWtest/example/example_test.go261 var out bytes.BufferCOMMENT
LOWtest/example/example_text_marshaling_test.go61 counts[small], counts[large], counts[unrecognized])COMMENT
LOWinternal/cmd/benchcheck/bench.go161// On some machines a benchmark has two clusters of results over the binaries, 20-50% apart: the small encodeCOMMENT
LOWinternal/cmd/benchcheck/main.go1// benchcheck detects performance degradation by comparing the benchmark resultsCOMMENT
LOWinternal/cmd/benchcheck/main.go41 "syscall"COMMENT
LOWinternal/cmd/benchcheck/main.go281COMMENT
LOWinternal/encoder/option.go41 StringifyNumbersOptionCOMMENT
LOWinternal/encoder/option.go61 // MarshalFuncsOption is the functions of WithMarshalers of encoding/json/v2 ( Option.Funcs ), whose opcodesCOMMENT
LOWinternal/encoder/compiler.go121 if set[1].typeptr == key {COMMENT
LOWinternal/encoder/compiler.go261 v2 boolCOMMENT
LOWinternal/encoder/compiler.go281 nextIsEmbedded boolCOMMENT
LOWinternal/encoder/encoder.go81 // a string, a bool, ... ), or nil. Such a value held by an interface value is encoded without a frame.COMMENT
LOWinternal/encoder/encoder.go121COMMENT
LOWinternal/encoder/encoder.go241// StartDetectingCyclesAfter is the number of the frames ( see RuntimeContext.RecursiveLevel ) after which theCOMMENT
LOWinternal/encoder/encoder.go501COMMENT
LOWinternal/encoder/encoder.go581// SortByEncodedKeys makes the context write the entries in the order of their encoded keys, for a sorted mapCOMMENT
LOWinternal/encoder/encoder.go881// addrForMarshaler returns the pointer to the value held by v, to call a marshaler with a pointer receiver.COMMENT
LOWinternal/encoder/code.go781 isNilCheck boolCOMMENT
LOWinternal/encoder/marshaler.go21COMMENT
LOWinternal/encoder/method_v2.go21var V2Hooks struct {COMMENT
LOWinternal/encoder/context.go81 },COMMENT
LOWinternal/encoder/context.go101COMMENT
LOWinternal/encoder/context.go181 // Outer is the context of the encoding which a call of MarshalEncode by a method is nested in, for the callCOMMENT
LOWinternal/encoder/context.go201 V2State unsafe.PointerCOMMENT
LOWinternal/encoder/int.go1// This files's processing codes are inspired by https://github.com/segmentio/encoding.COMMENT
LOWinternal/encoder/map_key_interface.go21// ( GOEXPERIMENT=jsonv2, the default since Go 1.27; this file uses the API of Go 1.27 ): the name of a key isCOMMENT
LOWinternal/encoder/map_collect.go21// map being what its type says. A map of another key, or of a value of another size, is read byCOMMENT
LOWinternal/decoder/option.go21type V2Flags uint32COMMENT
LOWinternal/decoder/stream_elements.go21// past the token being read, which fails a value at the read of its first invalid byte, and the buffer holds a readCOMMENT
LOWinternal/decoder/funcs_v2.go81 // Stream is the stream which the call decodes, or nil for an input of its own, with the state of its decodingCOMMENT
LOWinternal/decoder/funcs_v2.go101 Place StreamPlaceCOMMENT
LOWinternal/decoder/stream.go21 // a whole block from any byte of the value.COMMENT
LOWinternal/decoder/stream.go41 r io.ReaderCOMMENT
LOWinternal/decoder/stream.go61 readStart int64COMMENT
66 more matches not shown…
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMinternal/cmd/benchcheck/main.go13// To make the comparison robust against the load of the machine changing over time,COMMENT