Open Source Continuous File Synchronization
This report summarizes scanner evidence for syncthing/syncthing, a Go project with 89,920 GitHub stars. SynthScan examined 156,232 lines of code across 755 source files, recording 67 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.6 (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? 54 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 3 finding(s).
Which changes need focused human review? 67 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 67 distinct pattern matches across 6 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 | cmd/infra/strelaypoolsrv/auto/doc.go | 1 | // Copyright (C) 2018 The Syncthing Authors. | COMMENT |
| LOW | cmd/infra/stcrashreceiver/main.go | 1 | // Copyright (C) 2019 The Syncthing Authors. | COMMENT |
| LOW | internal/db/olddb/set.go | 1 | // Copyright (C) 2014 The Syncthing Authors. | COMMENT |
| LOW | internal/db/olddb/backend/backend.go | 41 | type ReadTransaction interface { | COMMENT |
| LOW | internal/db/olddb/backend/backend.go | 61 | type WriteTransaction interface { | COMMENT |
| LOW | internal/db/olddb/backend/backend.go | 81 | // // ... | COMMENT |
| LOW | script/authors.go | 41 | const authorsHeader = `# This is the official list of Syncthing authors for copyright purposes. | COMMENT |
| LOW | gui/default/syncthing/core/syncthingController.js | 1181 | } | COMMENT |
| LOW | .github/FUNDING.yml | 1 | github: syncthing | COMMENT |
| LOW | lib/upgrade/signingkey.go | 1 | // Copyright (C) 2015 The Syncthing Authors. | COMMENT |
| LOW | lib/config/wrapper.go | 41 | // called for each subscribing object that implements it, with copies of the | COMMENT |
| LOW | lib/upnp/igd_service.go | 1 | // Copyright (C) 2016 The Syncthing Authors. | COMMENT |
| LOW | lib/upnp/igd_service.go | 21 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | COMMENT |
| LOW | lib/upnp/upnp.go | 1 | // Copyright (C) 2014 The Syncthing Authors. | COMMENT |
| LOW | lib/upnp/upnp.go | 21 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | COMMENT |
| LOW | lib/upnp/upnp.go | 361 | // Figure out our IPv4 address on the interface used to reach the IGD. | COMMENT |
| LOW | lib/protocol/bep_fileinfo.go | 481 | // - modification time (difference bigger than modTimeWindow) | COMMENT |
| LOW | lib/protocol/protocol.go | 121 | Index(ctx context.Context, idx *Index) error | COMMENT |
| LOW | lib/protocol/doc.go | 1 | // Copyright (C) 2014 The Syncthing Authors. | COMMENT |
| LOW | lib/dialer/empty_test.go | 1 | // Copyright (C) 2016 The Syncthing Authors. | COMMENT |
| LOW | lib/connections/service.go | 1421 | // to be unique for each connection and chronologically sortable. It is | COMMENT |
| LOW | lib/watchaggregator/aggregator.go | 401 | // Deletes should in general be scanned last, therefore they are delayed by | COMMENT |
| LOW | lib/model/doc.go | 1 | // Copyright (C) 2014 The Syncthing Authors. | COMMENT |
| LOW | lib/model/indexhandler.go | 101 | // This is the other side's description of themselves. We | COMMENT |
| LOW | lib/model/model.go | 2361 | // e.g. if multiple connections to a single device are closed. | COMMENT |
| LOW | lib/model/folder_sendrecv.go | 681 | // checkParent verifies that the thing we are handling lives inside a directory, | COMMENT |
| LOW | lib/model/folder_sendrecv.go | 1121 | // This is the flow of data and events here, I think... | COMMENT |
| LOW | lib/model/folder_sendrecv.go | 1141 | // | | +-----------------------+ | COMMENT |
| LOW | lib/model/sharedpullerstate.go | 161 | // permissions will be set to the final value later, but in the meantime | COMMENT |
| LOW | lib/model/sharedpullerstate.go | 201 | if s.sparse && !s.file.IsSymlink() { | COMMENT |
| LOW | lib/osutil/lowprio_linux.go | 21 | // (default) and 19 (worst priority). But then, this is Linux, so of | COMMENT |
| LOW | lib/osutil/lowprio_linux.go | 41 | if cur, err := syscall.Getpriority(syscall.PRIO_PROCESS, 0); err == nil && cur <= wantNiceLevel { | COMMENT |
| LOW | lib/api/api.go | 541 | func corsMiddleware(next http.Handler, allowFrameLoading bool) http.Handler { | COMMENT |
| LOW | lib/api/auto/doc.go | 1 | // Copyright (C) 2014 The Syncthing Authors. | COMMENT |
| LOW | lib/relay/protocol/empty_test.go | 1 | // Copyright (C) 2016 The Syncthing Authors. | COMMENT |
| LOW | lib/relay/client/empty_test.go | 1 | // Copyright (C) 2016 The Syncthing Authors. | COMMENT |
| LOW | lib/fs/fakefs.go | 41 | // following properties: | COMMENT |
| LOW | lib/fs/fakefs.go | 801 | // | COMMENT |
| LOW | lib/fs/folding_test.go | 21 | {"IJssel", "ijssel"}, | COMMENT |
| LOW | lib/fs/types.go | 1 | // Copyright (C) 2016 The Syncthing Authors. | COMMENT |
| LOW | lib/fs/walkfs.go | 41 | if ancestors.fs.SameFile(info, ancestor) { | COMMENT |
| LOW | lib/fs/util.go | 81 | } | COMMENT |
| LOW | lib/fs/basicfs_watch_notkqueue.go | 1 | // Copyright (C) 2022 The Syncthing Authors. | COMMENT |
| LOW | lib/scanner/doc.go | 1 | // Copyright (C) 2014 The Syncthing Authors. | COMMENT |
| LOW | lib/scanner/walk.go | 41 | // If CurrentFiler is not nil, it is queried for the current file before rescanning. | COMMENT |
| LOW | lib/beacon/doc.go | 1 | // Copyright (C) 2014 The Syncthing Authors. | COMMENT |
| LOW | lib/pmp/empty_test.go | 1 | // Copyright (C) 2016 The Syncthing Authors. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CONTRIBUTING.md | 54 | $ git config --global user.name "Jane Doe" | CODE |
| LOW | lib/discover/manager.go | 7 | //go:generate go tool counterfeiter -o mocks/manager.go --fake-name Manager . Manager | COMMENT |
| LOW | lib/config/wrapper.go | 7 | //go:generate go tool counterfeiter -o mocks/mocked_wrapper.go --fake-name Wrapper . Wrapper | COMMENT |
| LOW⚡ | lib/protocol/protocol.go | 8 | //go:generate go tool counterfeiter -o mocked_connection_info_test.go --fake-name mockedConnectionInfo . ConnectionInfo | COMMENT |
| LOW⚡ | lib/protocol/protocol.go | 11 | //go:generate go tool counterfeiter -o mocks/connection_info.go --fake-name ConnectionInfo . ConnectionInfo | COMMENT |
| LOW⚡ | lib/protocol/protocol.go | 12 | //go:generate go tool counterfeiter -o mocks/connection.go --fake-name Connection . Connection | COMMENT |
| LOW | lib/connections/service.go | 7 | //go:generate go tool counterfeiter -o mocks/service.go --fake-name Service . Service | COMMENT |
| LOW | lib/model/folder_summary.go | 7 | //go:generate go tool counterfeiter -o mocks/folderSummaryService.go --fake-name FolderSummaryService . FolderSummarySer | COMMENT |
| LOW | lib/model/model.go | 7 | //go:generate go tool counterfeiter -o mocks/model.go --fake-name Model . Model | COMMENT |
| LOW | lib/events/events.go | 7 | //go:generate go tool counterfeiter -o mocks/buffered_subscription.go --fake-name BufferedSubscription . BufferedSubscri | COMMENT |
| LOW | lib/scanner/walk_test.go | 160 | data := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | lib/scanner/walk_test.go | 160 | data := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | gui/default/syncthing/core/syncthingController.js | 3282 | return $scope.advancedConfig.defaults.ignores.lines.join('\n'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | build.go | 540 | // https://github.com/go-delve/delve/issues/79 | COMMENT |
| MEDIUM | gui/default/syncthing/core/localeService.js | 41 | // @TODO: check if there is nice way to utilize window.navigator.languages or similar api. | COMMENT |
| MEDIUM | lib/versioner/trashcan.go | 137 | // If a deleted file was restored, even though the RenameOrCopy method is robust, check if the file exists and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gui/default/syncthing/core/syncthingController.js | 916 | function shouldSetDefaultFolderPath() { | CODE |
| LOW | gui/default/syncthing/core/syncthingController.js | 1165 | function progressIntegerPercentage(current, total) { | CODE |
| LOW | gui/default/syncthing/core/syncthingController.js | 2747 | function saveFolderIgnoresExisting() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/docker-entrypoint.sh | 10 | # If Syncthing should have no extra capabilities, make sure to remove them | COMMENT |