You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two significant duplication patterns were detected in the Go codebase. Both exceed the reporting threshold (>10 lines duplicated or 3+ similar patterns).
Analysis of commit a774683
Summary
Two significant duplication patterns were detected in the Go codebase. Both exceed the reporting threshold (>10 lines duplicated or 3+ similar patterns).
Detected Patterns
parseLabelAgentResponse— Severity: Medium — See sub-issue [duplicate-code] Duplicate Code Pattern: Identical WASM failure-check blocks in parseLabelAgentResponse #2050Overall Impact
internal/guard/wasm.go,internal/difc/sink_server_ids.go,internal/cmd/flags_difc.go)wasm.goblocks must be updated in sync; deduplication logic diverges silentlywasm.gopattern is error-proneNext Steps
wasm.gohelper extraction (small, self-contained change)strutilhelperAnalysis Metadata