AI Slop Code Risk Monitor

gitbucket/gitbucket

SlopCodeMonitor badge for gitbucket/gitbucket Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gitbucket/gitbucket, a Scala project with 9,418 GitHub stars. SynthScan examined 394,274 lines of code across 1111 source files, recording 165 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

0.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
9.4K
Stars
Scala
Language
394.3K
Lines of Code
1.1K
Files
165
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 77 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

Are imports declared and package/API names verified? 66 finding(s).

Agent Over-Engineering Ratio 2.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 69 finding(s).

PR Review Velocity Impact 4.7/100 · LOW

Which changes need focused human review? 165 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 11HIGH 22MEDIUM 4LOW 128

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 165 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators11 hits · 110 pts
SeverityFileLineSnippetContext
CRITICAL…la/gitbucket/core/service/PullRequestServiceSpec.scala145 val builder = org.eclipse.jgit.dircache.DirCache.newInCore.builder()CODE
CRITICAL…la/gitbucket/core/service/PullRequestServiceSpec.scala309 val builder = org.eclipse.jgit.dircache.DirCache.newInCore.builder()CODE
CRITICAL…/main/webapp/assets/vendors/jquery/jquery-3.5.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICAL…/main/twirl/gitbucket/core/issues/issueinfo.scala.html109 @gitbucket.core.issues.milestones.html.progress(openCount + closeCount, closeCount)CODE
CRITICAL…ain/twirl/gitbucket/core/issues/labels/list.scala.html24 @gitbucket.core.issues.labels.html.label(label, counts, repository, hasWritePermission)CODE
CRITICAL…twirl/gitbucket/core/issues/milestones/list.scala.html54 @gitbucket.core.issues.milestones.html.progress(openCount + closedCount, closedCount)CODE
CRITICAL…/gitbucket/core/issues/milestones/milestone.scala.html40 @gitbucket.core.issues.milestones.html.progress(openCount + closedCount, closedCount)CODE
CRITICAL…/gitbucket/core/issues/milestones/milestone.scala.html92 @gitbucket.core.issues.milestones.html.listparts(issues, page, openCount, closedCount, condition, collaborators, mCODE
CRITICAL…twirl/gitbucket/core/issues/priorities/list.scala.html24 @gitbucket.core.issues.priorities.html.priority(priority, counts, repository, hasWritePermission)CODE
CRITICAL…scala/gitbucket/core/controller/IssuesController.scala375 gitbucket.core.issues.milestones.html.progress(openCount + closeCount, closeCount)CODE
CRITICAL…/main/scala/gitbucket/core/ssh/SshServerListener.scala20 val server = org.apache.sshd.server.SshServer.setUpDefaultServer()CODE
Cross-File Repetition22 hits · 110 pts
SeverityFileLineSnippetContext
HIGHsrc/main/webapp/assets/vendors/ace/mode-python.js0string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next:STRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-pgsql.js0string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next:STRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-fortran.js0string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next:STRING
HIGH…main/webapp/assets/vendors/ace/mode-csound_document.js0string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next:STRING
HIGH…ain/webapp/assets/vendors/ace/mode-csound_orchestra.js0string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next:STRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-python.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape"STRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-pgsql.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape"STRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-fortran.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape"STRING
HIGH…main/webapp/assets/vendors/ace/mode-csound_document.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape"STRING
HIGH…ain/webapp/assets/vendors/ace/mode-csound_orchestra.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape"STRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-python.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "rawqstring3": [{ token: "string", // multi lineSTRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-pgsql.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "rawqstring3": [{ token: "string", // multi lineSTRING
HIGH…main/webapp/assets/vendors/ace/mode-csound_document.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "rawqstring3": [{ token: "string", // multi lineSTRING
HIGH…ain/webapp/assets/vendors/ace/mode-csound_orchestra.js0string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "rawqstring3": [{ token: "string", // multi lineSTRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-python.js0string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttokSTRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-pgsql.js0string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttokSTRING
HIGH…main/webapp/assets/vendors/ace/mode-csound_document.js0string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttokSTRING
HIGH…ain/webapp/assets/vendors/ace/mode-csound_orchestra.js0string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttokSTRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-python.js0string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttokSTRING
HIGHsrc/main/webapp/assets/vendors/ace/mode-pgsql.js0string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttokSTRING
HIGH…main/webapp/assets/vendors/ace/mode-csound_document.js0string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttokSTRING
HIGH…ain/webapp/assets/vendors/ace/mode-csound_orchestra.js0string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttokSTRING
Fake / Example Data55 hits · 55 pts
SeverityFileLineSnippetContext
LOW…etimepicker-4.17.44/js/bootstrap-datetimepicker.min.js2return d.keepInvalid=a,l},l.datepickerInput=function(a){if(0===arguments.length)return d.datepickerInput;if("string"!=tyCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-html.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-html.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-slim.js2559 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-slim.js2605 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-coldfusion.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-coldfusion.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-rhtml.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-rhtml.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-ejs.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-ejs.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-prompt.js2813 cmdLine.setOption("placeholder", options.placeholder);CODE
LOW…in/webapp/assets/vendors/ace/mode-php_laravel_blade.js13896 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOW…in/webapp/assets/vendors/ace/mode-php_laravel_blade.js13942 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-handlebars.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-handlebars.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-curly.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-curly.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-vue.js566 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-vue.js612 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-nunjucks.js2263 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-nunjucks.js2309 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-django.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-django.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-velocity.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-velocity.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-visualforce.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-visualforce.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-astro.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-astro.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-php.js13732 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-php.js13778 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-luapage.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-luapage.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-liquid.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-liquid.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-latte.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-latte.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-twig.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-twig.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-razor.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-razor.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-soy_template.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-soy_template.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-html_ruby.js2731 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-html_ruby.js2777 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-markdown.js2365 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-markdown.js2411 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-html_elixir.js2496 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-html_elixir.js2542 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOWsrc/main/webapp/assets/vendors/ace/mode-smarty.js2113 "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "cheCODE
LOWsrc/main/webapp/assets/vendors/ace/mode-smarty.js2159 "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, CODE
LOW…n/twirl/gitbucket/core/helper/branchcontrol.scala.html80 $('#branch-control-input').attr('placeholder', 'Find or create branch ...');CODE
LOW…n/twirl/gitbucket/core/helper/branchcontrol.scala.html82 $('#branch-control-input').attr('placeholder', 'Find branch ...');CODE
LOW…n/twirl/gitbucket/core/helper/branchcontrol.scala.html93 $('#branch-control-input').attr('placeholder', 'Find tag ...');CODE
Hyper-Verbose Identifiers47 hits · 48 pts
SeverityFileLineSnippetContext
LOWsrc/main/webapp/assets/vendors/dropzone/dropzone.js1386 value: function updateTotalUploadProgress() {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js159 function MinimalGutterDiffDecorator(editor, type) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js2165function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx, endIdxEx) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js2553function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js2810 function DynamicProgrammingDiffing() {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js2863 function reportDecreasingAligningPositions(s12, s22) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js3285function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js3549function joinCloseConsecutiveMoves(moves) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js3586function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js3658function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js3714function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs, findParent, force) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js3789function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js3829function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) {CODE
LOWsrc/main/webapp/assets/vendors/ace/ext-diff.js3967 function getOrCreateHash(text) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-coffee.js1336var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-javascript.js3126 function createPredicateIndexFinder(dir) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-javascript.js6415 function comprehensiveArrayExpression(context) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-javascript.js7108 function destructuringPatternRecursive(context, options) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-javascript.js7260 function destructuringPatternMatch(tokens, value) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-javascript.js8770 function destructuringAssignOrJsonValue(context) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-javascript.js9762 function isNonAsciiIdentifierStart(code) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-javascript.js11902 function usedSoFarInCurrentFunction(bindingName) {CODE
LOWsrc/main/webapp/assets/vendors/ace/keybinding-emacs.js306function IncrementalSearchKeyboardHandler(iSearch) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-yaml.js4522function resolveJavascriptFunction(data) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-yaml.js4543function constructJavascriptFunction(data) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-yaml.js4547function representJavascriptFunction(object /*, style*/) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-yaml.js4585function constructJavascriptRegExp(data) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-yaml.js4597function representJavascriptRegExp(object /*, style*/) {CODE
LOW⚡src/main/webapp/assets/vendors/ace/worker-yaml.js4624function resolveJavascriptUndefined() {CODE
LOW⚡src/main/webapp/assets/vendors/ace/worker-yaml.js4628function constructJavascriptUndefined() {CODE
LOW⚡src/main/webapp/assets/vendors/ace/worker-yaml.js4632function representJavascriptUndefined() {CODE
LOWsrc/main/webapp/assets/vendors/ace/ace.js1809function detectListenerOptionsSupport() {CODE
LOWsrc/main/webapp/assets/vendors/ace/keybinding-vim.js1038function updateSelectionForSurrogateCharacters(cm, curStart, curEnd) {CODE
LOWsrc/main/webapp/assets/vendors/ace/keybinding-vim.js4384function findFirstNonWhiteSpaceCharacter(text) {CODE
LOWsrc/main/webapp/assets/vendors/ace/keybinding-vim.js4481function recordLastCharacterSearch(increment, args) {CODE
LOWsrc/main/webapp/assets/vendors/ace/keybinding-vim.js5493function findNextFromAndToInclusive(cm, prev, query, repeat, vim) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-lua.js2207 function readUnicodeEscapeSequence() {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-lua.js2993 function parseAssignmentOrCallStatement(flowContext) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-lua.js3259 function parsePrefixExpressionPart(base, marker, flowContext) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-html.js3548function isWhitespaceOrReplacementCharacter(ch) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-html.js3561function isAllWhitespaceOrReplacementCharacters(characters) {CODE
LOWsrc/main/webapp/assets/vendors/ace/worker-html.js5939 function isActiveFormattingElement(el) {CODE
LOW…n/twirl/gitbucket/core/helper/branchcontrol.scala.html98 function updateBranchControlListFilter() {CODE
LOWsrc/main/twirl/gitbucket/core/helper/diff.scala.html317function renderOneCommitCommentIntoDiff($v, diff){CODE
LOWsrc/main/scala/gitbucket/core/util/Implicits.scala85 def getAndRemove[T](key: String): Option[T] = {CODE
LOW…la/gitbucket/core/controller/DashboardController.scala94 private def getOrCreateCondition(filter: String, userName: String) = {CODE
LOW…/gitbucket/core/service/AccountFederationService.scala23 def getOrCreateFederatedUser(CODE
Over-Commented Block26 hits · 26 pts
SeverityFileLineSnippetContext
LOW…test/scala/gitbucket/core/api/ApiIntegrationTest.scala341 // Replace labels (Cannot test because GHLabel.setLabels() doesn't use the replace endpoint)COMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js1//! moment.jsCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js21sd===!1&&(sd=!0,a.updateOffset(this),sd=!1)}function s(a){return a instanceof r||null!=a&&null!=a._isAMomentObject}functCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js41this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=k([2e3,d]),this._shortMonthsParseCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js61// HELPERSCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js81function Ba(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function Ca(a){var b=wa(this,1,COMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js101// PARSINGCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js121// locale key.COMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js141// date from iso formatCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js161for(d=hb(a),COMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js201// handle meridiemCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js221// moments should either be an array of moment objects or an array, whoseCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js241// Use low-level api, because this fn is low-level api.COMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js261// We'd normally use ~~inp for this, but unfortunately it alsoCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js321// ()COMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js341// 400 years have 146097 days (taking into account leap year rules)COMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js361// * months bubble up until they become yearsCOMMENT
LOW…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js421// PRIORITYCOMMENT
LOWsrc/main/webapp/assets/vendors/dropzone/dropzone.js2861COMMENT
LOW…ndors/jquery-textcomplete-1.8.4/jquery.textcomplete.js81 // func - The function to be locked. It is executed with a function namedCOMMENT
LOW…ndors/jquery-textcomplete-1.8.4/jquery.textcomplete.js1341 }, null, null, 1); // 1 = Priority = Important!COMMENT
LOW…ndors/jquery-textcomplete-1.8.4/jquery.textcomplete.js1361// substantial portions of the Software.COMMENT
LOW…a/gitbucket/core/servlet/CompositeScalatraFilter.scala81 }COMMENT
LOWsrc/main/scala/gitbucket/core/util/Mailer.scala81COMMENT
LOW…tbucket/core/controller/SystemSettingsController.scala521// FileUtils.deleteDirectory(getWikiRepositoryDir(groupName, repositoryName))COMMENT
LOW…/scala/gitbucket/core/service/PullRequestService.scala101// .innerJoin(Issues).on { (t1, t2) => t1.byPrimaryKey(t2.userName, t2.repositoryName, t2.issueId) }COMMENT
Self-Referential Comments3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/main/webapp/assets/vendors/ace/snippets/java.js1define("ace/snippets/java.snippets",["require","exports","module"], function(require, exports, module){module.exports = CODE
MEDIUMsrc/main/webapp/assets/vendors/ace/snippets/wollok.js1define("ace/snippets/wollok.snippets",["require","exports","module"], function(require, exports, module){module.exports CODE
MEDIUMsrc/main/webapp/assets/vendors/ace/snippets/edifact.js1define("ace/snippets/edifact.snippets",["require","exports","module"], function(require, exports, module){module.exportsCODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js298// to utilize falling through the cases.COMMENT