Repository Analysis

AlistGo/alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。

1.2 Likely human-written View on GitHub
1.2
Adjusted Score
1.2
Raw Score
100%
Time Factor
2026-05-29
Last Push
49,567
Stars
Go
Language
124,374
Lines of Code
778
Files
109
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 4HIGH 0MEDIUM 0LOW 105

Pattern Findings

109 matches across 4 categories. Click a row to expand file-level details.

Over-Commented Block100 hits · 100 pts
SeverityFileLineSnippet
LOWcmd/cancel2FA.go41 // cancel2FACmd.PersistentFlags().String("foo", "", "A help for foo")
LOWcmd/start.go61
LOWcmd/restart.go21 RootCmd.AddCommand(RestartCmd)
LOWdrivers/115_open/driver.go301 // 4. upload
LOWdrivers/115_open/driver.go321// return nil, errs.NotImplement
LOWdrivers/thunderx/types.go101 //FileExtension string `json:"file_extension"`
LOWdrivers/thunderx/types.go121 //IsDefault bool `json:"is_default"`
LOWdrivers/123_share/types.go81//func (f File) Thumb() string {
LOWdrivers/quqi/driver.go361 // partSize := int64(1024 * 1024 * 2)
LOWdrivers/189/util.go41// if err != nil {
LOWdrivers/189/util.go61// captchaToken := regexp.MustCompile(`captchaToken' value='(.+?)'`).FindStringSubmatch(b)[1]
LOWdrivers/189/util.go81// return err
LOWdrivers/189/util.go101// }
LOWdrivers/189/util.go121// "captchaToken": captchaToken,
LOWdrivers/baidu_netdisk/types.go101 Dlink string `json:"dlink"`
LOWdrivers/baidu_netdisk/types.go121 //} `json:"names"`
LOWdrivers/baidu_netdisk/types.go141 URL3 string `json:"url3"`
LOWdrivers/baidu_netdisk/types.go161 //ID string `json:"id"`
LOWdrivers/terabox/types.go21 Url3 string `json:"url3"`
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/139/driver.go341 pathname = "/orchestration/group-rebuild/content/v1.0/modifyGroupContent"
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.go21 //PdirFid string `json:"pdir_fid"`
LOWdrivers/quark_uc/types.go101 Resp
LOWdrivers/quark_uc/types.go121 //ObjCategory string `json:"obj_category"`
LOWdrivers/123/util.go81// for (var t = [], e = 0; e < 256; e++) {
LOWdrivers/123/util.go101// return typeof t
LOWdrivers/123/util.go121// d: r.getDate() < 10 ? "0".concat(r.getDate()) : r.getDate(),
LOWdrivers/123/util.go181 return err
LOWdrivers/thunder_browser/types.go121 // Audit struct {
LOWdrivers/thunder_browser/types.go141 // BitRate int `json:"bit_rate"`
LOWdrivers/thunder/types.go181 // Links map[string]Link `json:"links"`
LOWdrivers/thunder/types.go201 // Video struct {
LOWinternal/net/serve.go21 "github.com/alist-org/alist/v3/pkg/utils"
LOWinternal/net/serve.go41// and passing it to DetectContentType.
LOWinternal/driver/driver.go81 // Besides the most basic upload functionality, the following features also need to be implemented:
LOWinternal/driver/driver.go101 // mutex like `semaphore.Weighted` to limit the maximum number of upload threads, preventing excessive
LOWinternal/driver/driver.go141 // 1. Canceling (when `<-ctx.Done()` returns), which can be supported by the following methods:
LOWinternal/driver/driver.go161 // memory usage caused by buffering too many file chunks awaiting upload.
LOWinternal/op/user.go161 //if len(u.Role) > 0 {
LOWinternal/op/role.go181 // users, err := db.GetUsersByRole(int(r.ID))
LOWinternal/model/user.go41 // 4: can rename
LOWserver/s3/utils.go61
LOWserver/s3/utils.go81 // in, err := b.Open(os.O_RDONLY)
LOWserver/s3/utils.go121// path = strings.Trim(path, "/")
LOWserver/common/common.go21}
LOWserver/webdav/webdav.go561
LOWserver/webdav/xml.go21 // were encoded. Such changes were introduced in the Go 1.5 cycle, but were
LOWserver/webdav/xml.go301// multistatus response.
LOWserver/webdav/prop.go41 // Allowed values include, but are not limited to the WebDAV status
LOWserver/webdav/prop.go81// removed. See the Terminology section of
40 more matches not shown…
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippet
CRITICALdrivers/lark/other.go139 return c.client.Drive.V1.ExportTask.Create(ctx,
CRITICALdrivers/lark/other.go195 return c.client.Drive.V1.ExportTask.Get(ctx,
CRITICALdrivers/lark/other.go235 return c.client.Drive.V1.ExportTask.Download(ctx,
CRITICALdrivers/lark/driver.go262 return c.client.Drive.V1.File.List(ctx, builder.Build(), opts...)
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWdrivers/darkibox/driver.go234 // Step 1: Get the upload server URL
LOWdrivers/darkibox/driver.go243 // Step 2: Upload the file to the upload server
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>`,