Delve is a debugger for the Go programming language.
This report presents the forensic synthetic code analysis of go-delve/delve, a Go project with 24,840 GitHub stars. SynthScan v2.0 examined 133,259 lines of code across 601 source files, recording 209 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 2.9 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 209 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/dlv/dlv_test.go | 185 | // Give delve some time to compile and write the binary. | COMMENT |
| MEDIUM | cmd/dlv/dlv_test.go | 211 | // Sometimes delve on Windows can't remove the built binary before | COMMENT |
| MEDIUM | cmd/dlv/dlv_test.go | 213 | // See: https://travis-ci.com/go-delve/delve/jobs/296325131. | COMMENT |
| MEDIUM | cmd/dlv/dlv_test.go | 1869 | // Check that when delve is run twice in the same directory simultaneously | COMMENT |
| MEDIUM | cmd/dlv/cmds/commands.go | 400 | // -c is unused and exists so delve can be used with coredumpctl | COMMENT |
| MEDIUM | cmd/dlv/cmds/commands.go | 1007 | // so SIGINT gets sent to the debuggee and not to delve. | COMMENT |
| MEDIUM | cmd/dlv/cmds/commands.go | 1013 | // as SIGINT to delve. Ignore it instead of stopping the server | COMMENT |
| MEDIUM | .github/ISSUE_TEMPLATE/issue_template.yml | 27 | If this is about source listing not showing up (or breakpoints not being accepted) while running in a container | CODE |
| MEDIUM | service/test/integration2_test.go | 2532 | // See https://github.com/go-delve/delve/issues/2259 | COMMENT |
| MEDIUM | service/rpccommon/server.go | 28 | //go:generate go run github.com/go-delve/build-tools/cmd/gen-suitablemethods@latest suitablemethods | COMMENT |
| MEDIUM | service/rpccommon/server.go | 365 | // GetVersion returns the version of delve as well as the API version | COMMENT |
| MEDIUM | service/rpccommon/suitablemethods.go | 1 | // DO NOT EDIT: auto-generated using github.com/go-delve/build-tools/cmd/gen-suitablemethods | COMMENT |
| MEDIUM | service/api/prettyprint.go | 514 | // See https://ci.appveyor.com/project/derekparker/delve-facy3/builds/30179356. | COMMENT |
| MEDIUM | service/rpc2/server.go | 278 | // `debugger.CreateBreakpoint` here: https://pkg.go.dev/github.com/go-delve/delve/service/debugger#Debugger.CreateBreakp | COMMENT |
| MEDIUM | service/rpc2/server.go | 551 | // See https://github.com/go-delve/delve/blob/master/Documentation/cli/expr.md | COMMENT |
| MEDIUM | service/rpc2/client.go | 290 | // https://pkg.go.dev/github.com/go-delve/delve/service/debugger#Debugger.CreateBreakpoint | COMMENT |
| MEDIUM | service/dap/handles.go | 22 | // https://github.com/go-delve/delve/blob/master/Documentation/api/ClientHowto.md#loading-more-of-a-variable | COMMENT |
| MEDIUM | service/dap/server.go | 2 | // This allows delve to communicate with frontends using DAP | COMMENT |
| MEDIUM | service/dap/server.go | 897 | /*TODO*/ s.sendUnsupportedErrorResponse(request.Request) // https://github.com/go-delve/delve/issues/2851 | COMMENT |
| MEDIUM | service/dap/server.go | 3129 | // https://github.com/go-delve/delve/blob/master/Documentation/api/ClientHowto.md#looking-into-variables. | COMMENT |
| MEDIUM | service/dap/server.go | 4309 | Unable to propagate EXC_BAD_ACCESS signal to target process and panic (see https://github.com/go-delve/delve/issues/852) | CODE |
| MEDIUM | service/dap/server.go | 4470 | // Filter out internal delve breakpoints (panic, fatal, hardcoded, etc.) | COMMENT |
| MEDIUM | service/dap/types.go | 210 | // https://github.com/go-delve/delve/blob/master/Documentation/cli/README.md#goroutines | COMMENT |
| MEDIUM | service/dap/server_test.go | 620 | // TODO(polina): once https://github.com/go-delve/delve/issues/2259 is | COMMENT |
| MEDIUM | service/dap/server_test.go | 4084 | t.Skip("test skipped on Windows, see https://delve.teamcity.com/project/Delve_windows for details") | CODE |
| MEDIUM | service/dap/server_test.go | 6278 | t.Skip("test skipped on Windows, see https://delve.teamcity.com/project/Delve_windows for details") | CODE |
| MEDIUM | service/dap/daptest/client.go | 5 | //go:generate go run github.com/go-delve/build-tools/cmd/gen-daptest@latest -o ./resp.go | COMMENT |
| MEDIUM | service/dap/daptest/client.go | 660 | // KnownEvent passes decode checks, but delve has no 'case' to | COMMENT |
| MEDIUM | service/dap/daptest/client.go | 662 | // added to go-dap, but not to delve. | COMMENT |
| MEDIUM | .teamcity/pom.xml | 25 | <url>https://delve.teamcity.com/app/dsl-plugins-repository</url> | CODE |
| MEDIUM | pkg/proc/proc_amd64_test.go | 82 | // Fixes issue https://github.com/go-delve/delve/issues/2985 | COMMENT |
| MEDIUM | pkg/proc/target_exec.go | 1702 | // in delve to support breakpoints in cgo. | COMMENT |
| MEDIUM | pkg/proc/bininfo.go | 85 | // github.com/go-delve/delve | COMMENT |
| MEDIUM | pkg/proc/bininfo.go | 86 | // will map to 'delve' because it ends in '/delve'. | COMMENT |
| MEDIUM | pkg/proc/bininfo.go | 1649 | // Previous versions of delve looked for the build id in every debug info | COMMENT |
| MEDIUM | pkg/proc/bininfo.go | 1656 | // Previous versions of delve looked for the executable filename (with | COMMENT |
| MEDIUM | pkg/proc/bininfo.go | 1939 | // This is a bit arcane. Essentially: | COMMENT |
| MEDIUM | pkg/proc/bininfo.go | 2327 | // See also https://github.com/go-delve/delve/issues/3797 | COMMENT |
| MEDIUM | pkg/proc/variables.go | 174 | // When this happens delve will have to scan many empty buckets to find the | COMMENT |
| MEDIUM | pkg/proc/variables.go | 179 | // Since there is no good way for a user of delve to specify the value of | COMMENT |
| MEDIUM | pkg/proc/ppc64le_disasm.go | 34 | // address, Teach delve to recognize this sequence to appropriately adjust PC address so that the breakpoint is actuall | COMMENT |
| MEDIUM | pkg/proc/proc_test.go | 695 | skipOn(t, "broken - see https://github.com/go-delve/delve/issues/3158", "darwin", "amd64") | CODE |
| MEDIUM | pkg/proc/proc_test.go | 1802 | // See: https://github.com/go-delve/delve/pull/2082 | COMMENT |
| MEDIUM | pkg/proc/proc_test.go | 4939 | // https://github.com/go-delve/delve/issues/2346 | COMMENT |
| MEDIUM | pkg/proc/proc_test.go | 4959 | skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") | CODE |
| MEDIUM | pkg/proc/proc_test.go | 5013 | skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") | CODE |
| MEDIUM | pkg/proc/proc_test.go | 5136 | skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") | CODE |
| MEDIUM | pkg/proc/proc_test.go | 5923 | skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") | CODE |
| MEDIUM | pkg/proc/proc_test.go | 5957 | skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") | CODE |
| MEDIUM | pkg/proc/proc_test.go | 5997 | skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") | CODE |
| MEDIUM | pkg/proc/proc_unix_test.go | 37 | // SIGINT directed at the inferior should be passed along not swallowed by delve | COMMENT |
| MEDIUM | pkg/proc/breakpoints.go | 122 | // BreakpointKind determines the behavior of delve when the | COMMENT |
| MEDIUM | pkg/proc/fncall.go | 670 | // See: https://github.com/go-delve/delve/pull/2451#discussion_r665761531 | COMMENT |
| MEDIUM | pkg/proc/fncall.go | 878 | // See https://github.com/go-delve/delve/issues/2985 and | COMMENT |
| MEDIUM | pkg/proc/eval.go | 557 | // See https://github.com/go-delve/delve/issues/2049 for details | COMMENT |
| MEDIUM | pkg/proc/core/core_test.go | 669 | t.Fatalf("issue #3591: main.mod_map frame SP mismatch: delve=%#x runtime=%#x (see panic.txt in test temp dir pattern)" | CODE |
| MEDIUM | pkg/proc/native/dump_linux.go | 51 | // pure PFN range, see https://github.com/go-delve/delve/issues/2630 | COMMENT |
| MEDIUM | pkg/proc/native/ptrace_linux_386.go | 31 | // ignore ENODEV, it just means this CPU or kernel doesn't support XSTATE, see https://github.com/go-delve/delve/issu | COMMENT |
| MEDIUM | pkg/proc/native/ptrace_linux_amd64.go | 30 | // ignore ENODEV, it just means this CPU or kernel doesn't support XSTATE, see https://github.com/go-delve/delve/issu | COMMENT |
| MEDIUM | pkg/proc/native/proc_windows.go | 194 | // - https://github.com/go-delve/delve/issues/3136 | COMMENT |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/dlv/cmds/helphelpers/help.go | 1 | package helphelpers | COMMENT |
| LOW | _scripts/rtype.go | 1 | // This script checks that the Go runtime hasn't changed in ways that Delve | COMMENT |
| LOW | _scripts/rtype.go | 21 | // // +rtype -field S.F T | COMMENT |
| LOW | _scripts/rtype.go | 41 | // and check that type T has the specified fields. | COMMENT |
| LOW | service/client.go | 141 | // FindLocation returns concrete location information described by a location expression | COMMENT |
| LOW | service/debugger/debugger.go | 101 | // only when launching a new process. | COMMENT |
| LOW | service/debugger/debugger.go | 661 | // CreateBreakpoint creates a breakpoint using information from the provided `requestedBp`. | COMMENT |
| LOW | service/debugger/debugger.go | 681 | // corresponding to all specified addresses. | COMMENT |
| LOW | service/api/types.go | 21 | type DebuggerState struct { | COMMENT |
| LOW | service/api/types.go | 41 | // NextInProgress indicates that a next or step operation was interrupted by another breakpoint | COMMENT |
| LOW | service/api/types.go | 81 | type Breakpoint struct { | COMMENT |
| LOW | service/api/types.go | 341 | // contents. | COMMENT |
| LOW | service/api/types.go | 441 | ) | COMMENT |
| LOW | service/api/types.go | 461 | WithEvents bool | COMMENT |
| LOW | service/rpc2/server.go | 661 | // If arg.Filters are specified the list of returned goroutines is filtered | COMMENT |
| LOW | service/rpc2/server.go | 761 | Locations []api.Location | COMMENT |
| LOW | service/dap/server.go | 41 | "github.com/go-delve/delve/pkg/proc" | COMMENT |
| LOW | service/dap/server.go | 61 | // signal that can come from an OS interrupt (such as Ctrl-C) or | COMMENT |
| LOW | service/dap/server.go | 81 | // goroutines here because the dap server does not support | COMMENT |
| LOW | service/dap/server.go | 181 | COMMENT | |
| LOW | service/dap/server.go | 301 | // ShowPprofLabels is an array of keys of pprof labels to show as a | COMMENT |
| LOW | service/dap/server.go | 381 | COMMENT | |
| LOW | service/dap/server.go | 521 | } else { | COMMENT |
| LOW | service/dap/server.go | 541 | } | COMMENT |
| LOW | service/dap/server.go | 741 | } | COMMENT |
| LOW | service/dap/server.go | 1521 | s.send(&dap.TerminatedEvent{Event: *s.newEvent("terminated")}) | COMMENT |
| LOW | service/dap/server.go | 1701 | // and the location. The location is computed separately because this may be more | COMMENT |
| LOW | service/dap/server.go | 3261 | COMMENT | |
| LOW | service/dap/server.go | 3421 | // used for variable assignments do not return a value when they succeed. | COMMENT |
| LOW | service/dap/server.go | 3661 | s.sendErrorResponse(request.Request, UnableToSetVariable, "Unable to set variable", err.Error()) | COMMENT |
| LOW | service/dap/server.go | 4021 | // 0x000e nop | COMMENT |
| LOW | service/dap/types.go | 21 | // same args as above | COMMENT |
| LOW | service/dap/types.go | 61 | defaultAttachConfig = AttachConfig{ | COMMENT |
| LOW | service/dap/types.go | 81 | // to debug in `exec` mode. | COMMENT |
| LOW | service/dap/types.go | 101 | Cwd string `json:"cwd,omitempty"` | COMMENT |
| LOW | service/dap/types.go | 121 | Output string `json:"output,omitempty"` | COMMENT |
| LOW | service/dap/types.go | 141 | // using Delve's working directory will use this new directory. | COMMENT |
| LOW | service/dap/types.go | 201 | // in the variables pane or not. | COMMENT |
| LOW | service/dap/server_test.go | 361 | // : 2 << launch | COMMENT |
| LOW | service/dap/server_test.go | 381 | // User selects "Continue" : 12 >> continue | COMMENT |
| LOW | service/dap/server_test.go | 621 | // fixed, test with kill=false. | COMMENT |
| LOW | service/dap/server_test.go | 1841 | checkVarExact(t, locals, -1, "b1", "b1", "true", "bool", noChildren) | COMMENT |
| LOW | service/dap/server_test.go | 4101 | // The rules in 'substitutePath' will be applied as follows: | COMMENT |
| LOW | service/dap/server_test.go | 5381 | }) | COMMENT |
| LOW | service/dap/server_test.go | 5641 | client.ExpectVariablesResponse(t) | COMMENT |
| LOW | _fixtures/cgostacktest/hello.c | 1 | #include <stdio.h> | COMMENT |
| LOW | _fixtures/testvariablescgo/test.c | 1 | #include <stdlib.h> | COMMENT |
| LOW | pkg/proc/arm64_arch.go | 61 | a := bi.Arch | COMMENT |
| LOW | pkg/proc/arm64_arch.go | 161 | // For a detailed description of how this works read the long comment at | COMMENT |
| LOW | pkg/proc/amd64_arch.go | 61 | // - sp is cfa | COMMENT |
| LOW | pkg/proc/mapiter.go | 321 | COMMENT | |
| LOW | pkg/proc/scope_test.go | 41 | } | COMMENT |
| LOW | pkg/proc/target_exec.go | 681 | // - a breakpoint on the first deferred function with NextDeferBreakpoint | COMMENT |
| LOW | pkg/proc/bininfo.go | 1801 | if err != nil { | COMMENT |
| LOW | pkg/proc/bininfo.go | 2221 | // macOSDebugFrameBugWorkaround applies a workaround for [golang/go#25841] | COMMENT |
| LOW | pkg/proc/variables.go | 61 | ) | COMMENT |
| LOW | pkg/proc/variables.go | 81 | VariableReturnArgument | COMMENT |
| LOW | pkg/proc/variables.go | 161 | // MaxMapBuckets is the maximum number of map buckets to read before giving up. | COMMENT |
| LOW | pkg/proc/variables.go | 241 | hi, lo uint64 | COMMENT |
| LOW | pkg/proc/variables.go | 381 | // FindGoroutine returns a G struct representing the goroutine | COMMENT |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | pkg/proc/target_exec.go | 782 | if !backward && !topframe.Current.Fn.cu.image.Stripped() { | CODE |
| CRITICAL | pkg/proc/target_exec.go | 1062 | if topframe.Call.Fn == nil || topframe.Call.Fn.cu.image.Stripped() { | CODE |
| CRITICAL | pkg/proc/target_exec.go | 1071 | dwarfTree, err := topframe.Current.Fn.cu.image.getDwarfTree(topframe.Current.Fn.offset) | CODE |
| CRITICAL | pkg/proc/stack.go | 417 | r.Call.File, r.Call.Line = r.Current.Fn.cu.lineInfo.PCToLine(r.Current.Fn.Entry, it.pc-1) | CODE |
| CRITICAL | pkg/proc/stack.go | 507 | dwarfTree, err := frame.Call.Fn.cu.image.getDwarfTree(frame.Call.Fn.offset) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/dlv/dlv_test.go | 1081 | Street: "123 Main St", | CODE |
| LOW | cmd/dlv/dlv_test.go | 1086 | Street: "123 Main St", | CODE |
| LOW | _fixtures/issue1598.go | 9 | return `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | _fixtures/issue1598.go | 9 | return `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | _fixtures/traceverb.go | 48 | Street: "123 Main St", | CODE |
| LOW | pkg/terminal/command_test.go | 1071 | if !strings.Contains(r, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | pkg/terminal/command_test.go | 1071 | if !strings.Contains(r, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | _scripts/gencert.sh | 13 | # Create the certificate template | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/cli/starlark.md | 170 | def command_goroutine_start_line(args): | CODE |
| LOW | Documentation/cli/starlark.md | 238 | def command_switch_to_main_goroutine(args): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | _scripts/gencert.sh | 3 | # Check if the certificate is already present in the system keychain | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/debugdetect/doc.go | 8 | // Example usage: | COMMENT |