The Go programming language
This report presents the forensic synthetic code analysis of golang/go, a Go project with 135,371 GitHub stars. SynthScan v2.0 examined 2,584,105 lines of code across 12192 source files, recording 7194 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 2.7 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 7194 distinct pattern matches across 17 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 |
|---|---|---|---|---|
| LOW | test/fibo.go | 1 | // skip | COMMENT |
| LOW | test/import6.go | 1 | // errorcheck | COMMENT |
| LOW | test/rangegen.go | 1 | // runoutput | COMMENT |
| LOW | test/nilptr_aix.go | 1 | // run | COMMENT |
| LOW | test/import2.go | 1 | // compiledir | COMMENT |
| LOW | test/mergemul.go | 1 | // runoutput | COMMENT |
| LOW | test/mergemul.go | 41 | } | COMMENT |
| LOW | test/live_uintptrkeepalive.go | 1 | // errorcheck -0 -m -live -std | COMMENT |
| LOW | test/nilptr.go | 1 | // run | COMMENT |
| LOW | test/divmod.go | 1 | // run | COMMENT |
| LOW | test/live1.go | 1 | // compile | COMMENT |
| LOW | test/closure3.go | 1 | // errorcheckandrundir -0 -m -d=inlfuncswithclosures=1 | COMMENT |
| LOW | test/runtime.go | 1 | // errorcheck | COMMENT |
| LOW | test/linkname3.go | 21 | // ERROR "//go:linkname must refer to declared function or variable" | COMMENT |
| LOW | test/cmplxdivide.c | 1 | // Copyright 2010 The Go Authors. All rights reserved. | COMMENT |
| LOW | test/escape_alias.go | 1 | // errorcheck -0 -d=escapealias=1 | COMMENT |
| LOW | test/eof.go | 1 | // compile | COMMENT |
| LOW | test/nosplit.go | 21 | "strconv" | COMMENT |
| LOW | test/nosplit.go | 41 | # Within a stanza, ; can be used instead of \n to separate lines. | COMMENT |
| LOW | test/eof1.go | 1 | // compile | COMMENT |
| LOW | test/solitaire.go | 1 | // build | COMMENT |
| LOW | test/live.go | 1 | // errorcheckwithauto -0 -l -live -wb=0 -d=ssa/insert_resched_checks/off | COMMENT |
| LOW | test/method4.go | 1 | // rundir | COMMENT |
| LOW | test/inline_sync.go | 1 | // errorcheck -0 -m | COMMENT |
| LOW | test/map.go | 321 | panic(fmt.Sprintf("tuple existence assign: mit[%d]\n", i)) | COMMENT |
| LOW | test/recover4.go | 1 | // run | COMMENT |
| LOW | test/recover.go | 441 | panic(112) | COMMENT |
| LOW | test/import4.go | 1 | // errorcheckdir | COMMENT |
| LOW | test/closure5.go | 1 | // compiledir | COMMENT |
| LOW | test/interface/private.go | 1 | // errorcheckdir | COMMENT |
| LOW | test/chan/select5.go | 421 | // it wants to choose between n possibilities. | COMMENT |
| LOW | test/chan/powser2.go | 1 | // run | COMMENT |
| LOW | test/chan/powser1.go | 1 | // run | COMMENT |
| LOW | test/chan/powser1.go | 61 | d2[0] = mkdch() | COMMENT |
| LOW | test/chan/powser1.go | 561 | // Exponential of a power series with constant term 0 | COMMENT |
| LOW | test/typeparam/absdiff.go | 41 | // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639). | COMMENT |
| LOW | test/typeparam/absdiff.go | 61 | // return complexAbs[T](complex(d, 0)) | COMMENT |
| LOW | test/typeparam/absdiff.go | 81 | // if got, want := orderedAbsDifference(-1.0, 2.0), 3.0; got != want { | COMMENT |
| LOW | test/typeparam/issue47892.go | 1 | // rundir | COMMENT |
| LOW | test/typeparam/boundmethod.go | 81 | // stringify on a normal type, whose bound method is associated with the base type. | COMMENT |
| LOW | test/typeparam/issue47708.go | 21 | // type Bob[T any] T | COMMENT |
| LOW | test/typeparam/gencrawler.go | 1 | // rundir | COMMENT |
| LOW | test/typeparam/dedup.go | 1 | // rundir | COMMENT |
| LOW | test/typeparam/nested.go | 1 | // run | COMMENT |
| LOW | test/typeparam/nested.go | 21 | // From this data it tests two things: | COMMENT |
| LOW | test/typeparam/issue48094.dir/a.go | 21 | // a T | COMMENT |
| LOW | test/typeparam/absdiffimp.dir/a.go | 41 | // // ordered numeric types. | COMMENT |
| LOW | test/typeparam/absdiffimp.dir/a.go | 61 | // | COMMENT |
| LOW | test/typeparam/absdiffimp.dir/main.go | 1 | // Copyright 2021 The Go Authors. All rights reserved. | COMMENT |
| LOW | test/typeparam/absdiffimp.dir/main.go | 21 | // } | COMMENT |
| LOW | test/codegen/comparisons.go | 221 | c2 := a^b < 0 | COMMENT |
| LOW | test/codegen/atomics.go | 21 | // arm64/v8.0:"LDADDALW" | COMMENT |
| LOW | test/codegen/atomics.go | 41 | // arm64/v8.0:".*arm64HasATOMICS" | COMMENT |
| LOW | test/codegen/atomics.go | 61 | } | COMMENT |
| LOW | test/codegen/atomics.go | 81 | // arm64/v8.1:"LDORALW" | COMMENT |
| LOW | test/codegen/mapaccess.go | 21 | COMMENT | |
| LOW | test/codegen/mapaccess.go | 41 | // amd64:-".*mapaccess" | COMMENT |
| LOW | test/codegen/mapaccess.go | 81 | // 386:-".*mapaccess" | COMMENT |
| LOW | test/codegen/mapaccess.go | 101 | // arm:-".*mapaccess" | COMMENT |
| LOW | test/codegen/mapaccess.go | 141 | // amd64:-".*mapaccess" | COMMENT |
| 6948 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/codegen/comparisons.go | 309 | // CMN and CMP for subtraction expressions to make the pattern robust. | COMMENT |
| LOW | src/make.bash | 61 | # (Or just pass them to the make.bash command line.) | COMMENT |
| MEDIUM | src/cmd/go/alldocs.go | 2285 | // Consumers should be robust to this. | COMMENT |
| MEDIUM | src/cmd/go/internal/work/exec.go | 2476 | // Definitely want -fPIC but on Windows gcc complains | COMMENT |
| MEDIUM | src/cmd/trace/pprof.go | 243 | // Because slices aren't comparable and we want to leverage maps for deduplication, | COMMENT |
| MEDIUM | src/cmd/internal/obj/dwarf.go | 98 | // https://github.com/go-delve/delve/issues/1694), however the bug | COMMENT |
| LOW | src/cmd/internal/test2json/testdata/benchshort.json | 5 | {"Action":"output","Output":"# but to avoid questions of timing, we just use a file with no \\n at all.\n"} | CODE |
| MEDIUM | src/cmd/internal/src/pos.go | 391 | // Depending on the debugger (gdb or delve) it may or may not be displayed. | COMMENT |
| MEDIUM | src/cmd/internal/src/xpos.go | 73 | // gdb chooses not to display the bogus line; delve shows it with a complaint, but the | COMMENT |
| MEDIUM | src/cmd/compile/internal/noder/reader.go | 2691 | // TODO(mdempsky): Is there a more robust way to get the | COMMENT |
| MEDIUM | src/cmd/compile/internal/noder/reader.go | 2984 | // TODO(mdempsky): Is there a more robust way to get the | COMMENT |
| MEDIUM | src/cmd/compile/internal/noder/reader.go | 3083 | // TODO(mark): It's not ideal to rely on string naming here. Find a more robust solution. | COMMENT |
| MEDIUM | src/cmd/compile/internal/noder/reader.go | 4263 | // https://github.com/go-delve/delve/blob/cb91509630529e6055be845688fd21eb89ae8714/pkg/proc/eval.go#L28 | COMMENT |
| MEDIUM | src/cmd/compile/internal/types2/context_test.go | 21 | // make them robust to internal type assertions, but could equally well use | COMMENT |
| MEDIUM | src/cmd/compile/internal/types2/context.go | 31 | // Nevertheless, in the future it could be helpful to allow users to leverage | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/debug.go | 1884 | // #yield is used by delve. | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/debug.go | 1884 | // #yield is used by delve. | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/known_bits.go | 294 | // We also leverage known bits of the shift amount to remove "branches" in the switch that are proved to be impossible. | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/dom.go | 22 | // This seems to make loop-finding more robust. | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/debug_test.go | 50 | // TestNexting go-builds a file, then uses a debugger (default delve, optionally gdb) | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/testdata/scopes.go | 33 | for x := 0; x <= 1; x++ { // From delve scopetest.go | CODE |
| MEDIUM | src/cmd/compile/internal/ssa/testdata/scopes.go | 51 | { // From delve testnextprog.go | CODE |
| MEDIUM | src/cmd/cgo/out.go | 1089 | // string.h for memset, and is also robust to C++ | COMMENT |
| MEDIUM | src/cmd/cgo/gcc.go | 469 | // but usually it does. Certainly if we don't see the completed:1 error, we did | COMMENT |
| MEDIUM | src/cmd/covdata/tool_test.go | 29 | // TestMain used here so that we can leverage the test executable | COMMENT |
| MEDIUM | src/cmd/cover/cover_test.go | 48 | // TestMain used here so that we can leverage the test executable | COMMENT |
| MEDIUM | src/net/dnsclient_unix_test.go | 1356 | // Return NXDOMAIN to utilize the search list. | COMMENT |
| MEDIUM | src/net/http/serve_test.go | 957 | // TODO(panjf2000): sleep is not so robust, maybe find a better way to test this? | COMMENT |
| MEDIUM | src/go/token/position.go | 548 | // The iterator is robust to modification by yield. | COMMENT |
| MEDIUM | src/go/types/context_test.go | 24 | // make them robust to internal type assertions, but could equally well use | COMMENT |
| MEDIUM | src/go/types/context.go | 34 | // Nevertheless, in the future it could be helpful to allow users to leverage | COMMENT |
| MEDIUM | src/go/printer/testdata/parser.go | 579 | // it here for more robust parsing and better error messages | COMMENT |
| MEDIUM | src/go/printer/testdata/parser.go | 637 | // accept them all for more robust parsing and complain | COMMENT |
| MEDIUM | src/go/internal/gcimporter/gcimporter_test.go | 173 | // the files we consider in an attempt to make this test more robust to | COMMENT |
| MEDIUM | src/go/parser/parser.go | 748 | // it here for more robust parsing and better error messages | COMMENT |
| MEDIUM | src/runtime/proc.go | 38 | // We need to balance between keeping enough running worker threads to utilize | COMMENT |
| MEDIUM | src/runtime/metrics.go | 1027 | // Broken out for more robust testing. metricsLock must be held and | COMMENT |
| MEDIUM | src/runtime/proc_test.go | 490 | // fairly large factor here to make this robust: if the | COMMENT |
| MEDIUM | src/runtime/mpagealloc_test.go | 622 | // Test to check for issue #40191. Essentially, the candidate searchAddr | COMMENT |
| MEDIUM | src/runtime/mpagealloc_test.go | 622 | // Test to check for issue #40191. Essentially, the candidate searchAddr | COMMENT |
| MEDIUM | src/runtime/mgcpacer_test.go | 404 | // Provide a lot of room for the limit. Essentially, this should behave just like | COMMENT |
| MEDIUM | src/runtime/export_test.go | 1677 | // a bit more robust. | COMMENT |
| MEDIUM | src/runtime/mpagealloc.go | 165 | // This is slightly more nuanced than just a shift for the exclusive | COMMENT |
| MEDIUM | src/runtime/symtabinl_test.go | 48 | // this robust. | COMMENT |
| MEDIUM | src/runtime/complex.go | 20 | // Algorithm for robust complex division as described in | COMMENT |
| MEDIUM | src/runtime/mprof.go | 965 | // Absolutely no data, suggesting that a garbage collection | COMMENT |
| MEDIUM | src/runtime/mgcscavenge.go | 28 | // Essentially, we wish to have the application's RSS track the heap goal, but | COMMENT |
| MEDIUM | src/runtime/pprof/label.go | 96 | // Currently only the CPU and goroutine profiles utilize any labels | COMMENT |
| MEDIUM | src/internal/trace/gc.go | 131 | // It will show up very early in the trace, but we need to be robust to | COMMENT |
| MEDIUM | src/internal/trace/event.go | 839 | // may be tracked in the future, and callers must be robust to this | COMMENT |
| MEDIUM | src/internal/trace/resources.go | 35 | // New GoStates may be added in the future. Users of this type must be robust | COMMENT |
| MEDIUM | src/internal/trace/resources.go | 77 | // New ProcStates may be added in the future. Users of this type must be robust | COMMENT |
| MEDIUM | src/internal/trace/resources.go | 113 | // New ResourceKinds may be added in the future. Users of this type must be robust | COMMENT |
| MEDIUM | src/internal/trace/value.go | 32 | // New ValueKinds may be added in the future. Users of this type must be robust | COMMENT |
| MEDIUM | src/internal/runtime/gc/scan/mkasm.go | 128 | // shuffle those bytes together. Certainly for f >= 16 this makes sense | COMMENT |
| MEDIUM | src/simd/archsimd/_gen/unify/closure.go | 119 | // Essentially the same as Def. | COMMENT |
| LOW | …d/archsimd/_gen/simdgen/ops/BitwiseLogic/go_amd64.yaml | 28 | # for unmasked operations, right now we don't realize that we can just use the | COMMENT |
| MEDIUM | src/time/time.go | 32 | // time.Now().Before(deadline), are similarly robust against wall clock | COMMENT |
| MEDIUM | src/testing/testing.go | 117 | // statistically robust A/B comparisons. | COMMENT |
| MEDIUM | src/testing/testing.go | 147 | // New benchmarks should prefer using [B.Loop], which is more robust | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/cmd/asm/internal/asm/parse.go | 1721 | // at reports whether the next tokens are as requested. | COMMENT |
| HIGH | src/cmd/go/internal/modload/load.go | 1229 | // add them as requested. | COMMENT |
| HIGH | src/cmd/go/internal/modload/load.go | 1823 | // add them as requested. | COMMENT |
| HIGH | src/cmd/internal/obj/util.go | 745 | // AlignmentPadding bytes to add to align code as requested. | COMMENT |
| HIGH | src/cmd/internal/obj/util.go | 760 | // AlignmentPaddingLength is the number of bytes to add to align code as requested. | COMMENT |
| HIGH | src/cmd/internal/obj/ppc64/asm9.go | 590 | // padding bytes to add to align code as requested. | COMMENT |
| HIGH | src/cmd/compile/internal/ssa/debug_test.go | 711 | // Normalize value as requested. | COMMENT |
| HIGH | src/crypto/internal/sysrand/rand_netbsd.go | 13 | // as many as requested up to 256, derived from the system entropy pool; | COMMENT |
| HIGH | src/fmt/print.go | 405 | // not, as requested, by temporarily setting the sharp flag. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/cmd/go/testdata/script/cover_build_pkg_select.txt | 6 | #------------------------------------------- | COMMENT |
| MEDIUM | src/cmd/go/testdata/script/cover_build_pkg_select.txt | 37 | #------------------------------------------- | COMMENT |
| MEDIUM | src/cmd/go/testdata/script/cover_build_pkg_select.txt | 79 | #------------------------------------------- | COMMENT |
| MEDIUM | …go/testdata/script/cgo_suspect_flag_force_external.txt | 29 | #----------------------- | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/looprotate.go | 68 | // │ │ └─►It─┘ │ │ │ └─────┘ │ | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/looprotate.go | 71 | // │ └─►Ot───┘ │ └───────┘ | COMMENT |
| MEDIUM⚡ | src/crypto/cipher/gcm.go | 142 | // ┌───────────────────────────┬ ─ ─ | COMMENT |
| MEDIUM⚡ | src/crypto/cipher/gcm.go | 144 | // └▽─────────────────────────▲┴ ─ ─ | COMMENT |
| MEDIUM⚡ | src/crypto/cipher/gcm.go | 147 | // ┌───▼─────────────────────────△──┐ | COMMENT |
| MEDIUM⚡ | src/crypto/cipher/gcm.go | 149 | // └────────────────────────────────┘ | COMMENT |
| MEDIUM | src/runtime/mprof.go | 107 | // ┠┅┅┅┅┅┅┅┅┅┅┅P | COMMENT |
| MEDIUM | src/runtime/mprof.go | 111 | // ┠┅┅┅┅┅┅┅┅┅┅┅P | COMMENT |
| MEDIUM | src/encoding/json/jsontext/token.go | 65 | // ╔══════════════════╦════════════╤════════════╤════════════╗ | COMMENT |
| MEDIUM | src/encoding/json/jsontext/token.go | 67 | // ╠══════════════════╬════════════╪════════════╪════════════╣ | COMMENT |
| MEDIUM | src/encoding/json/jsontext/token.go | 80 | // ╚══════════════════╩════════════╧════════════╧════════════╝ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/compress/flate/deflate_test.go | 466 | dict = "hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labor | CODE |
| LOW⚡ | src/compress/flate/deflate_test.go | 466 | dict = "hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labor | CODE |
| LOW⚡ | src/compress/flate/deflate_test.go | 467 | text = "hello world again Lorem ipsum dolor sit amet" | CODE |
| LOW⚡ | src/compress/flate/deflate_test.go | 467 | text = "hello world again Lorem ipsum dolor sit amet" | CODE |
| LOW | src/compress/flate/inflate_test.go | 17 | "lorem ipsum izzle fo rizzle", | CODE |
| LOW | src/compress/flate/inflate_test.go | 73 | "lorem ipsum izzle fo rizzle", | CODE |
| LOW | src/compress/gzip/fuzz_test.go | 18 | inp := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et d | CODE |
| LOW | src/compress/gzip/fuzz_test.go | 18 | inp := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et d | CODE |
| LOW | src/compress/lzw/writer_test.go | 118 | data = []byte(`lorem ipsum dolor sit amet`) | CODE |
| LOW | src/compress/lzw/writer_test.go | 118 | data = []byte(`lorem ipsum dolor sit amet`) | CODE |
| LOW | src/compress/zlib/writer_test.go | 210 | var input = []byte("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labor | CODE |
| LOW | src/compress/zlib/writer_test.go | 210 | var input = []byte("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labor | CODE |
| LOW | src/net/mail/message_test.go | 381 | 7: {"John Doe", "no angle-addr"}, | CODE |
| LOW | src/net/mail/message_test.go | 437 | Name: "John Doe", | CODE |
| LOW | src/net/mail/message_test.go | 453 | Name: "John Doe", | CODE |
| LOW | src/net/mail/message_test.go | 480 | Address: "jdoe@example.org", | CODE |
| LOW⚡ | src/net/mail/message_test.go | 741 | Name: "John Doe", | CODE |
| LOW⚡ | src/net/mail/message_test.go | 751 | Name: "John Doe", | CODE |
| LOW⚡ | src/net/mail/message_test.go | 761 | Name: "John Doe", | CODE |
| LOW | src/net/mail/message_test.go | 826 | Name: "John Doe", | CODE |
| LOW | src/net/mail/message_test.go | 840 | Name: "John Doe", | CODE |
| LOW | src/net/mail/message_test.go | 884 | Name: "John Doe", | CODE |
| LOW | src/net/mail/message_test.go | 904 | Address: "jdoe@example.org", | CODE |
| LOW | src/net/mail/message_test.go | 1004 | Name: "John Doe", | CODE |
| LOW | src/net/mail/message_test.go | 1018 | Name: "John Doe", | CODE |
| LOW | src/net/smtp/example_test.go | 21 | if err := c.Mail("sender@example.org"); err != nil { | CODE |
| LOW⚡ | src/net/smtp/example_test.go | 60 | auth := smtp.PlainAuth("", "user@example.com", "password", hostname) | CODE |
| LOW⚡ | src/net/smtp/example_test.go | 70 | auth := smtp.PlainAuth("", "user@example.com", "password", "mail.example.com") | CODE |
| LOW⚡ | src/net/smtp/example_test.go | 79 | err := smtp.SendMail("mail.example.com:25", auth, "sender@example.org", to, msg) | CODE |
| LOW | src/archive/tar/fuzz_test.go | 16 | inp := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et d | CODE |
| LOW | src/archive/tar/fuzz_test.go | 16 | inp := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et d | CODE |
| LOW | src/encoding/xml/atom_test.go | 14 | Author: Person{Name: "John Doe"}, | CODE |
| LOW | src/encoding/xml/marshal_test.go | 534 | contentsAttr = "lorem ipsum" | CODE |
| LOW | src/encoding/xml/marshal_test.go | 1059 | ExpectXML: `<dummy name="Sarah" age="12">lorem ipsum</dummy>`, | CODE |
| LOW | src/html/template/attr.go | 98 | "placeholder": contentTypePlain, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/cmd/internal/obj/dwarf.go | 30 | // It's worth noting that this function doesn't generate the full debug_lines | COMMENT |
| LOW | src/cmd/compile/internal/ir/func.go | 55 | // if you add or remove a field, don't forget to update sizeof_test.go | COMMENT |
| LOW | src/cmd/compile/internal/base/debug.go | 15 | // Don't forget to note that concurrency is "ok" when it is, | COMMENT |
| LOW | src/bufio/example_test.go | 20 | w.Flush() // Don't forget to flush! | CODE |
| LOW | src/net/http/example_test.go | 30 | // Don't forget to close the connection: | COMMENT |
| LOW | src/net/http/internal/httpcommon/httpcommon.go | 554 | // but this ensures we don't forget to include a CountError reason. | COMMENT |
| MEDIUM | src/net/rpc/server.go | 58 | Here is a simple example. A server wishes to export an object of type Arith: | CODE |
| MEDIUM | src/runtime/arena.go | 744 | // assist the GC proportionally (and it's worth noting that the arena | COMMENT |
| MEDIUM | src/runtime/metrics/doc.go | 39 | As mentioned earlier, metric keys are strings. Their format is simple and well-defined, | CODE |
| MEDIUM | src/internal/syscall/windows/registry/key.go | 9 | // Here is a simple example, opening a registry key and reading a string value from it. | COMMENT |
| MEDIUM | src/os/file.go | 16 | // Here is a simple example, opening a file and reading some of it. | COMMENT |
| MEDIUM | src/text/template/doc.go | 463 | constant. Here is a simple example: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/cmd/compile/internal/ssa/shortcircuit.go | 12 | // Step 1: Replace a phi arg with a constant if that arg | COMMENT |
| LOW | src/cmd/compile/internal/ssa/shortcircuit.go | 53 | // Step 2: Redirect control flow around known branches. | COMMENT |
| LOW | src/reflect/value.go | 686 | // NOTE: This function must be marked as a "wrapper" in the generated code, | COMMENT |
| LOW | src/reflect/value.go | 943 | // NOTE: This function must be marked as a "wrapper" in the generated code, | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 74 | // Step 1: increment the nesting count. | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 77 | // Step 2: call helper. The helper just calls f | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 81 | // Step 3: erase everything used by f (stack, registers). | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 84 | // Step 4: decrement the nesting count. | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 87 | // Step 5: re-raise any caught panic. | COMMENT |
| LOW | src/encoding/json/jsontext/encode.go | 148 | // NOTE: This function is carefully written to be inlinable. | COMMENT |
| LOW | src/testing/cover.go | 34 | // NOTE: This function is internal to the testing infrastructure and may change. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …c/cmd/compile/internal/test/testdata/addressed_test.go | 129 | if which != v3.p.p.p.p.p.p.p.val() { | CODE |
| CRITICAL | …c/cmd/compile/internal/test/testdata/addressed_test.go | 130 | output += fmt.Sprintln("Expected which=", which, "got v3.p.p.p.p.p.p.p.val()=", v3.p.p.p.p.p.p.p.val()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/cmd/compile/internal/ppc64/ssa.go | 2069 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/riscv64/ssa.go | 995 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/noder/reader.go | 4231 | // TODO: implement wasm indirect tail calls | COMMENT |
| LOW | src/cmd/compile/internal/loong64/ssa.go | 1248 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/s390x/ssa.go | 955 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/wasm/ssa.go | 306 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/mips/ssa.go | 960 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/mips64/ssa.go | 892 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/x86/ssa.go | 1060 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/arm/ssa.go | 1022 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/cover/testdata/ranges/ranges.go | 15 | // TODO: implement this later | COMMENT |
| LOW | src/crypto/tls/bogo_shim_test.go | 510 | // TODO: implement testingOnlyPeerSignatureAlgorithm on resumption. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/cmd/compile/internal/ssa/shortcircuit.go | 12 | // Step 1: Replace a phi arg with a constant if that arg | COMMENT |
| LOW | src/cmd/compile/internal/ssa/shortcircuit.go | 53 | // Step 2: Redirect control flow around known branches. | COMMENT |
| LOW | src/net/http/server.go | 1182 | // The purpose of this function is to provide more helpful error messages. | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 74 | // Step 1: increment the nesting count. | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 77 | // Step 2: call helper. The helper just calls f | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 81 | // Step 3: erase everything used by f (stack, registers). | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 84 | // Step 4: decrement the nesting count. | COMMENT |
| LOW⚡ | src/runtime/secret/secret.go | 87 | // Step 5: re-raise any caught panic. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/hg/goreposum.py | 24 | # Usage: | COMMENT |
| LOW | src/database/sql/sql.go | 105 | // Example usage: | COMMENT |
| LOW | src/database/sql/sql.go | 478 | // Example usage: | COMMENT |
| LOW | src/database/sql/sql.go | 2877 | // Example usage: | COMMENT |
| LOW | src/encoding/json/v2/options.go | 87 | // Example usage: | COMMENT |
| LOW | src/encoding/json/jsontext/encode.go | 908 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/runtime/runtime-gdb.py | 36 | except Exception: | CODE |
| LOW | src/runtime/runtime-gdb.py | 322 | except Exception: | CODE |
| LOW | src/runtime/runtime-gdb.py | 445 | except Exception: | CODE |
| LOW | src/runtime/runtime-gdb.py | 454 | except Exception: | CODE |
| LOW | src/runtime/runtime-gdb.py | 673 | except Exception as e: | CODE |
| MEDIUM | src/runtime/runtime-gdb.py | 33 | def read_runtime_const(varname, default): | CODE |
| MEDIUM | src/runtime/runtime-gdb.py | 316 | def matcher(val): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …md/go/testdata/script/mod_get_workspace_incomplete.txt | 62 | # In this example, there is a workspace with the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/simd/archsimd/_gen/simdgen/types.yaml | 1 | # This file defines the possible types of each operand and result. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/syscall/mksyscall_libc.pl | 166 | # Check if err return available | COMMENT |
| LOW | src/syscall/mksyscall.pl | 155 | # Check if err return available | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/hg/goreposum.py | 28 | CODE | |
| LOW | src/runtime/runtime-gdb.py | 18 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/runtime/runtime-gdb.py | 166 | CODE | |
| LOW | src/runtime/runtime-gdb.py | 478 | CODE |