The Go programming language
This report summarizes scanner evidence for golang/go, a Go project with 139,473 GitHub stars. SynthScan examined 2,636,726 lines of code across 12669 source files, recording 8141 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 2.9 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 8029 finding(s).
Are imports declared and package/API names verified? 41 finding(s).
Are wrappers, guards, and repeated structures necessary? 71 finding(s).
Which changes need focused human review? 8141 finding(s).
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.
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.
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.
The scanner identified 8141 distinct pattern matches across 18 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.
| 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/mem2reg/off -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/simd_critical.go | 1 | // errorcheck -0 -d=ssa/critical/debug=1 | COMMENT |
| LOW | test/known_bits.go | 421 | } | COMMENT |
| LOW | test/known_bits.go | 441 | y &= 0b10000 | 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/deferstacktemp.go | 1 | // run | 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 | // riscv64:"AMOANDD" -"JAL" | COMMENT |
| LOW | test/codegen/atomics.go | 61 | // arm64/v8.0:"LDORALD" | COMMENT |
| LOW | test/codegen/atomics.go | 81 | // amd64:"LOCK" -"CMPXCHGL" | COMMENT |
| LOW | test/codegen/mapaccess.go | 21 | COMMENT | |
| 7845 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 | 2298 | // Consumers should be robust to this. | COMMENT |
| MEDIUM | src/cmd/go/internal/work/exec.go | 3027 | // 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 | 2734 | // TODO(mdempsky): Is there a more robust way to get the | COMMENT |
| MEDIUM | src/cmd/compile/internal/noder/reader.go | 3027 | // TODO(mdempsky): Is there a more robust way to get the | COMMENT |
| MEDIUM | src/cmd/compile/internal/noder/reader.go | 3126 | // 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 | 4372 | // 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 | 98 | // #yield is used by delve. | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/debug.go | 98 | // #yield is used by delve. | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssa/known_bits.go | 374 | // 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 | 8 | // 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 | 1102 | // 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 | 1478 | // Return NXDOMAIN to utilize the search list. | COMMENT |
| MEDIUM | src/net/http/serve_test.go | 1001 | // 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 | 174 | // 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 | 37 | // 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 | 623 | // Test to check for issue #40191. Essentially, the candidate searchAddr | COMMENT |
| MEDIUM | src/runtime/mpagealloc_test.go | 623 | // 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 | 1719 | // 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 | 838 | // 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 |
|---|---|---|---|---|
| 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 | 62 | #------------------------------------------- | COMMENT |
| MEDIUM | src/cmd/go/testdata/script/cover_build_pkg_select.txt | 104 | #------------------------------------------- | COMMENT |
| MEDIUM | …go/testdata/script/cgo_suspect_flag_force_external.txt | 29 | #----------------------- | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssacompile/looprotate.go | 71 | // │ │ └─►It─┘ │ │ │ └─────┘ │ | COMMENT |
| MEDIUM | src/cmd/compile/internal/ssacompile/looprotate.go | 74 | // │ └─►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/simd/simd_emulated.go | 3805 | // ─────── | COMMENT |
| MEDIUM | src/simd/simd_emulated.go | 3810 | // ─────── | COMMENT |
| MEDIUM | src/simd/simd_stubs.go | 1177 | // ─────── | COMMENT |
| MEDIUM | src/simd/simd_stubs.go | 1182 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1438 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1443 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1468 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1473 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1498 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1503 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1528 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1533 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1558 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1563 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1588 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1593 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1618 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1623 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1648 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1653 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1678 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1683 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1708 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1713 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1738 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1743 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1768 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1773 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1798 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1803 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1828 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1833 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1858 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1863 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1888 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/simdref/simdref.go | 1893 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/bridge/simd_emulated.go | 3807 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/bridge/simd_emulated.go | 3812 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/spec/bitmath.go | 107 | // ─────── | COMMENT |
| MEDIUM | src/simd/internal/spec/bitmath.go | 112 | // ─────── | 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 |
|---|---|---|---|---|
| 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 | 1266 | // add them as requested. | COMMENT |
| HIGH | src/cmd/go/internal/modload/load.go | 1860 | // 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 | 570 | // 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 |
|---|---|---|---|---|
| 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/mail/message_test.go | 1263 | {Name: `é\`, Address: "user@example.com"}, | 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 |
|---|---|---|---|---|
| HIGH | src/runtime/runtime-gdb.py | 361 | except gdb.error: | CODE |
| HIGH | src/runtime/runtime-gdb.py | 368 | except gdb.error: | CODE |
| HIGH | src/runtime/runtime-gdb.py | 375 | except gdb.error: | CODE |
| HIGH | src/runtime/runtime-gdb.py | 379 | except gdb.error: | CODE |
| HIGH | src/runtime/runtime-gdb.py | 383 | except gdb.error: | CODE |
| HIGH | src/runtime/runtime-gdb.py | 322 | except Exception: | CODE |
| HIGH | src/runtime/runtime-gdb.py | 454 | except Exception: | CODE |
| HIGH | src/runtime/runtime-gdb.py | 518 | except gdb.error: | CODE |
| 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 |
| CRITICAL | src/cmd/compile/internal/amd64/ssa.go | 1422 | avx := v.Block.Func.Entry.CPUfeatures.HasFeature(ssa.CPUavx) | 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 | 56 | // 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/request.go | 404 | // 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 | 464 | constant. Here is a simple example: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/cmd/compile/internal/ssacompile/shortcircuit.go | 18 | // Step 1: Replace a phi arg with a constant if that arg | COMMENT |
| LOW | src/cmd/compile/internal/ssacompile/shortcircuit.go | 59 | // Step 2: Redirect control flow around known branches. | COMMENT |
| LOW | src/reflect/value.go | 683 | // NOTE: This function must be marked as a "wrapper" in the generated code, | COMMENT |
| LOW | src/reflect/value.go | 940 | // 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 | 154 | // 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 |
|---|---|---|---|---|
| LOW | src/cmd/compile/internal/ppc64/ssa.go | 2096 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/riscv64/ssa.go | 1059 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/noder/reader.go | 4340 | // TODO: implement wasm indirect tail calls | COMMENT |
| LOW | src/cmd/compile/internal/s390x/ssa.go | 957 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/wasm/ssa.go | 309 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/mips/ssa.go | 944 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/mips64/ssa.go | 876 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/x86/ssa.go | 1082 | // TODO: implement for clobberdead experiment. Nop is ok for now. | COMMENT |
| LOW | src/cmd/compile/internal/arm/ssa.go | 1024 | // 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 | 523 | // TODO: implement testingOnlyPeerSignatureAlgorithm on resumption. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/cmd/compile/internal/ssacompile/shortcircuit.go | 18 | // Step 1: Replace a phi arg with a constant if that arg | COMMENT |
| LOW | src/cmd/compile/internal/ssacompile/shortcircuit.go | 59 | // Step 2: Redirect control flow around known branches. | COMMENT |
| LOW | src/net/http/server.go | 1269 | // 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 | 917 | // 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 |