Repository Analysis

golang/tools

[mirror] Go Tools

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of golang/tools, a Go project with 7,984 GitHub stars. SynthScan v2.0 examined 457,346 lines of code across 2448 source files, recording 1832 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 4.0 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).

4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
8.0K
Stars
Go
Language
457.3K
Lines of Code
2.4K
Files
1.8K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 8HIGH 6MEDIUM 33LOW 1785

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 1832 distinct pattern matches across 11 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.

Over-Commented Block1701 hits · 1514 pts
SeverityFileLineSnippetContext
LOWcmd/present/static/playground.js321 function lineClear() {COMMENT
LOWcmd/fiximports/main.go1// Copyright 2015 The Go Authors. All rights reserved.COMMENT
LOWcmd/fiximports/main.go21// package by its canonical name and by an alias. The resultingCOMMENT
LOWcmd/fiximports/main.go41// will stop working as soon as you update your copy of that packageCOMMENT
LOWcmd/fiximports/main_test.go21)COMMENT
LOWcmd/fiximports/testdata/src/old.com/bad/bad.go1// This ill-formed Go source file is here to ensure the tool is robustCOMMENT
LOWcmd/toolstash/main.go1// Copyright 2015 The Go Authors. All rights reserved.COMMENT
LOWcmd/toolstash/main.go21// copies the toolchain from its installed location to the toolstash directory.COMMENT
LOWcmd/toolstash/main.go41//COMMENT
LOWcmd/toolstash/main.go61// compiler output:COMMENT
LOWcmd/toolstash/main.go81// To verify that code cleanup in the compilers does not make anyCOMMENT
LOWcmd/toolstash/main.go101//COMMENT
LOWcmd/compilebench/main.go1// Copyright 2015 The Go Authors. All rights reserved.COMMENT
LOWcmd/compilebench/main.go21//COMMENT
LOWcmd/compilebench/main.go41// Write a memory profile of the compiler to file.COMMENT
LOWcmd/compilebench/main.go61//COMMENT
LOWcmd/goyacc/testdata/expr/main.go1// Copyright 2014 The Go Authors. All rights reserved.COMMENT
LOWcmd/stringer/stringer.go1// Copyright 2014 The Go Authors. All rights reserved.COMMENT
LOWcmd/stringer/stringer.go21//COMMENT
LOWcmd/stringer/stringer.go41// That method will translate the value of a Pill constant to the string representationCOMMENT
LOWcmd/stringer/stringer.go61// Types can also be declared in tests, in which case type declarations in theCOMMENT
LOWcmd/stringer/stringer.go141 if len(args) == 1 && isDirectory(args[0]) {COMMENT
LOWcmd/stringer/stringer.go361 runs := splitIntoRuns(values)COMMENT
LOW…/signature-fuzzer/internal/fuzz-generator/generator.go1// Copyright 2021 The Go Authors. All rights reserved.COMMENT
LOW…/signature-fuzzer/internal/fuzz-generator/generator.go21//COMMENT
LOW…/signature-fuzzer/internal/fuzz-generator/generator.go61 // Tag is a string prefix prepended to functions withinCOMMENT
LOW…/signature-fuzzer/internal/fuzz-generator/generator.go181COMMENT
LOW…/signature-fuzzer/internal/fuzz-generator/generator.go201COMMENT
LOW…/signature-fuzzer/internal/fuzz-generator/generator.go1821 // return x, y, zCOMMENT
LOWcmd/signature-fuzzer/internal/fuzz-generator/parm.go21 // prepend before the declaration (for example a variableCOMMENT
LOWcmd/signature-fuzzer/internal/fuzz-generator/parm.go41 // up until this point, and 'caller' is set to true if we'reCOMMENT
LOWcmd/signature-fuzzer/internal/fuzz-generator/parm.go81COMMENT
LOWcmd/bisect/main.go1// Copyright 2023 The Go Authors. All rights reserved.COMMENT
LOWcmd/bisect/main.go21// The target must cooperate with bisect by accepting a change patternCOMMENT
LOWcmd/bisect/main.go41// to standard output.COMMENT
LOWcmd/bisect/main.go61// -count=NCOMMENT
LOWcmd/bisect/main.go81// -godebug=<name>=<value>COMMENT
LOWcmd/bisect/main.go101// The go command also checks the GOCOMPILEDEBUG environment variable for flagsCOMMENT
LOWcmd/bisect/main.go261 // cause a failure when disabled. In this case, the search proceeds as normal except thatCOMMENT
LOWcmd/bisect/main.go301// &searchFatal is a special panic value to signal that Search failed.COMMENT
LOWcmd/gotype/gotype.go1// Copyright 2011 The Go Authors. All rights reserved.COMMENT
LOWcmd/godex/gccgo.go21 // Disabled for now.COMMENT
LOWcmd/godex/doc.go1// Copyright 2014 The Go Authors. All rights reserved.COMMENT
LOWcmd/godex/doc.go21//COMMENT
LOWcmd/godex/doc.go41// dot (indicating an empty object name). For instance, the path for aCOMMENT
LOWcmd/godex/doc.go61// sourceCOMMENT
LOWcmd/godex/writetype.go101 // than the actual method set since resolved method signaturesCOMMENT
LOWcmd/bundle/main.go1// Copyright 2015 The Go Authors. All rights reserved.COMMENT
LOWcmd/bundle/main.go21//COMMENT
LOWcmd/bundle/main.go41// every package-level const, func, type, and var identifier in src's code,COMMENT
LOWcmd/gonew/main.go1// Copyright 2023 The Go Authors. All rights reserved.COMMENT
LOWcmd/gonew/main.go21//COMMENT
LOWcmd/deadcode/deadcode.go241 // Function is not part of the program.COMMENT
LOWcmd/splitdwarf/splitdwarf.go81 // struct {COMMENT
LOWcmd/splitdwarf/splitdwarf.go101 //COMMENT
LOWcmd/splitdwarf/internal/macho/file.go81 // Load command 3COMMENT
LOWcmd/goimports/goimports.go341 // diff exits with a non-zero status when the files don't match.COMMENT
LOWcmd/present2md/main.go1// Copyright 2020 The Go Authors. All rights reserved.COMMENT
LOWcmd/file2fuzz/main.go1// Copyright 2021 The Go Authors. All rights reserved.COMMENT
LOWcmd/callgraph/main.go1// Copyright 2014 The Go Authors. All rights reserved.COMMENT
1641 more matches not shown…
AI Slop Vocabulary32 hits · 100 pts
SeverityFileLineSnippetContext
MEDIUMcmd/fiximports/testdata/src/old.com/bad/bad.go1// This ill-formed Go source file is here to ensure the tool is robustCOMMENT
MEDIUMcmd/toolstash/main.go114// A more robust way to force the tools to have the same version stringCOMMENT
MEDIUMcmd/stringer/multifile_test.go422 // Trim data for more robust comparison.COMMENT
MEDIUMcmd/bisect/main.go271 // bisect more robust, we use the y and n runs to create an estimate of theCOMMENT
MEDIUMgo/analysis/passes/buildtag/buildtag.go355 // Definitely should not happen, but not the user's fault.COMMENT
MEDIUMgo/analysis/passes/slog/slog.go113 // Can't be either a string or Attr. Definitely an error.COMMENT
MEDIUMgo/ssa/ssa.go1655 // case, but is simple and robust.COMMENT
MEDIUMgo/ssa/print.go100 // Be robust against malformed CFG.COMMENT
MEDIUMgo/ssa/print.go110 edgeVal := "<nil>" // be robustCODE
MEDIUMgo/ssa/print.go254 // Be robust against a bad index.COMMENT
MEDIUMgo/ssa/print.go263 // Be robust against a bad index.COMMENT
MEDIUMgo/ssa/print.go301 // Be robust against malformed CFG.COMMENT
MEDIUMgo/ssa/print.go310 // Be robust against malformed CFG.COMMENT
MEDIUMgo/ssa/func.go704 // Be robust against bad transforms.COMMENT
MEDIUMgo/ssa/interp/interp_test.go10// not robust to evolutionary change in the standard library.COMMENT
MEDIUMgopls/integration/govim/run_local.sh77# Build the test harness. Here we are careful to pass in a very limited buildCOMMENT
MEDIUMgopls/integration/govim/cloudbuild.harness.yaml5# Build the govim test harness that will be used to run govim integration testsCOMMENT
MEDIUMgopls/integration/govim/cloudbuild.harness.yaml10 # To allow for breaking changes to this test harness, tag with a majorCOMMENT
MEDIUMgopls/integration/govim/cloudbuild.harness.yaml17 # Use the integration test directory as build context: the test harnessCOMMENT
MEDIUMgopls/internal/settings/settings.go872 // TODO(rfindley): make pull diagnostics robust, and remove this option,COMMENT
MEDIUMgopls/internal/filewatcher/fsnotify_watcher.go242 // a more robust solution is needed.COMMENT
MEDIUMgopls/internal/cache/snapshot.go1091// restored to fix golang/go#65801. We should endeavor to remove it again.COMMENT
MEDIUM…ernal/test/integration/diagnostics/diagnostics_test.go2183 // as it is robust in case of minor mistakes in the positionCOMMENT
MEDIUMgopls/internal/test/integration/watch/watch_test.go369 // We should have a robust way to test loads. It should be possible to assertCOMMENT
MEDIUMgopls/internal/server/text_synchronization.go374 // TODO(adonovan): refactor to use diff.Apply, which is robust w.r.t.COMMENT
MEDIUMinternal/gcimporter/gcimporter_test.go197 // the files we consider in an attempt to make this test more robust toCOMMENT
MEDIUMinternal/gcimporter/iexport_go118_test.go125 // the files we consider in an attempt to make this test more robust toCOMMENT
MEDIUMinternal/typesinternal/zerovalue.go211// See also https://go.dev/issues/75604, which will provide a robustCOMMENT
MEDIUMinternal/stdlib/generate.go478// TODO(adonovan): find a more robust solution.COMMENT
MEDIUMinternal/facts/facts_test.go481// needs to robust, e.g. no infinite loops.COMMENT
MEDIUMinternal/refactor/inline/inline.go540// the effective importMap, new/old imports, arguments, etc. EssentiallyCOMMENT
MEDIUMrefactor/rename/rename.go365 // TODO(adonovan): enable this. Requires making a lot of code more robust!COMMENT
Hallucination Indicators8 hits · 80 pts
SeverityFileLineSnippetContext
CRITICALgopls/internal/test/marker/codeaction_test.go74 data = bytes.ReplaceAll(data, []byte(mark.run.env.Sandbox.Workdir.RootURI()), []byte("$WORKDIR"))CODE
CRITICALgopls/internal/test/marker/codeaction_test.go286 rawResponse, err := mark.run.env.Editor.Server.ExecuteCommand(mark.run.env.Ctx, lspCmd)CODE
CRITICALgopls/internal/test/marker/codeaction_test.go338 if _, err := mark.run.env.Editor.Server.ExecuteCommand(mark.run.env.Ctx, cmd); err != nil {CODE
CRITICALgopls/internal/test/marker/marker_test.go389 return mark.run.env.Sandbox.Workdir.URI(mark.run.test.fset.File(mark.note.Pos).Name())CODE
CRITICALgopls/internal/test/marker/marker_test.go399 return mark.run.env.Sandbox.Workdir.RelPath(mark.run.test.fset.File(mark.note.Pos).Name())CODE
CRITICALgopls/internal/test/marker/marker_test.go1913 abs := mark.run.env.Sandbox.Workdir.RootURI().Path()CODE
CRITICALgopls/internal/test/marker/marker_test.go2399 return strings.ReplaceAll(v, "$WORKDIR", mark.run.env.Sandbox.Workdir.RootURI().Path())CODE
CRITICALgopls/internal/test/marker/marker_test.go2448 got = strings.ReplaceAll(got, filepath.ToSlash(mark.run.env.Sandbox.Workdir.RootURI().Path()), "$WORKDIR")CODE
TODO Padding49 hits · 37 pts
SeverityFileLineSnippetContext
LOWgopls/internal/test/integration/misc/addtest_test.go59 // TODO: Add test cases.COMMENT
LOW…nal/test/marker/testdata/codeaction/addtest_pre124.txt41+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt45+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt83+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt130+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt158+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt186+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt212+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt239+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt264+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt309+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt333+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt357+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt383+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt409+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt435+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt498+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt524+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt550+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt576+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt602+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt627+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt669+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt720+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt776+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt812+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt844+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt882+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt956+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt985+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1017+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1046+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1097+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1126+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1198+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1235+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1272+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1309+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1346+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1373+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1400+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1427+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1467+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1501+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1566+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1604+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1656+ // TODO: Add test cases.CODE
LOW…s/internal/test/marker/testdata/codeaction/addtest.txt1690+ // TODO: Add test cases.CODE
LOWgopls/internal/golang/addtest.go76 // TODO: Add test cases.COMMENT
AI Response Leakage4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHgopls/internal/vulncheck/osv/osv.go25// In this implementation, only the "SEMVER" type is supported.COMMENT
HIGHgopls/internal/vulncheck/osv/osv.go35// In this implementation, only the "Go" ecosystem is supported.COMMENT
HIGHgopls/internal/vulncheck/osv/osv.go90 // In this implementation, only the "SEMVER" type is supported.COMMENT
HIGHinternal/facts/facts_test.go391 // I've added CheckExpr in https://go-review.googlesource.com/c/go/+/144677.COMMENT
Fake / Example Data16 hits · 21 pts
SeverityFileLineSnippetContext
LOWcmd/present/static/dir.js32 search.value = search.getAttribute('placeholder');CODE
LOWgo/analysis/internal/checker/testdata/conflict.txt20 bar := 12 //@ fix1("\tbar", "baz"), fix2("ar ", "baz"), fix3("bar", "lorem ipsum")CODE
LOWgo/analysis/internal/checker/testdata/conflict.txt28 baz := 12 //@ fix1("\tbar", "baz"), fix2("ar ", "baz"), fix3("bar", "lorem ipsum")CODE
LOWgo/ssa/const_test.go67 {"interface{Named}", "lorem ipsum", `"lorem ipsum":interface{P.Named}`},CODE
LOWgo/packages/overlay_test.go476 "foo.txt": "placeholder",CODE
LOWgo/packages/overlay_test.go963 "foo.txt": "placeholder",CODE
LOWgo/packages/packages.go79 // "placeholder" Packages with only the ID set.COMMENT
LOWgopls/internal/test/marker/testdata/hover/const.txt68 longStr = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eget ipsum non nuncCODE
LOWgopls/internal/test/marker/testdata/hover/const.txt68 longStr = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eget ipsum non nuncCODE
LOWgopls/internal/test/marker/testdata/hover/const.txt154const longStr untyped string = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur e...CODE
LOWgopls/internal/test/marker/testdata/hover/const.txt154const longStr untyped string = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur e...CODE
LOW…s/internal/test/marker/testdata/completion/comment.txt84// Lorem Ipsum Multili//@complete(re"()Multi", multiline)COMMENT
LOW…s/internal/test/marker/testdata/completion/comment.txt85// Lorem ipsum dolor sit ametomCOMMENT
LOW…s/internal/test/marker/testdata/completion/comment.txt85// Lorem ipsum dolor sit ametomCOMMENT
LOWgopls/internal/protocol/tsprotocol.go4238 Placeholder string `json:"placeholder"`CODE
LOWinternal/excfg/excfg.go140 // Allocate "placeholder" ExBlocks for each cfg.Block. We often need toCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHgo/analysis/unitchecker/unitchecker.go140 // Redirect stdout to a file as requested.COMMENT
HIGHgo/packages/packages.go784// and syntax information as requested by the LoadMode.COMMENT
Verbosity Indicators7 hits · 13 pts
SeverityFileLineSnippetContext
LOWgopls/internal/golang/change_signature.go38// Step 1: Write the declaration according to the given signature change. ForCOMMENT
LOWgopls/internal/golang/change_signature.go44// Step 2: Build a wrapper function that delegates to the new function.COMMENT
LOWgopls/internal/golang/change_signature.go51// Step 3: Swap in the wrapper for the original, and inline all calls. TheCOMMENT
LOWgopls/internal/golang/change_signature.go165 // Step 1: create the new declaration, which is a copy of the original declCOMMENT
LOWgopls/internal/golang/change_signature.go224 // Step 2: build a wrapper function calling the new declaration.COMMENT
LOWgopls/internal/golang/change_signature.go286 // Step 3: Rewrite all referring calls, by swapping in the wrapper andCOMMENT
LOWgopls/internal/golang/extract.go345 // We need to check if we are in an else-if stmt andCOMMENT
Structural Annotation Overuse7 hits · 13 pts
SeverityFileLineSnippetContext
LOWgopls/internal/golang/change_signature.go38// Step 1: Write the declaration according to the given signature change. ForCOMMENT
LOWgopls/internal/golang/change_signature.go44// Step 2: Build a wrapper function that delegates to the new function.COMMENT
LOWgopls/internal/golang/change_signature.go51// Step 3: Swap in the wrapper for the original, and inline all calls. TheCOMMENT
LOWgopls/internal/golang/change_signature.go165 // Step 1: create the new declaration, which is a copy of the original declCOMMENT
LOWgopls/internal/golang/change_signature.go224 // Step 2: build a wrapper function calling the new declaration.COMMENT
LOWgopls/internal/golang/change_signature.go286 // Step 3: Rewrite all referring calls, by swapping in the wrapper andCOMMENT
LOWinternal/diff/lcs/git.sh15# WARNING: This script will install the latest version of $fileCOMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcmd/bisect/main.go106// Finally, as mentioned earlier, the -compile flag allows shortening this command further:COMMENT
LOWgo/ssa/stdlib_test.go169 // NB: when benchmarking, don't forget to clear the debug +COMMENT
LOWgopls/internal/golang/codeaction.go275 // Note: don't forget to update the allow-list in Server.CodeActionCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWgo/packages/internal/nodecount/nodecount.go9// Example usage:COMMENT
LOWgopls/internal/protocol/command/util.go21// Example usage:COMMENT
LOWgopls/internal/protocol/command/util.go48// Example usage:COMMENT