Repository Analysis

OpenListTeam/OpenList

A new AList Fork to Anti Trust Crisis

0.9 Likely human-written View on GitHub
0.9
Adjusted Score
0.9
Raw Score
100%
Time Factor
2026-05-30
Last Push
22,770
Stars
Go
Language
128,640
Lines of Code
776
Files
115
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 2LOW 113

Pattern Findings

115 matches across 5 categories. Click a row to expand file-level details.

Over-Commented Block106 hits · 106 pts
SeverityFileLineSnippet
LOWcmd/cancel2FA.go41 // Here you will define your flags and configuration settings.
LOWcmd/lang.go181 // langCmd.PersistentFlags().String("foo", "", "A help for foo")
LOWcmd/start.go61
LOWcmd/admin.go101 // and all subcommands, e.g.:
LOWcmd/restart.go21 RootCmd.AddCommand(RestartCmd)
LOWdrivers/115_open/upload.go61// Data struct {
LOWdrivers/115_open/driver.go401// }
LOWdrivers/thunderx/types.go101 //FileExtension string `json:"file_extension"`
LOWdrivers/thunderx/types.go121 //IsDefault bool `json:"is_default"`
LOWdrivers/123_share/types.go81
LOWdrivers/189/util.go41// res, err = d.client.R().Get(url)
LOWdrivers/189/util.go61// }
LOWdrivers/189/util.go81// if err != nil {
LOWdrivers/189/util.go101// return errors.New("ocr error:" + jsoniter.Get(vRes.Body(), "msg").ToString())
LOWdrivers/189/util.go121// "validateCode": vCodeRS,
LOWdrivers/baidu_netdisk/types.go21type File struct {
LOWdrivers/baidu_netdisk/types.go101 //Height int `json:"height,omitempty"`
LOWdrivers/baidu_netdisk/types.go141 } `json:"thumbs"`*/
LOWdrivers/baidu_netdisk/types.go161 //Channels int `json:"channels"`
LOWdrivers/terabox/types.go21 Url3 string `json:"url3"`
LOWdrivers/cloudreve_v4/types.go41 // Logo string `json:"logo"`
LOWdrivers/139/types.go21 CatalogID string `json:"catalogID"`
LOWdrivers/139/types.go41 //SoftLink interface{} `json:"softLink"`
LOWdrivers/139/types.go61 ThumbnailURL string `json:"thumbnailURL"`
LOWdrivers/139/types.go81 //FileVersion string `json:"fileVersion"`
LOWdrivers/139/types.go161 ContentSize int64 `json:"contentSize"`
LOWdrivers/webdav/odrvcookie/cookie.go1package odrvcookie
LOWdrivers/webdav/odrvcookie/cookie.go21//}{m: make(map[string]*SpCookie)}
LOWdrivers/webdav/odrvcookie/cookie.go41 // Cookie: cookie.ToString([]*http.Cookie{&tokenConf.RtFa, &tokenConf.FedAuth}),
LOWdrivers/yandex_disk/types.go21 //AntivirusStatus string `json:"antivirus_status"`
LOWdrivers/baidu_photo/utils.go61//func (d *BaiduPhoto) Request(furl string, method string, callback base.ReqCallback, resp interface{}) ([]byte, error)
LOWdrivers/baidu_photo/utils.go81// }
LOWdrivers/quark_uc/types.go21type File struct {
LOWdrivers/quark_uc/types.go101 } `json:"metadata"`
LOWdrivers/quark_uc/types.go121 //Md5 string `json:"md5"`
LOWdrivers/quark_uc/types.go181 Size int64 `json:"size"`
LOWdrivers/quark_uc/types.go201 // Duration int `json:"duration"`
LOWdrivers/123/util.go81// vm := js.New()
LOWdrivers/123/util.go101// }(t), a = -1, i = 0; i < r.length; i++)
LOWdrivers/123/util.go121// n = 2 < arguments.length && void 0 !== n ? n : 8;
LOWdrivers/123/util.go141// f.push(m[Number(d[p])]);
LOWdrivers/degoo/types.go121 // Phone string
LOWdrivers/thunder_browser/types.go181 WebContentLink string `json:"web_content_link"`
LOWdrivers/thunder_browser/types.go201 Link Link `json:"link"`
LOWdrivers/thunder_browser/types.go221 DeleteTime string `json:"delete_time"`
LOWdrivers/thunder/types.go181 // Links map[string]Link `json:"links"`
LOWdrivers/thunder/types.go201 // Video struct {
LOWdrivers/thunder/types.go361 // UpgradeType string `json:"upgrade_type"`
LOWinternal/net/serve.go21 "github.com/pkg/errors"
LOWinternal/net/serve.go41// The name is otherwise unused; in particular it can be empty and is
LOWinternal/net/serve.go121 http.Error(w, err.Error(), code)
LOWinternal/driver/driver.go81 // Besides the most basic upload functionality, the following features also need to be implemented:
LOWinternal/driver/driver.go121type RenameResult interface {
LOWinternal/driver/driver.go141 // 2. Submit upload progress (via `up`) in real-time. There are three recommended ways as follows:
LOWinternal/driver/driver.go161}
LOWinternal/model/user.go41 ID uint `json:"id" gorm:"primaryKey"` // unique key
LOWserver/s3/utils.go61 return nil, err
LOWserver/s3/utils.go81 // if !ok {
LOWserver/s3/utils.go121// // FIXME this could be implemented by VFS.MkdirAll()
LOWserver/s3/utils.go141// // might be bucket(root)
46 more matches not shown…
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMentrypoint.sh23 # Define the target directory path for aria2 service
MEDIUM.github/workflows/sync_repo.yml31 # Create a new branch
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippet
LOWdrivers/189pc/torrent.go101 // Step 1: initMultiUpload(不传 fileMd5/sliceMd5,只传 lazyCheck)
LOWdrivers/189pc/torrent.go125 // Step 2: checkTransSecond(用 fileMd5 + sliceMd5 + uploadFileId 检查秒传)
LOWdrivers/189pc/torrent.go151 // Step 3: commitMultiUploadFile(传 fileMd5 + sliceMd5)
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippet
LOWserver/webdav/internal/xml/atom_test.go14 Author: Person{Name: "John Doe"},
LOWserver/webdav/internal/xml/marshal_test.go404 contentsAttr = "lorem ipsum"
LOWserver/webdav/internal/xml/marshal_test.go878 ExpectXML: `<dummy name="Sarah" age="12">lorem ipsum</dummy>`,
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOW.github/workflows/release.yml11 # Set release to prerelease first