Build 1905 success
quality on qlty · 53f2b88075 · queued 2026-10-22 18:17 UTC · finished 2026-10-22 18:21 UTC · ran 3m11s
setup
$ git clone ssh://git@127.0.0.1/krz/gitbay.git (53f2b88075)
step 1/3 curl -fsSL -o /tmp/qlty.tar.xz https://qlty-releases.s3.amazonaws.com/qlty/v0.661.0/qlty-x86_64-unknown-linux-gnu.tar.xz && python3 -c "import tarfile; tarfile.open('/tmp/qlty.tar.xz').extractall('/tmp')"
<string>:1: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
step 2/3 QLTY_TELEMETRY=off /tmp/qlty-x86_64-unknown-linux-gnu/qlty check --all --no-progress --filter trufflehog,gofmt
✔ No issues
step 3/3 QLTY_TELEMETRY=off /tmp/qlty-x86_64-unknown-linux-gnu/qlty check --all --no-progress --no-fail
AUTOFIXES: 1
docs/demo/env.sh:25
medium Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
22 22 | export HOME=$DEMO_HOME PATH=$DEMO_HOME/bin:$PATH EDITOR=true
23 23 | unset SSH_AUTH_SOCK XDG_CONFIG_HOME
24 24 | PS1='\[\e[38;5;208m\]\W\[\e[0m\] $ '
25 |-cd "$DEMO_HOME/work"
25 |+cd "$DEMO_HOME/work" || exit
shellcheck:2164
ISSUES: 705
cmd/gitbay/local.go:88:88
88:88 high Define a constant instead of duplicating this literal "gitbay:" 15 times. radarlint-go:go:S1192
220:220 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
309:309 high Define a constant instead of duplicating this literal "--quiet" 3 times. radarlint-go:go:S1192
359:359 high Define a constant instead of duplicating this literal "--json" 5 times. radarlint-go:go:S1192
424:424 high Define a constant instead of duplicating this literal "apply-suggestion" 3 times. radarlint-go:go:S1192
468:468 high Refactor this method to reduce its Cognitive Complexity from 44 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbay/main.go:23:23
23:23 high Define a constant instead of duplicating this literal "gitbay:" 7 times. radarlint-go:go:S1192
280:280 high Define a constant instead of duplicating this literal "--help" 5 times. radarlint-go:go:S1192
312:312 high Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. radarlint-go:go:S3776
478:478 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
479:479 high Define a constant instead of duplicating this literal "an SSH public key" 4 times. radarlint-go:go:S1192
593:593 high Define a constant instead of duplicating this literal "deploy-key" 4 times. radarlint-go:go:S1192
cmd/gitbay/migrate.go:50:50
50:50 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbay/serverpath_test.go:93:93
93:93 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbay/ssh.go:198:198
198:198 high Define a constant instead of duplicating this literal "--json" 3 times. radarlint-go:go:S1192
233:233 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbay/templatecmds_test.go:103:103
103:103 high Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbay-runner/cgroup_linux.go:53:53
53:53 high Define a constant instead of duplicating this literal "cgroup.subtree_control" 3 times. radarlint-go:go:S1192
54:54 high Define a constant instead of duplicating this literal "enabling controllers on %s: %w" 3 times. radarlint-go:go:S1192
84:0 medium Error return value of `os.Remove` is not checked golangci-lint:errcheck
89:0 medium Error return value of `os.Remove` is not checked golangci-lint:errcheck
cmd/gitbay-runner/cgroup_other.go:21:21
21:21 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
23:23 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
cmd/gitbay-runner/init.go:21:21
21:21 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
32:0 medium Error return value of `fmt.Fprintln` is not checked golangci-lint:errcheck
36:0 medium Error return value of `fmt.Fprintf` is not checked golangci-lint:errcheck
42:0 medium Error return value of `fmt.Fprintln` is not checked golangci-lint:errcheck
45:0 medium Error return value of `os.Chmod` is not checked golangci-lint:errcheck
50:0 medium Error return value of `fmt.Fprintf` is not checked golangci-lint:errcheck
68:0 medium Error return value of `fmt.Fprintln` is not checked golangci-lint:errcheck
82:0 medium Error return value of `fmt.Fprintf` is not checked golangci-lint:errcheck
cmd/gitbay-runner/isolate.go:184:0
184:0 medium Error return value of `(*os/exec.Cmd).Run` is not checked golangci-lint:errcheck
cmd/gitbay-runner/main.go:80:80
80:80 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
215:215 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
340:340 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
342:0 medium Error return value of `os.RemoveAll` is not checked golangci-lint:errcheck
400:0 medium Error return value is not checked golangci-lint:errcheck
427:0 medium Error return value of `pipe.Close` is not checked golangci-lint:errcheck
494:494 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
501:0 medium Error return value of `filepath.WalkDir` is not checked golangci-lint:errcheck
cmd/gitbay-runner/proc_other.go:7:7
7:7 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
cmd/gitbay-runner/proc_unix.go:27:0
27:0 medium Error return value of `cmd.Process.Kill` is not checked golangci-lint:errcheck
cmd/gitbayd/adminabout.go:17:17
17:17 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbayd/adminusers.go:44:44
44:44 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbayd/backup.go:95:95
95:95 high Refactor this method to reduce its Cognitive Complexity from 88 to the 15 allowed. radarlint-go:go:S3776
127:127 high Define a constant instead of duplicating this literal "gitbay.db" 6 times. radarlint-go:go:S1192
326:326 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
383:383 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
483:483 high Refactor this method to reduce its Cognitive Complexity from 72 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbayd/backup_test.go:183:183
183:183 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
534:534 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
560:560 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
593:593 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
cmd/gitbayd/hook.go:54:54
54:54 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
79:79 high Define a constant instead of duplicating this literal "cat-file --batch: %w" 3 times. radarlint-go:go:S1192
135:135 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbayd/main.go:145:145
145:145 high Refactor this method to reduce its Cognitive Complexity from 121 to the 15 allowed. radarlint-go:go:S3776
cmd/gitbayd/secrets.go:185:185
185:185 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
deploy/runner-auth-flood-test.sh:58:62
58:62 low This function is never invoked. Check usage (or ignored if invoked indirectly). shellcheck:2329
docs/demo/env.sh:1:1
1:1 high Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. shellcheck:2148
25:25 medium Use 'cd ... || exit' or 'cd ... || return' in case cd fails. shellcheck:2164
e2e/accountdelete_test.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
e2e/accounts_test.go:51:51
51:51 high Refactor this method to reduce its Cognitive Complexity from 40 to the 15 allowed. radarlint-go:go:S3776
e2e/accountweb_test.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
e2e/adminusers_test.go:19:19
19:19 high Refactor this method to reduce its Cognitive Complexity from 43 to the 15 allowed. radarlint-go:go:S3776
174:174 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
230:230 high Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. radarlint-go:go:S3776
342:342 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
408:408 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
461:461 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
e2e/api_test.go:42:42
42:42 high Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. radarlint-go:go:S3776
313:313 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/apiread_test.go:16:16
16:16 high Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed. radarlint-go:go:S3776
e2e/approvals_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. radarlint-go:go:S3776
150:150 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
e2e/archive_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
e2e/audit_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
e2e/autolink_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/backup_test.go:21:21
21:21 high Refactor this method to reduce its Cognitive Complexity from 46 to the 15 allowed. radarlint-go:go:S3776
e2e/bin_test.go:64:64
64:64 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
e2e/blame_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
e2e/build_cancel_test.go:16:16
16:16 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
e2e/buildcancelweb_test.go:16:16
16:16 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
e2e/ci_test.go:83:83
83:83 high Refactor this method to reduce its Cognitive Complexity from 44 to the 15 allowed. radarlint-go:go:S3776
321:321 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/cli_test.go:59:59
59:59 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
e2e/cliusage_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
e2e/commitrefs_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
e2e/dashboard_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
139:139 high Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. radarlint-go:go:S3776
e2e/defaultbranch_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/deploykey_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
e2e/deps_test.go:22:22
22:22 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/description_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
e2e/design_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 40 to the 15 allowed. radarlint-go:go:S3776
e2e/diffcomment_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
e2e/diffweb_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
e2e/edit_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
e2e/feeds_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
e2e/gates_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
e2e/git_test.go:57:57
57:57 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/http_test.go:66:66
66:66 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
e2e/import_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
e2e/inbox_test.go:43:43
43:43 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
e2e/issue_test.go:26:26
26:26 high Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed. radarlint-go:go:S3776
e2e/issuesearch_test.go:31:31
31:31 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
e2e/issueweb_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
e2e/label_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
e2e/labelweb_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
e2e/lfs_test.go:32:32
32:32 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
e2e/listfilters_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
e2e/mailpref_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/mentions_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
e2e/merge_strategies_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. radarlint-go:go:S3776
114:0 medium ineffectual assignment to out golangci-lint:ineffassign
e2e/mergequeue_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
e2e/migrate_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
e2e/milestone_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. radarlint-go:go:S3776
e2e/mirror_test.go:54:54
54:54 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
e2e/mr_test.go:48:48
48:48 high Refactor this method to reduce its Cognitive Complexity from 47 to the 15 allowed. radarlint-go:go:S3776
e2e/mrbuilds_test.go:18:18
18:18 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
e2e/mrdraft_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/mrretarget_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
e2e/mrweb_test.go:39:39
39:39 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
297:297 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
515:515 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
e2e/notify_test.go:40:40
40:40 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
e2e/org_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 45 to the 15 allowed. radarlint-go:go:S3776
e2e/orgbody_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
e2e/orglabels_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
e2e/orgweb_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
e2e/pages_test.go:39:39
39:39 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
83:83 high Refactor this method to reduce its Cognitive Complexity from 46 to the 15 allowed. radarlint-go:go:S3776
e2e/pagination_test.go:30:30
30:30 high Refactor this method to reduce its Cognitive Complexity from 46 to the 15 allowed. radarlint-go:go:S3776
82:0 medium ineffectual assignment to code golangci-lint:ineffassign
83:0 medium ineffectual assignment to items golangci-lint:ineffassign
124:0 medium ineffectual assignment to code golangci-lint:ineffassign
147:0 medium ineffectual assignment to code golangci-lint:ineffassign
e2e/pendingreview_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
e2e/previewweb_test.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
e2e/profile_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 59 to the 15 allowed. radarlint-go:go:S3776
e2e/profileweb_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
e2e/push_test.go:48:48
48:48 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
e2e/quota_test.go:16:16
16:16 high Refactor this method to reduce its Cognitive Complexity from 39 to the 15 allowed. radarlint-go:go:S3776
e2e/rangediff_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/reactions_test.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 39 to the 15 allowed. radarlint-go:go:S3776
e2e/readonly_test.go:30:30
30:30 high Refactor this method to reduce its Cognitive Complexity from 39 to the 15 allowed. radarlint-go:go:S3776
213:0 medium QF1001: could apply De Morgan's law golangci-lint:staticcheck
231:0 medium QF1001: could apply De Morgan's law golangci-lint:staticcheck
238:0 medium QF1001: could apply De Morgan's law golangci-lint:staticcheck
275:275 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
e2e/ready_test.go:75:75
75:75 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/registration_test.go:113:113
113:113 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
e2e/release_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 39 to the 15 allowed. radarlint-go:go:S3776
e2e/releaseweb_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
e2e/reporename_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/reviewloop_test.go:22:22
22:22 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
e2e/reviewrequest_test.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
e2e/reviewstanding_test.go:22:22
22:22 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
e2e/revoke_test.go:50:50
50:50 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
e2e/runnerattach_test.go:16:16
16:16 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
e2e/runnerstop_test.go:177:177
177:177 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
e2e/savedqueries_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
e2e/search_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
e2e/searchweb_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. radarlint-go:go:S3776
e2e/settingsweb_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
e2e/sig_test.go:75:75
75:75 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
155:155 high Refactor this method to reduce its Cognitive Complexity from 40 to the 15 allowed. radarlint-go:go:S3776
e2e/snippet_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
e2e/snippetweb_test.go:26:26
26:26 high Refactor this method to reduce its Cognitive Complexity from 50 to the 15 allowed. radarlint-go:go:S3776
e2e/ssh_test.go:232:232
232:232 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
269:0 medium ineffectual assignment to out golangci-lint:ineffassign
e2e/stack_test.go:14:14
14:14 high Refactor this method to reduce its Cognitive Complexity from 44 to the 15 allowed. radarlint-go:go:S3776
e2e/status_test.go:10:10
10:10 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
e2e/system_test.go:17:17
17:17 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
e2e/tagprotect_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/teams_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
e2e/tokenorigin_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/watchpref_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
e2e/web_test.go:29:29
29:29 high Refactor this method to reduce its Cognitive Complexity from 52 to the 15 allowed. radarlint-go:go:S3776
e2e/webhook_test.go:80:80
80:80 high Refactor this method to reduce its Cognitive Complexity from 40 to the 15 allowed. radarlint-go:go:S3776
e2e/webonly_test.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
e2e/websessions_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. radarlint-go:go:S3776
e2e/wiki_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 53 to the 15 allowed. radarlint-go:go:S3776
internal/autolink/autolink.go:103:103
103:103 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
internal/backuplock/backuplock.go:38:0
38:0 medium Error return value of `f.Close` is not checked golangci-lint:errcheck
41:0 medium Error return value of `f.Close` is not checked golangci-lint:errcheck
52:0 medium Error return value of `f.Close` is not checked golangci-lint:errcheck
internal/ci/ci.go:57:57
57:57 high Refactor this method to reduce its Cognitive Complexity from 45 to the 15 allowed. radarlint-go:go:S3776
internal/ci/cron.go:46:46
46:46 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
internal/ci/paths.go:31:31
31:31 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
internal/ci/sched.go:63:63
63:63 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
internal/ci/sched_test.go:16:16
16:16 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
internal/cliconfig/cliconfig.go:116:0
116:0 medium Error return value of `fmt.Sscanf` is not checked golangci-lint:errcheck
internal/config/config.go:310:310
310:310 medium This function has 8 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
418:418 high Define a constant instead of duplicating this literal "mail.inbound.password_file: %w" 3 times. radarlint-go:go:S1192
439:439 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
654:654 high Refactor this method to reduce its Cognitive Complexity from 71 to the 15 allowed. radarlint-go:go:S3776
internal/config/config_test.go:376:376
376:376 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
internal/control/accountdelete.go:29:29
29:29 high Define a constant instead of duplicating this literal "--confirm" 3 times. radarlint-go:go:S1192
30:30 high Define a constant instead of duplicating this literal "--cancel" 3 times. radarlint-go:go:S1192
36:36 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/control/accountdelete_test.go:51:51
51:51 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
102:102 high Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. radarlint-go:go:S3776
internal/control/admin.go:22:22
22:22 high Define a constant instead of duplicating this literal "--state" 4 times. radarlint-go:go:S1192
65:65 high Define a constant instead of duplicating this literal "--owner" 3 times. radarlint-go:go:S1192
66:66 high Define a constant instead of duplicating this literal "--visibility" 4 times. radarlint-go:go:S1192
134:134 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
194:194 high Refactor this method to reduce its Cognitive Complexity from 83 to the 15 allowed. radarlint-go:go:S3776
489:489 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
638:638 high Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. radarlint-go:go:S3776
740:740 high Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed. radarlint-go:go:S3776
internal/control/adminhost.go:30:30
30:30 high Define a constant instead of duplicating this literal "--admin" 3 times. radarlint-go:go:S1192
31:31 high Define a constant instead of duplicating this literal "--email" 5 times. radarlint-go:go:S1192
32:32 high Define a constant instead of duplicating this literal "--verified" 3 times. radarlint-go:go:S1192
79:79 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
internal/control/audit.go:20:20
20:20 high Define a constant instead of duplicating this literal "--actor" 3 times. radarlint-go:go:S1192
21:21 high Define a constant instead of duplicating this literal "--action" 3 times. radarlint-go:go:S1192
22:22 high Define a constant instead of duplicating this literal "--since" 5 times. radarlint-go:go:S1192
23:23 high Define a constant instead of duplicating this literal "--limit" 4 times. radarlint-go:go:S1192
29:29 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/control/build.go:29:29
29:29 high Define a constant instead of duplicating this literal "--status" 4 times. radarlint-go:go:S1192
45:45 high Define a constant instead of duplicating this literal "--follow" 3 times. radarlint-go:go:S1192
46:46 high Define a constant instead of duplicating this literal "--step" 8 times. radarlint-go:go:S1192
47:47 high Define a constant instead of duplicating this literal "--tail" 5 times. radarlint-go:go:S1192
97:97 high Define a constant instead of duplicating this literal "--untrusted" 3 times. radarlint-go:go:S1192
111:111 high Define a constant instead of duplicating this literal "--reason" 3 times. radarlint-go:go:S1192
352:352 high Refactor this method to reduce its Cognitive Complexity from 35 to the 15 allowed. radarlint-go:go:S3776
443:443 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
514:514 high Define a constant instead of duplicating this literal "%s/%s/builds/%d" 6 times. radarlint-go:go:S1192
662:662 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
776:776 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
844:844 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
854:854 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
962:962 medium This function has 9 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
1008:1008 high Refactor this method to reduce its Cognitive Complexity from 54 to the 15 allowed. radarlint-go:go:S3776
1008:1008 medium This function has 12 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
internal/control/build_test.go:618:618
618:618 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/control/buildfollow.go:112:112
112:112 high Refactor this method to reduce its Cognitive Complexity from 38 to the 15 allowed. radarlint-go:go:S3776
153:0 medium S1024: should use time.Until instead of t.Sub(time.Now()) golangci-lint:staticcheck
internal/control/buildlistpage_test.go:69:69
69:69 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/control/commitfile.go:22:22
22:22 high Define a constant instead of duplicating this literal "--message" 3 times. radarlint-go:go:S1192
23:23 high Define a constant instead of duplicating this literal "--file" 3 times. radarlint-go:go:S1192
45:45 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/control/commitrefs.go:40:40
40:40 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
222:222 medium This function has 9 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
internal/control/control.go:173:173
173:173 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
233:233 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/control/cursor.go:44:44
44:44 high Define a constant instead of duplicating this literal "bad cursor" 3 times. radarlint-go:go:S1192
79:79 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
92:92 high Define a constant instead of duplicating this literal "--cursor" 3 times. radarlint-go:go:S1192
internal/control/dashboard.go:100:100
100:100 high Refactor this method to reduce its Cognitive Complexity from 89 to the 15 allowed. radarlint-go:go:S3776
267:267 high Define a constant instead of duplicating this literal "attempts %d" 3 times. radarlint-go:go:S1192
379:379 high Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed. radarlint-go:go:S3776
internal/control/deploykey.go:17:17
17:17 high Define a constant instead of duplicating this literal "deploy-key" 5 times. radarlint-go:go:S1192
internal/control/deps.go:86:86
86:86 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/control/diffcomment.go:23:23
23:23 high Define a constant instead of duplicating this literal "--path" 3 times. radarlint-go:go:S1192
24:24 high Define a constant instead of duplicating this literal "--line" 4 times. radarlint-go:go:S1192
25:25 high Define a constant instead of duplicating this literal "--start-line" 4 times. radarlint-go:go:S1192
27:27 high Define a constant instead of duplicating this literal "--pending" 3 times. radarlint-go:go:S1192
28:28 high Define a constant instead of duplicating this literal "--reply" 4 times. radarlint-go:go:S1192
29:29 high Define a constant instead of duplicating this literal "--message" 3 times. radarlint-go:go:S1192
30:30 high Define a constant instead of duplicating this literal "--file" 3 times. radarlint-go:go:S1192
55:55 high Refactor this method to reduce its Cognitive Complexity from 58 to the 15 allowed. radarlint-go:go:S3776
192:192 high Refactor this method to reduce its Cognitive Complexity from 37 to the 15 allowed. radarlint-go:go:S3776
internal/control/events_test.go:22:22
22:22 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/control/explore.go:46:46
46:46 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/control/feedline.go:74:74
74:74 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/control/flags.go:41:41
41:41 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
internal/control/ghimport.go:29:29
29:29 high Define a constant instead of duplicating this literal "--from" 3 times. radarlint-go:go:S1192
30:30 high Define a constant instead of duplicating this literal "--token-stdin" 3 times. radarlint-go:go:S1192
31:31 high Define a constant instead of duplicating this literal "--api-base" 3 times. radarlint-go:go:S1192
164:164 high Refactor this method to reduce its Cognitive Complexity from 83 to the 15 allowed. radarlint-go:go:S3776
324:324 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
324:324 medium This function has 8 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
internal/control/help.go:118:118
118:118 high Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed. radarlint-go:go:S3776
internal/control/help_test.go:101:101
101:101 high Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed. radarlint-go:go:S3776
internal/control/identity.go:39:39
39:39 high Define a constant instead of duplicating this literal "--scope" 4 times. radarlint-go:go:S1192
40:40 high Define a constant instead of duplicating this literal "--label" 4 times. radarlint-go:go:S1192
198:198 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/control/import.go:24:24
24:24 high Define a constant instead of duplicating this literal "--from" 3 times. radarlint-go:go:S1192
25:25 high Define a constant instead of duplicating this literal "--private" 3 times. radarlint-go:go:S1192
26:26 high Define a constant instead of duplicating this literal "--token-stdin" 3 times. radarlint-go:go:S1192
46:46 high Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. radarlint-go:go:S3776
internal/control/import_test.go:102:102
102:102 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
internal/control/issue.go:26:26
26:26 high Define a constant instead of duplicating this literal "--title" 7 times. radarlint-go:go:S1192
27:27 high Define a constant instead of duplicating this literal "--body" 7 times. radarlint-go:go:S1192
28:28 high Define a constant instead of duplicating this literal "--file" 7 times. radarlint-go:go:S1192
29:29 high Define a constant instead of duplicating this literal "--format" 7 times. radarlint-go:go:S1192
29:29 high Define a constant instead of duplicating this literal "md|org" 3 times. radarlint-go:go:S1192
30:30 high Define a constant instead of duplicating this literal "--label" 8 times. radarlint-go:go:S1192
31:31 high Define a constant instead of duplicating this literal "--milestone" 8 times. radarlint-go:go:S1192
32:32 high Define a constant instead of duplicating this literal "--assignee" 8 times. radarlint-go:go:S1192
32:32 high Define a constant instead of duplicating this literal "<user>" 5 times. radarlint-go:go:S1192
44:44 high Define a constant instead of duplicating this literal "--state" 6 times. radarlint-go:go:S1192
47:47 high Define a constant instead of duplicating this literal "--author" 4 times. radarlint-go:go:S1192
49:49 high Define a constant instead of duplicating this literal "--search" 5 times. radarlint-go:go:S1192
109:109 high Define a constant instead of duplicating this literal "--remove" 4 times. radarlint-go:go:S1192
195:195 high Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. radarlint-go:go:S3776
260:260 high Define a constant instead of duplicating this literal "%s/issues/%d" 4 times. radarlint-go:go:S1192
292:292 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
366:366 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
760:760 medium This function has 8 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
internal/control/issue_test.go:46:46
46:46 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/control/label.go:25:25
25:25 high Define a constant instead of duplicating this literal "--color" 5 times. radarlint-go:go:S1192
90:90 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/control/loginlink.go:36:36
36:36 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/control/mergequeue.go:83:83
83:83 high Define a constant instead of duplicating this literal "merge queue: push" 4 times. radarlint-go:go:S1192
202:202 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/control/migrate.go:25:25
25:25 high Define a constant instead of duplicating this literal "--source" 3 times. radarlint-go:go:S1192
87:87 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
157:157 high Refactor this method to reduce its Cognitive Complexity from 90 to the 15 allowed. radarlint-go:go:S3776
internal/control/milestone.go:22:22
22:22 high Define a constant instead of duplicating this literal "--description" 3 times. radarlint-go:go:S1192
31:31 high Define a constant instead of duplicating this literal "--state" 5 times. radarlint-go:go:S1192
126:126 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
internal/control/mirrorcmd.go:25:25
25:25 high Define a constant instead of duplicating this literal "--direction" 3 times. radarlint-go:go:S1192
26:26 high Define a constant instead of duplicating this literal "--username" 3 times. radarlint-go:go:S1192
27:27 high Define a constant instead of duplicating this literal "--token-stdin" 3 times. radarlint-go:go:S1192
48:48 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
99:99 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/control/mr.go:25:25
25:25 high Define a constant instead of duplicating this literal "--owner" 3 times. radarlint-go:go:S1192
26:26 high Define a constant instead of duplicating this literal "--name" 3 times. radarlint-go:go:S1192
69:69 high Define a constant instead of duplicating this literal "--source" 3 times. radarlint-go:go:S1192
70:70 high Define a constant instead of duplicating this literal "--target" 3 times. radarlint-go:go:S1192
71:71 high Define a constant instead of duplicating this literal "--title" 4 times. radarlint-go:go:S1192
72:72 high Define a constant instead of duplicating this literal "--body" 4 times. radarlint-go:go:S1192
73:73 high Define a constant instead of duplicating this literal "--file" 5 times. radarlint-go:go:S1192
74:74 high Define a constant instead of duplicating this literal "--format" 5 times. radarlint-go:go:S1192
74:74 high Define a constant instead of duplicating this literal "md|org" 3 times. radarlint-go:go:S1192
75:75 high Define a constant instead of duplicating this literal "--draft" 3 times. radarlint-go:go:S1192
86:86 high Define a constant instead of duplicating this literal "--from" 3 times. radarlint-go:go:S1192
110:110 high Define a constant instead of duplicating this literal "--state" 6 times. radarlint-go:go:S1192
111:111 high Define a constant instead of duplicating this literal "--label" 4 times. radarlint-go:go:S1192
112:112 high Define a constant instead of duplicating this literal "--author" 4 times. radarlint-go:go:S1192
112:112 high Define a constant instead of duplicating this literal "<user>" 3 times. radarlint-go:go:S1192
113:113 high Define a constant instead of duplicating this literal "--milestone" 4 times. radarlint-go:go:S1192
114:114 high Define a constant instead of duplicating this literal "--search" 5 times. radarlint-go:go:S1192
145:145 high Define a constant instead of duplicating this literal "--superseded-by" 4 times. radarlint-go:go:S1192
168:168 high Define a constant instead of duplicating this literal "--approve" 3 times. radarlint-go:go:S1192
197:197 high Define a constant instead of duplicating this literal "--strategy" 4 times. radarlint-go:go:S1192
198:198 high Define a constant instead of duplicating this literal "--when-ready" 4 times. radarlint-go:go:S1192
199:199 high Define a constant instead of duplicating this literal "--cancel" 4 times. radarlint-go:go:S1192
354:354 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
450:450 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
495:495 high Define a constant instead of duplicating this literal "refs/heads/" 10 times. radarlint-go:go:S1192
520:520 high Define a constant instead of duplicating this literal "%s/mrs/%d" 8 times. radarlint-go:go:S1192
624:624 high Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. radarlint-go:go:S3776
753:753 high Refactor this method to reduce its Cognitive Complexity from 120 to the 15 allowed. radarlint-go:go:S3776
1032:1032 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
1082:1082 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
1155:1155 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
1186:1186 high Define a constant instead of duplicating this literal "MR !%d is %s" 4 times. radarlint-go:go:S1192
1235:1235 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
1389:1389 high Refactor this method to reduce its Cognitive Complexity from 121 to the 15 allowed. radarlint-go:go:S3776
1744:1744 high Refactor this method to reduce its Cognitive Complexity from 99 to the 15 allowed. radarlint-go:go:S3776
2077:2077 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
2122:2122 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
2235:2235 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
internal/control/notifications.go:62:62
62:62 high Define a constant instead of duplicating this literal "--label" 3 times. radarlint-go:go:S1192
188:188 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
478:478 high Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. radarlint-go:go:S3776
internal/control/notifications_test.go:319:319
319:319 high Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. radarlint-go:go:S3776
internal/control/org.go:44:44
44:44 high Define a constant instead of duplicating this literal "--role" 4 times. radarlint-go:go:S1192
internal/control/orglabel.go:18:18
18:18 high Define a constant instead of duplicating this literal "--color" 5 times. radarlint-go:go:S1192
36:36 high Define a constant instead of duplicating this literal "--description" 3 times. radarlint-go:go:S1192
45:45 high Define a constant instead of duplicating this literal "--state" 5 times. radarlint-go:go:S1192
88:88 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
internal/control/profile.go:26:26
26:26 high Define a constant instead of duplicating this literal "--description" 7 times. radarlint-go:go:S1192
27:27 high Define a constant instead of duplicating this literal "--website" 5 times. radarlint-go:go:S1192
28:28 high Define a constant instead of duplicating this literal "--link" 4 times. radarlint-go:go:S1192
254:254 high Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed. radarlint-go:go:S3776
337:337 high Refactor this method to reduce its Cognitive Complexity from 35 to the 15 allowed. radarlint-go:go:S3776
internal/control/query.go:20:20
20:20 high Define a constant instead of duplicating this literal "--force" 3 times. radarlint-go:go:S1192
168:168 high Define a constant instead of duplicating this literal "bad cursor" 3 times. radarlint-go:go:S1192
182:182 high Define a constant instead of duplicating this literal "no saved query %q; query list shows yours" 4 times. radarlint-go:go:S1192
196:196 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
254:254 high Define a constant instead of duplicating this literal "--query" 4 times. radarlint-go:go:S1192
264:264 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/control/query_test.go:67:67
67:67 high Refactor this method to reduce its Cognitive Complexity from 51 to the 15 allowed. radarlint-go:go:S3776
internal/control/querylang.go:115:115
115:115 high Refactor this method to reduce its Cognitive Complexity from 55 to the 15 allowed. radarlint-go:go:S3776
234:234 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/control/quota.go:155:155
155:155 high Define a constant instead of duplicating this literal "--repos" 3 times. radarlint-go:go:S1192
155:155 high Define a constant instead of duplicating this literal "<n>|default" 5 times. radarlint-go:go:S1192
156:156 high Define a constant instead of duplicating this literal "--bytes" 3 times. radarlint-go:go:S1192
internal/control/react.go:44:44
44:44 high Define a constant instead of duplicating this literal "--comment" 6 times. radarlint-go:go:S1192
45:45 high Define a constant instead of duplicating this literal "--remove" 4 times. radarlint-go:go:S1192
70:70 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/control/react_test.go:56:56
56:56 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/control/read.go:25:25
25:25 high Define a constant instead of duplicating this literal "branch, tag or commit to read" 4 times. radarlint-go:go:S1192
25:25 high Define a constant instead of duplicating this literal "the default branch" 4 times. radarlint-go:go:S1192
48:48 high Define a constant instead of duplicating this literal "--from" 3 times. radarlint-go:go:S1192
76:76 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
146:146 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
172:172 high Define a constant instead of duplicating this literal "path must stay inside the repository" 3 times. radarlint-go:go:S1192
179:179 high Define a constant instead of duplicating this literal "no ref %q in %s" 4 times. radarlint-go:go:S1192
291:291 high Refactor this method to reduce its Cognitive Complexity from 37 to the 15 allowed. radarlint-go:go:S3776
382:382 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
476:476 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/control/reauth_test.go:29:29
29:29 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/control/refsupdated.go:26:26
26:26 high Refactor this method to reduce its Cognitive Complexity from 60 to the 15 allowed. radarlint-go:go:S3776
101:101 high Define a constant instead of duplicating this literal "refs/heads/" 4 times. radarlint-go:go:S1192
137:137 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
internal/control/register.go:24:24
24:24 high Define a constant instead of duplicating this literal "--username" 3 times. radarlint-go:go:S1192
25:25 high Define a constant instead of duplicating this literal "--email" 3 times. radarlint-go:go:S1192
25:25 high Define a constant instead of duplicating this literal "<address>" 3 times. radarlint-go:go:S1192
26:26 high Define a constant instead of duplicating this literal "--invite" 3 times. radarlint-go:go:S1192
58:58 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
293:293 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/control/release.go:26:26
26:26 high Define a constant instead of duplicating this literal "--title" 8 times. radarlint-go:go:S1192
27:27 high Define a constant instead of duplicating this literal "--notes" 7 times. radarlint-go:go:S1192
28:28 high Define a constant instead of duplicating this literal "--file" 7 times. radarlint-go:go:S1192
29:29 high Define a constant instead of duplicating this literal "--format" 6 times. radarlint-go:go:S1192
65:65 high Define a constant instead of duplicating this literal "--since" 3 times. radarlint-go:go:S1192
199:199 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
264:264 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
519:519 high Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. radarlint-go:go:S3776
internal/control/repo.go:34:34
34:34 high Define a constant instead of duplicating this literal "--private" 3 times. radarlint-go:go:S1192
337:337 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
418:418 high Refactor this method to reduce its Cognitive Complexity from 47 to the 15 allowed. radarlint-go:go:S3776
473:473 high Define a constant instead of duplicating this literal "refs/heads/" 3 times. radarlint-go:go:S1192
550:550 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
1088:1088 high Refactor this method to reduce its Cognitive Complexity from 35 to the 15 allowed. radarlint-go:go:S3776
1243:1243 high Define a constant instead of duplicating this literal "no ref %q in %s" 3 times. radarlint-go:go:S1192
1338:1338 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/control/runnernext_test.go:343:343
343:343 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/control/runnerrepo.go:39:39
39:39 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
102:102 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/control/runnerrepo_test.go:67:0
67:0 medium SA4006: this value of out is never used golangci-lint:staticcheck
internal/control/screen.go:90:90
90:90 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
230:230 high Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. radarlint-go:go:S3776
internal/control/screen_test.go:219:219
219:219 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
internal/control/search.go:19:19
19:19 high Define a constant instead of duplicating this literal "--kind" 5 times. radarlint-go:go:S1192
48:48 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/control/sig.go:44:44
44:44 high Define a constant instead of duplicating this literal "--limit" 4 times. radarlint-go:go:S1192
45:45 high Define a constant instead of duplicating this literal "--path" 3 times. radarlint-go:go:S1192
166:166 high Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. radarlint-go:go:S3776
278:278 high Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. radarlint-go:go:S3776
internal/control/snippet.go:26:26
26:26 high Define a constant instead of duplicating this literal "--description" 9 times. radarlint-go:go:S1192
27:27 high Define a constant instead of duplicating this literal "--visibility" 8 times. radarlint-go:go:S1192
161:161 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
260:260 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
internal/control/status.go:19:19
19:19 high Define a constant instead of duplicating this literal "--context" 3 times. radarlint-go:go:S1192
20:20 high Define a constant instead of duplicating this literal "--state" 3 times. radarlint-go:go:S1192
21:21 high Define a constant instead of duplicating this literal "--description" 3 times. radarlint-go:go:S1192
37:37 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/control/suggestion.go:232:232
232:232 high Refactor this method to reduce its Cognitive Complexity from 39 to the 15 allowed. radarlint-go:go:S3776
internal/control/suggestion_test.go:402:402
402:402 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/control/symbols.go:25:25
25:25 high Define a constant instead of duplicating this literal "--kind" 3 times. radarlint-go:go:S1192
59:59 high Refactor this method to reduce its Cognitive Complexity from 45 to the 15 allowed. radarlint-go:go:S3776
237:237 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
internal/control/symbols_test.go:63:63
63:63 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/control/table.go:107:107
107:107 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
165:165 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
215:215 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
265:265 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/control/teams.go:233:233
233:233 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
internal/control/term.go:203:203
203:203 high Define a constant instead of duplicating this literal "usage: " 4 times. radarlint-go:go:S1192
internal/control/token.go:20:20
20:20 high Define a constant instead of duplicating this literal "--name" 3 times. radarlint-go:go:S1192
21:21 high Define a constant instead of duplicating this literal "--scope" 4 times. radarlint-go:go:S1192
35:35 high Define a constant instead of duplicating this literal "--created" 3 times. radarlint-go:go:S1192
internal/control/view.go:117:0
117:0 medium func (*view).text is unused golangci-lint:unused
internal/control/view_test.go:74:74
74:74 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/control/webhook.go:23:23
23:23 high Define a constant instead of duplicating this literal "--secret" 5 times. radarlint-go:go:S1192
24:24 high Define a constant instead of duplicating this literal "--events" 4 times. radarlint-go:go:S1192
44:44 high Define a constant instead of duplicating this literal "--limit" 4 times. radarlint-go:go:S1192
189:189 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
internal/control/wiki.go:140:140
140:140 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/deps/gomod.go:9:9
9:9 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
internal/deps/python.go:13:13
13:13 high Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed. radarlint-go:go:S3776
internal/deps/worker_test.go:56:56
56:56 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/gitutil/batch.go:79:0
79:0 medium Error return value of `b.in.Close` is not checked golangci-lint:errcheck
internal/gitutil/blame.go:27:27
27:27 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
internal/gitutil/facts.go:15:15
15:15 high Define a constant instead of duplicating this literal "--end-of-options" 3 times. radarlint-go:go:S1192
internal/gitutil/gitutil.go:42:42
42:42 medium This function has 9 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
45:45 high Define a constant instead of duplicating this literal "git-receive-pack" 3 times. radarlint-go:go:S1192
135:135 high Define a constant instead of duplicating this literal "--end-of-options" 5 times. radarlint-go:go:S1192
325:0 medium Error return value of `filepath.WalkDir` is not checked golangci-lint:errcheck
345:0 medium Error return value of `os.Setenv` is not checked golangci-lint:errcheck
347:0 medium Error return value of `os.Setenv` is not checked golangci-lint:errcheck
internal/gitutil/lastcommit.go:36:36
36:36 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
50:50 high Define a constant instead of duplicating this literal "--end-of-options" 3 times. radarlint-go:go:S1192
65:0 medium Error return value of `cmd.Process.Kill` is not checked golangci-lint:errcheck
66:0 medium Error return value of `cmd.Wait` is not checked golangci-lint:errcheck
internal/gitutil/lfs.go:22:22
22:22 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
internal/gitutil/merge.go:17:17
17:17 high Define a constant instead of duplicating this literal "--quiet" 3 times. radarlint-go:go:S1192
84:84 high Define a constant instead of duplicating this literal "--end-of-options" 12 times. radarlint-go:go:S1192
84:84 high Define a constant instead of duplicating this literal "rev-list" 3 times. radarlint-go:go:S1192
140:140 high Define a constant instead of duplicating this literal "diff: %w" 3 times. radarlint-go:go:S1192
228:228 medium This function has 8 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
244:0 medium Error return value of `idx.Close` is not checked golangci-lint:errcheck
245:0 medium Error return value of `os.Remove` is not checked golangci-lint:errcheck
336:336 medium This function has 9 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
internal/gitutil/numstat.go:24:24
24:24 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/gitutil/proc_other.go:7:7
7:7 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
internal/gitutil/proc_unix.go:24:0
24:0 medium Error return value of `cmd.Process.Kill` is not checked golangci-lint:errcheck
internal/gitutil/read.go:45:45
45:45 high Define a constant instead of duplicating this literal "--end-of-options" 5 times. radarlint-go:go:S1192
84:0 medium Error return value of `io.Copy` is not checked golangci-lint:errcheck
206:0 medium Error return value of `io.Copy` is not checked golangci-lint:errcheck
internal/gitutil/treeblobs.go:50:50
50:50 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
72:0 medium Error return value of `w.Flush` is not checked golangci-lint:errcheck
73:0 medium Error return value of `stdin.Close` is not checked golangci-lint:errcheck
104:0 medium Error return value of `io.Copy` is not checked golangci-lint:errcheck
internal/hookd/hookd.go:193:193
193:193 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/hookd/mergequeue_test.go:103:103
103:103 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
212:212 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
internal/hookd/socket_test.go:58:58
58:58 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/account.go:71:71
71:71 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
134:134 high Define a constant instead of duplicating this literal "/settings" 3 times. radarlint-go:go:S1192
217:217 high Refactor this method to reduce its Cognitive Complexity from 69 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/accountdelete.go:27:27
27:27 high Define a constant instead of duplicating this literal "accountdelete.html" 3 times. radarlint-go:go:S1192
internal/httpd/accounts.go:155:155
155:155 high Define a constant instead of duplicating this literal "internal error" 3 times. radarlint-go:go:S1192
455:455 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
463:463 high Define a constant instead of duplicating this literal "issuenew.html" 3 times. radarlint-go:go:S1192
516:516 high Define a constant instead of duplicating this literal "--file" 5 times. radarlint-go:go:S1192
516:516 high Define a constant instead of duplicating this literal "--title" 3 times. radarlint-go:go:S1192
662:662 high Define a constant instead of duplicating this literal "refs/heads/" 3 times. radarlint-go:go:S1192
677:677 high Define a constant instead of duplicating this literal "edit.html" 3 times. radarlint-go:go:S1192
internal/httpd/activity_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/atom.go:95:95
95:95 high Define a constant instead of duplicating this literal "/releases#" 3 times. radarlint-go:go:S1192
internal/httpd/builds.go:354:354
354:354 high Define a constant instead of duplicating this literal "</pre>" 3 times. radarlint-go:go:S1192
internal/httpd/compare.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/compress.go:52:52
52:52 high Define a constant instead of duplicating this literal "Content-Type" 3 times. radarlint-go:go:S1192
internal/httpd/diff.go:52:52
52:52 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
255:255 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
335:335 high Refactor this method to reduce its Cognitive Complexity from 86 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/difflayout_test.go:168:0
168:0 medium S1011: should replace loop with out = append(out, files[0].Rows...) golangci-lint:staticcheck
internal/httpd/filenav.go:55:55
55:55 high Define a constant instead of duplicating this literal "/tree/" 3 times. radarlint-go:go:S1192
internal/httpd/fonts_test.go:51:51
51:51 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/inputlabels_test.go:27:27
27:27 high Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/lfs.go:47:47
47:47 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
107:107 high Define a constant instead of duplicating this literal "Content-Type" 3 times. radarlint-go:go:S1192
139:139 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
142:142 high Define a constant instead of duplicating this literal "repository not found" 3 times. radarlint-go:go:S1192
238:238 high Define a constant instead of duplicating this literal "not found" 4 times. radarlint-go:go:S1192
internal/httpd/math.go:163:163
163:163 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
214:214 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
286:286 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
internal/httpd/math_test.go:113:113
113:113 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/milestoneactions.go:104:104
104:104 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/mractions.go:122:122
122:122 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
131:131 high Define a constant instead of duplicating this literal "bad thread id" 3 times. radarlint-go:go:S1192
internal/httpd/mrslist_test.go:17:17
17:17 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/orglabels.go:24:24
24:24 high Define a constant instead of duplicating this literal "internal error" 3 times. radarlint-go:go:S1192
internal/httpd/orgweb.go:44:44
44:44 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/packlimit_test.go:130:130
130:130 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
internal/httpd/pages.go:23:23
23:23 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
57:57 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/palette_test.go:40:40
40:40 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/parity296b_test.go:92:92
92:92 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/queries_test.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/readme.go:18:18
18:18 high Refactor this method to reduce its Cognitive Complexity from 47 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/reauth_test.go:87:87
87:87 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/releaseactions.go:22:22
22:22 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/settings.go:102:102
102:102 high Define a constant instead of duplicating this literal "new-owner" 5 times. radarlint-go:go:S1192
125:125 high Refactor this method to reduce its Cognitive Complexity from 60 to the 15 allowed. radarlint-go:go:S3776
142:142 high Define a constant instead of duplicating this literal "default-branch" 4 times. radarlint-go:go:S1192
144:144 high Define a constant instead of duplicating this literal "git-daemon" 4 times. radarlint-go:go:S1192
146:146 high Define a constant instead of duplicating this literal "require-checks" 4 times. radarlint-go:go:S1192
148:148 high Define a constant instead of duplicating this literal "require-contexts" 3 times. radarlint-go:go:S1192
150:150 high Define a constant instead of duplicating this literal "require-resolved" 4 times. radarlint-go:go:S1192
152:152 high Define a constant instead of duplicating this literal "require-codeowners" 4 times. radarlint-go:go:S1192
154:154 high Define a constant instead of duplicating this literal "require-mr" 4 times. radarlint-go:go:S1192
156:156 high Define a constant instead of duplicating this literal "require-signed" 4 times. radarlint-go:go:S1192
158:158 high Define a constant instead of duplicating this literal "require-approvals" 3 times. radarlint-go:go:S1192
164:164 high Define a constant instead of duplicating this literal "protect-tag" 3 times. radarlint-go:go:S1192
166:166 high Define a constant instead of duplicating this literal "unprotect-tag" 3 times. radarlint-go:go:S1192
internal/httpd/smart.go:106:106
106:106 high Define a constant instead of duplicating this literal "Content-Type" 3 times. radarlint-go:go:S1192
107:107 high Define a constant instead of duplicating this literal "Cache-Control" 3 times. radarlint-go:go:S1192
107:107 high Define a constant instead of duplicating this literal "no-cache" 3 times. radarlint-go:go:S1192
internal/httpd/snippets.go:173:173
173:173 high Define a constant instead of duplicating this literal "/-/snippets/" 4 times. radarlint-go:go:S1192
internal/httpd/symbols.go:84:84
84:84 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
internal/httpd/web.go:54:54
54:54 high Define a constant instead of duplicating this literal "Content-Type" 9 times. radarlint-go:go:S1192
64:64 high Define a constant instead of duplicating this literal "http://" 3 times. radarlint-go:go:S1192
64:64 high Define a constant instead of duplicating this literal "https://" 3 times. radarlint-go:go:S1192
90:90 high Define a constant instead of duplicating this literal "Cache-Control" 6 times. radarlint-go:go:S1192
247:247 high Define a constant instead of duplicating this literal "internal error" 9 times. radarlint-go:go:S1192
735:735 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
824:824 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
1024:1024 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
1166:1166 high Define a constant instead of duplicating this literal "</pre>" 7 times. radarlint-go:go:S1192
1660:1660 high Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. radarlint-go:go:S3776
2281:2281 high Refactor this method to reduce its Cognitive Complexity from 53 to the 15 allowed. radarlint-go:go:S3776
2319:2319 high Define a constant instead of duplicating this literal "refs/heads/" 4 times. radarlint-go:go:S1192
internal/httpd/wiki.go:231:231
231:231 high Refactor this method to reduce its Cognitive Complexity from 44 to the 15 allowed. radarlint-go:go:S3776
internal/imapc/imapc.go:194:194
194:194 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
255:255 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
301:301 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/imapc/imapc_test.go:28:28
28:28 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
128:128 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/lfs/lfs.go:57:57
57:57 high Define a constant instead of duplicating this literal "bad oid %q" 3 times. radarlint-go:go:S1192
internal/mail/mail.go:30:30
30:30 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
internal/mailin/authres.go:17:17
17:17 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
71:71 high Refactor this method to reduce its Cognitive Complexity from 37 to the 15 allowed. radarlint-go:go:S3776
81:0 medium QF1002: could use tagged switch on c golangci-lint:staticcheck
154:154 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/mailin/authres_test.go:57:57
57:57 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
76:0 medium QF1003: could use tagged switch on payload[i] golangci-lint:staticcheck
internal/mailin/body.go:35:35
35:35 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
83:0 medium ST1023: should omit type io.Reader from declaration; it will be inferred from the right-hand side golangci-lint:staticcheck
internal/mailin/dkim.go:119:119
119:119 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/mailin/dkim_test.go:137:137
137:137 high Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed. radarlint-go:go:S3776
internal/mailin/header.go:25:25
25:25 high Refactor this method to reduce its Cognitive Complexity from 38 to the 15 allowed. radarlint-go:go:S3776
internal/mailin/mailin.go:79:79
79:79 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
139:139 high Refactor this method to reduce its Cognitive Complexity from 40 to the 15 allowed. radarlint-go:go:S3776
internal/mailin/mailin_test.go:159:159
159:159 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/packlimit/packlimit.go:133:133
133:133 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
internal/packlimit/watch.go:23:23
23:23 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
internal/policy/access.go:93:93
93:93 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
114:114 high Define a constant instead of duplicating this literal "branch " 3 times. radarlint-go:go:S1192
internal/protocol/tokenize.go:16:16
16:16 high Refactor this method to reduce its Cognitive Complexity from 35 to the 15 allowed. radarlint-go:go:S3776
24:0 medium QF1002: could use tagged switch on c golangci-lint:staticcheck
internal/push/apns.go:181:181
181:181 high Define a constant instead of duplicating this literal "apns %d %s" 3 times. radarlint-go:go:S1192
internal/push/apns_test.go:80:80
80:80 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/seal/seal.go:54:54
54:54 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
113:113 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
138:0 medium Error return value of `tmp.Close` is not checked golangci-lint:errcheck
168:0 medium Error return value of `d.Close` is not checked golangci-lint:errcheck
internal/sig/verify.go:69:69
69:69 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/sshd/lfs.go:25:25
25:25 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
36:36 high Define a constant instead of duplicating this literal "repository not found" 3 times. radarlint-go:go:S1192
internal/sshd/pushlimit_test.go:175:175
175:175 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/sshd/sshd.go:177:177
177:177 high Define a constant instead of duplicating this literal "user-id" 3 times. radarlint-go:go:S1192
178:178 high Define a constant instead of duplicating this literal "key-id" 3 times. radarlint-go:go:S1192
468:468 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
468:468 medium This function has 14 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
490:490 high Define a constant instead of duplicating this literal "git-receive-pack" 3 times. radarlint-go:go:S1192
534:534 high Refactor this method to reduce its Cognitive Complexity from 66 to the 15 allowed. radarlint-go:go:S3776
534:534 medium This function has 13 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
546:546 high Define a constant instead of duplicating this literal "repository not found" 3 times. radarlint-go:go:S1192
internal/store/builds.go:51:51
51:51 medium This function has 8 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
188:188 high Define a constant instead of duplicating this literal "2006-01-02T15:04:05Z" 3 times. radarlint-go:go:S1192
internal/store/builds_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
298:298 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
381:381 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/store/contention_test.go:22:22
22:22 high Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. radarlint-go:go:S3776
internal/store/dashboard_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/store/deps_test.go:9:9
9:9 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/store/diffcomments.go:29:29
29:29 medium This function has 10 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
internal/store/effectiveaccess_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
internal/store/explore_test.go:5:5
5:5 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/store/idreuse_test.go:97:97
97:97 high Refactor this method to reduce its Cognitive Complexity from 37 to the 15 allowed. radarlint-go:go:S3776
325:325 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
407:407 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/store/inbox.go:135:135
135:135 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/store/inbox_test.go:111:111
111:111 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
179:179 high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. radarlint-go:go:S3776
internal/store/keyexpiry_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/store/labels_test.go:185:185
185:185 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
232:232 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
295:295 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
346:346 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/store/mergequeue_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/store/milestones_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/store/mrs.go:59:59
59:59 medium This function has 10 parameters, which is greater than the 7 authorized. radarlint-go:go:S107
internal/store/mrs_test.go:119:119
119:119 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
239:239 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/store/orgremove_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/store/ownerevents_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. radarlint-go:go:S3776
internal/store/push_test.go:17:17
17:17 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/store/queues.go:129:129
129:129 high Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. radarlint-go:go:S3776
internal/store/queues_test.go:12:12
12:12 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
internal/store/reactions_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. radarlint-go:go:S3776
internal/store/registration.go:83:83
83:83 high Define a constant instead of duplicating this literal "that username is taken" 4 times. radarlint-go:go:S1192
internal/store/repos.go:308:0
308:0 medium QF1003: could use tagged switch on orgRole golangci-lint:staticcheck
362:362 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/store/reposettings_test.go:62:62
62:62 high Add a nested comment explaining why this function is empty or complete the implementation. radarlint-go:go:S1186
internal/store/retention.go:51:51
51:51 high Define a constant instead of duplicating this literal "expires_at <= ?" 4 times. radarlint-go:go:S1192
internal/store/reviewcarry_test.go:7:7
7:7 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/store/reviewrequests_test.go:9:9
9:9 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
internal/store/runners_test.go:89:89
89:89 high Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. radarlint-go:go:S3776
internal/store/savedqueries_test.go:190:190
190:190 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/store/secrets.go:119:119
119:119 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
internal/store/secrets_test.go:63:63
63:63 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
287:287 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/store/snippets_test.go:8:8
8:8 high Refactor this method to reduce its Cognitive Complexity from 38 to the 15 allowed. radarlint-go:go:S3776
internal/store/statuses_test.go:7:7
7:7 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
internal/store/store.go:105:105
105:105 high Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. radarlint-go:go:S3776
226:226 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/store/store_test.go:156:156
156:156 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
internal/store/symbols.go:217:217
217:217 high Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. radarlint-go:go:S3776
internal/store/tokens.go:118:118
118:118 high Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. radarlint-go:go:S3776
internal/symbols/extract.go:143:143
143:143 high Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed. radarlint-go:go:S3776
322:322 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/symbols/worker.go:115:115
115:115 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
198:198 high Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. radarlint-go:go:S3776
internal/termtext/markdown.go:62:62
62:62 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
123:123 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/termtext/org.go:61:61
61:61 high Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. radarlint-go:go:S3776
internal/texmath/symbols.go:95:95
95:95 high Define a constant instead of duplicating this literal "0.2222em" 3 times. radarlint-go:go:S1192
internal/texmath/texmath.go:152:0
152:0 medium QF1002: could use tagged switch on c golangci-lint:staticcheck
271:271 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
387:387 high Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. radarlint-go:go:S3776
440:440 high Refactor this method to reduce its Cognitive Complexity from 56 to the 15 allowed. radarlint-go:go:S3776
internal/texmath/texmath_test.go:125:125
125:125 high Refactor this method to reduce its Cognitive Complexity from 35 to the 15 allowed. radarlint-go:go:S3776
178:178 high Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. radarlint-go:go:S3776
internal/web/classes_test.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 42 to the 15 allowed. radarlint-go:go:S3776
43:0 medium SA9003: empty branch golangci-lint:staticcheck
internal/web/tokens_test.go:15:15
15:15 high Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. radarlint-go:go:S3776
95:95 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
internal/web/web.go:56:0
56:0 medium inline: Constant reflect.Ptr should be inlined golangci-lint:govet
71:0 medium inline: Constant reflect.Ptr should be inlined golangci-lint:govet
155:0 medium inline: Constant reflect.Ptr should be inlined golangci-lint:govet
internal/web/web_test.go:29:29
29:29 high Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. radarlint-go:go:S3776
130:130 high Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. radarlint-go:go:S3776
internal/web/widths_test.go:11:11
11:11 high Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed. radarlint-go:go:S3776
✖ 705 issues