Repository Analysis

syncthing/syncthing

Open Source Continuous File Synchronization

0.5 Likely human-written View on GitHub
0.5
Adjusted Score
0.5
Raw Score
100%
Time Factor
2026-05-27
Last Push
84,749
Stars
Go
Language
154,926
Lines of Code
754
Files
61
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 3LOW 57

Pattern Findings

61 matches across 6 categories. Click a row to expand file-level details.

Over-Commented Block50 hits · 50 pts
SeverityFileLineSnippet
LOWcmd/infra/strelaypoolsrv/auto/doc.go1// Copyright (C) 2018 The Syncthing Authors.
LOWcmd/infra/stcrashreceiver/main.go1// Copyright (C) 2019 The Syncthing Authors.
LOWinternal/db/olddb/set.go1// Copyright (C) 2014 The Syncthing Authors.
LOWinternal/db/olddb/backend/backend.go41type ReadTransaction interface {
LOWinternal/db/olddb/backend/backend.go61type WriteTransaction interface {
LOWinternal/db/olddb/backend/backend.go81// // ...
LOWscript/authors.go41const authorsHeader = `# This is the official list of Syncthing authors for copyright purposes.
LOWgui/default/syncthing/core/syncthingController.js1181 }
LOW.github/FUNDING.yml1github: syncthing
LOWlib/upgrade/signingkey.go1// Copyright (C) 2015 The Syncthing Authors.
LOWlib/config/wrapper.go41// called for each subscribing object that implements it, with copies of the
LOWlib/upnp/igd_service.go1// Copyright (C) 2016 The Syncthing Authors.
LOWlib/upnp/igd_service.go21// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LOWlib/upnp/upnp.go1// Copyright (C) 2014 The Syncthing Authors.
LOWlib/upnp/upnp.go21// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LOWlib/protocol/bep_fileinfo.go481// Any file info is not "equivalent", if it has different
LOWlib/protocol/nativemodel_unix.go1// Copyright (C) 2014 The Syncthing Authors.
LOWlib/protocol/protocol.go121 // parameter may be altered by the connection and should not be used
LOWlib/protocol/doc.go1// Copyright (C) 2014 The Syncthing Authors.
LOWlib/dialer/empty_test.go1// Copyright (C) 2016 The Syncthing Authors.
LOWlib/watchaggregator/aggregator.go401 // Deletes should in general be scanned last, therefore they are delayed by
LOWlib/model/doc.go1// Copyright (C) 2014 The Syncthing Authors.
LOWlib/model/indexhandler.go101 // This is the other side's description of themselves. We
LOWlib/model/model.go2361// device connection.
LOWlib/model/folder_sendrecv.go681 return false
LOWlib/model/folder_sendrecv.go1081 dbUpdateChan <- dbUpdateJob{source, dbUpdateDeleteFile}
LOWlib/model/folder_sendrecv.go1101// +-----------------------+
LOWlib/model/sharedpullerstate.go161 // permissions will be set to the final value later, but in the meantime
LOWlib/model/sharedpullerstate.go201 if s.sparse && !s.file.IsSymlink() {
LOWlib/osutil/hidden_unix.go1// Copyright (C) 2014 The Syncthing Authors.
LOWlib/osutil/lowprio_linux.go21 // Process zero is "self", niceness value 9 is something between 0
LOWlib/osutil/lowprio_linux.go41 // Remember Linux kernel nice levels are upside down.
LOWlib/osutil/lowprio_noop.go1// Copyright (C) 2020 The Syncthing Authors.
LOWlib/api/api.go541 // when the browser initiate a POST request.
LOWlib/api/api.go561
LOWlib/api/auto/doc.go1// Copyright (C) 2014 The Syncthing Authors.
LOWlib/relay/protocol/empty_test.go1// Copyright (C) 2016 The Syncthing Authors.
LOWlib/relay/client/empty_test.go1// Copyright (C) 2016 The Syncthing Authors.
LOWlib/fs/fakefs.go41// following properties:
LOWlib/fs/fakefs.go801 //
LOWlib/fs/folding_test.go21 {"IJssel", "ijssel"},
LOWlib/fs/types.go1// Copyright (C) 2016 The Syncthing Authors.
LOWlib/fs/walkfs.go41 if ancestors.fs.SameFile(info, ancestor) {
LOWlib/fs/util.go81}
LOWlib/fs/basicfs_watch_notkqueue.go1// Copyright (C) 2022 The Syncthing Authors.
LOWlib/fs/basicfs_watch_test.go481 // (/os/file.go:696) then write nothing. This logic is also used in many editors,
LOWlib/scanner/doc.go1// Copyright (C) 2014 The Syncthing Authors.
LOWlib/scanner/walk.go41 // If CurrentFiler is not nil, it is queried for the current file before rescanning.
LOWlib/beacon/doc.go1// Copyright (C) 2014 The Syncthing Authors.
LOWlib/pmp/empty_test.go1// Copyright (C) 2016 The Syncthing Authors.
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALgui/default/syncthing/core/syncthingController.js3279 return $scope.advancedConfig.defaults.ignores.lines.join('\n');
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMbuild.go540 // https://github.com/go-delve/delve/issues/79
MEDIUMgui/default/syncthing/core/localeService.js41 // @TODO: check if there is nice way to utilize window.navigator.languages or similar api.
MEDIUMlib/versioner/trashcan.go137 // If a deleted file was restored, even though the RenameOrCopy method is robust, check if the file exists and
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippet
LOWCONTRIBUTING.md68 $ git config --global user.name "Jane Doe"
LOWlib/scanner/walk_test.go160 data := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
LOWlib/scanner/walk_test.go160 data := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippet
LOWgui/default/syncthing/core/syncthingController.js916 function shouldSetDefaultFolderPath() {
LOWgui/default/syncthing/core/syncthingController.js1165 function progressIntegerPercentage(current, total) {
LOWgui/default/syncthing/core/syncthingController.js2747 function saveFolderIgnoresExisting() {
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWscript/docker-entrypoint.sh10 # If Syncthing should have no extra capabilities, make sure to remove them