A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 77 finding(s).
Are imports declared and package/API names verified? 66 finding(s).
Are wrappers, guards, and repeated structures necessary? 69 finding(s).
Which changes need focused human review? 165 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …la/gitbucket/core/service/PullRequestServiceSpec.scala | 145 | val builder = org.eclipse.jgit.dircache.DirCache.newInCore.builder() | CODE |
| CRITICAL | …la/gitbucket/core/service/PullRequestServiceSpec.scala | 309 | val builder = org.eclipse.jgit.dircache.DirCache.newInCore.builder() | CODE |
| CRITICAL | …/main/webapp/assets/vendors/jquery/jquery-3.5.1.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | …/main/twirl/gitbucket/core/issues/issueinfo.scala.html | 109 | @gitbucket.core.issues.milestones.html.progress(openCount + closeCount, closeCount) | CODE |
| CRITICAL | …ain/twirl/gitbucket/core/issues/labels/list.scala.html | 24 | @gitbucket.core.issues.labels.html.label(label, counts, repository, hasWritePermission) | CODE |
| CRITICAL | …twirl/gitbucket/core/issues/milestones/list.scala.html | 54 | @gitbucket.core.issues.milestones.html.progress(openCount + closedCount, closedCount) | CODE |
| CRITICAL | …/gitbucket/core/issues/milestones/milestone.scala.html | 40 | @gitbucket.core.issues.milestones.html.progress(openCount + closedCount, closedCount) | CODE |
| CRITICAL | …/gitbucket/core/issues/milestones/milestone.scala.html | 92 | @gitbucket.core.issues.milestones.html.listparts(issues, page, openCount, closedCount, condition, collaborators, m | CODE |
| CRITICAL | …twirl/gitbucket/core/issues/priorities/list.scala.html | 24 | @gitbucket.core.issues.priorities.html.priority(priority, counts, repository, hasWritePermission) | CODE |
| CRITICAL | …scala/gitbucket/core/controller/IssuesController.scala | 375 | gitbucket.core.issues.milestones.html.progress(openCount + closeCount, closeCount) | CODE |
| CRITICAL | …/main/scala/gitbucket/core/ssh/SshServerListener.scala | 20 | val server = org.apache.sshd.server.SshServer.setUpDefaultServer() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/main/webapp/assets/vendors/ace/mode-python.js | 0 | string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next: | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-pgsql.js | 0 | string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next: | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-fortran.js | 0 | string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next: | STRING |
| HIGH | …main/webapp/assets/vendors/ace/mode-csound_document.js | 0 | string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next: | STRING |
| HIGH | …ain/webapp/assets/vendors/ace/mode-csound_orchestra.js | 0 | string start regex: strpre + '"{3}', next: "qqstring3" }, { token: "string", // " string regex: strpre + '"(?=.)', next: | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-python.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape" | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-pgsql.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape" | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-fortran.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape" | STRING |
| HIGH | …main/webapp/assets/vendors/ace/mode-csound_document.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape" | STRING |
| HIGH | …ain/webapp/assets/vendors/ace/mode-csound_orchestra.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "qstring3": [{ token: "constant.language.escape" | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-python.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "rawqstring3": [{ token: "string", // multi line | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-pgsql.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "rawqstring3": [{ token: "string", // multi line | STRING |
| HIGH | …main/webapp/assets/vendors/ace/mode-csound_document.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "rawqstring3": [{ token: "string", // multi line | STRING |
| HIGH | …ain/webapp/assets/vendors/ace/mode-csound_orchestra.js | 0 | string end regex: '"{3}', next: "start" }, { defaulttoken: "string" }], "rawqstring3": [{ token: "string", // multi line | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-python.js | 0 | string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttok | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-pgsql.js | 0 | string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttok | STRING |
| HIGH | …main/webapp/assets/vendors/ace/mode-csound_document.js | 0 | string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttok | STRING |
| HIGH | …ain/webapp/assets/vendors/ace/mode-csound_orchestra.js | 0 | string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttok | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-python.js | 0 | string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttok | STRING |
| HIGH | src/main/webapp/assets/vendors/ace/mode-pgsql.js | 0 | string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttok | STRING |
| HIGH | …main/webapp/assets/vendors/ace/mode-csound_document.js | 0 | string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttok | STRING |
| HIGH | …ain/webapp/assets/vendors/ace/mode-csound_orchestra.js | 0 | string end regex: '"{3}', next: "start" }, { token: "paren.lparen", regex: "{", push: "fqstringparrules" }, { defaulttok | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …etimepicker-4.17.44/js/bootstrap-datetimepicker.min.js | 2 | return d.keepInvalid=a,l},l.datepickerInput=function(a){if(0===arguments.length)return d.datepickerInput;if("string"!=ty | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-html.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-html.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-slim.js | 2559 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-slim.js | 2605 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-coldfusion.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-coldfusion.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-rhtml.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-rhtml.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-ejs.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-ejs.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-prompt.js | 2813 | cmdLine.setOption("placeholder", options.placeholder); | CODE |
| LOW | …in/webapp/assets/vendors/ace/mode-php_laravel_blade.js | 13896 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | …in/webapp/assets/vendors/ace/mode-php_laravel_blade.js | 13942 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-handlebars.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-handlebars.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-curly.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-curly.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-vue.js | 566 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-vue.js | 612 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-nunjucks.js | 2263 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-nunjucks.js | 2309 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-django.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-django.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-velocity.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-velocity.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-visualforce.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-visualforce.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-astro.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-astro.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-php.js | 13732 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-php.js | 13778 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-luapage.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-luapage.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-liquid.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-liquid.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-latte.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-latte.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-twig.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-twig.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-razor.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-razor.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-soy_template.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-soy_template.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-html_ruby.js | 2731 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-html_ruby.js | 2777 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-markdown.js | 2365 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-markdown.js | 2411 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-html_elixir.js | 2496 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-html_elixir.js | 2542 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-smarty.js | 2113 | "accept": 1, "alt": 1, "autocomplete": { "on": 1, "off": 1 }, "autofocus": { "autofocus": 1 }, "checked": { "che | CODE |
| LOW | src/main/webapp/assets/vendors/ace/mode-smarty.js | 2159 | "textarea": { "autofocus": { "autofocus": 1 }, "disabled": { "disabled": 1 }, "form": 1, "maxlength": 1, "name": 1, | CODE |
| LOW | …n/twirl/gitbucket/core/helper/branchcontrol.scala.html | 80 | $('#branch-control-input').attr('placeholder', 'Find or create branch ...'); | CODE |
| LOW | …n/twirl/gitbucket/core/helper/branchcontrol.scala.html | 82 | $('#branch-control-input').attr('placeholder', 'Find branch ...'); | CODE |
| LOW | …n/twirl/gitbucket/core/helper/branchcontrol.scala.html | 93 | $('#branch-control-input').attr('placeholder', 'Find tag ...'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/main/webapp/assets/vendors/dropzone/dropzone.js | 1386 | value: function updateTotalUploadProgress() { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 159 | function MinimalGutterDiffDecorator(editor, type) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 2165 | function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx, endIdxEx) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 2553 | function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 2810 | function DynamicProgrammingDiffing() { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 2863 | function reportDecreasingAligningPositions(s12, s22) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 3285 | function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 3549 | function joinCloseConsecutiveMoves(moves) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 3586 | function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 3658 | function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 3714 | function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs, findParent, force) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 3789 | function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 3829 | function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ext-diff.js | 3967 | function getOrCreateHash(text) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-coffee.js | 1336 | var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-javascript.js | 3126 | function createPredicateIndexFinder(dir) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-javascript.js | 6415 | function comprehensiveArrayExpression(context) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-javascript.js | 7108 | function destructuringPatternRecursive(context, options) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-javascript.js | 7260 | function destructuringPatternMatch(tokens, value) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-javascript.js | 8770 | function destructuringAssignOrJsonValue(context) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-javascript.js | 9762 | function isNonAsciiIdentifierStart(code) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-javascript.js | 11902 | function usedSoFarInCurrentFunction(bindingName) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/keybinding-emacs.js | 306 | function IncrementalSearchKeyboardHandler(iSearch) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-yaml.js | 4522 | function resolveJavascriptFunction(data) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-yaml.js | 4543 | function constructJavascriptFunction(data) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-yaml.js | 4547 | function representJavascriptFunction(object /*, style*/) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-yaml.js | 4585 | function constructJavascriptRegExp(data) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-yaml.js | 4597 | function representJavascriptRegExp(object /*, style*/) { | CODE |
| LOW⚡ | src/main/webapp/assets/vendors/ace/worker-yaml.js | 4624 | function resolveJavascriptUndefined() { | CODE |
| LOW⚡ | src/main/webapp/assets/vendors/ace/worker-yaml.js | 4628 | function constructJavascriptUndefined() { | CODE |
| LOW⚡ | src/main/webapp/assets/vendors/ace/worker-yaml.js | 4632 | function representJavascriptUndefined() { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/ace.js | 1809 | function detectListenerOptionsSupport() { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/keybinding-vim.js | 1038 | function updateSelectionForSurrogateCharacters(cm, curStart, curEnd) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/keybinding-vim.js | 4384 | function findFirstNonWhiteSpaceCharacter(text) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/keybinding-vim.js | 4481 | function recordLastCharacterSearch(increment, args) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/keybinding-vim.js | 5493 | function findNextFromAndToInclusive(cm, prev, query, repeat, vim) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-lua.js | 2207 | function readUnicodeEscapeSequence() { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-lua.js | 2993 | function parseAssignmentOrCallStatement(flowContext) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-lua.js | 3259 | function parsePrefixExpressionPart(base, marker, flowContext) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-html.js | 3548 | function isWhitespaceOrReplacementCharacter(ch) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-html.js | 3561 | function isAllWhitespaceOrReplacementCharacters(characters) { | CODE |
| LOW | src/main/webapp/assets/vendors/ace/worker-html.js | 5939 | function isActiveFormattingElement(el) { | CODE |
| LOW | …n/twirl/gitbucket/core/helper/branchcontrol.scala.html | 98 | function updateBranchControlListFilter() { | CODE |
| LOW | src/main/twirl/gitbucket/core/helper/diff.scala.html | 317 | function renderOneCommitCommentIntoDiff($v, diff){ | CODE |
| LOW | src/main/scala/gitbucket/core/util/Implicits.scala | 85 | def getAndRemove[T](key: String): Option[T] = { | CODE |
| LOW | …la/gitbucket/core/controller/DashboardController.scala | 94 | private def getOrCreateCondition(filter: String, userName: String) = { | CODE |
| LOW | …/gitbucket/core/service/AccountFederationService.scala | 23 | def getOrCreateFederatedUser( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …test/scala/gitbucket/core/api/ApiIntegrationTest.scala | 341 | // Replace labels (Cannot test because GHLabel.setLabels() doesn't use the replace endpoint) | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 1 | //! moment.js | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 21 | sd===!1&&(sd=!0,a.updateOffset(this),sd=!1)}function s(a){return a instanceof r||null!=a&&null!=a._isAMomentObject}funct | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 41 | this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=k([2e3,d]),this._shortMonthsParse | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 61 | // HELPERS | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 81 | function 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.js | 101 | // PARSING | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 121 | // locale key. | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 141 | // date from iso format | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 161 | for(d=hb(a), | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 201 | // handle meridiem | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 221 | // moments should either be an array of moment objects or an array, whose | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 241 | // Use low-level api, because this fn is low-level api. | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 261 | // We'd normally use ~~inp for this, but unfortunately it also | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 321 | // () | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 341 | // 400 years have 146097 days (taking into account leap year rules) | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 361 | // * months bubble up until they become years | COMMENT |
| LOW | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 421 | // PRIORITY | COMMENT |
| LOW | src/main/webapp/assets/vendors/dropzone/dropzone.js | 2861 | COMMENT | |
| LOW | …ndors/jquery-textcomplete-1.8.4/jquery.textcomplete.js | 81 | // func - The function to be locked. It is executed with a function named | COMMENT |
| LOW | …ndors/jquery-textcomplete-1.8.4/jquery.textcomplete.js | 1341 | }, null, null, 1); // 1 = Priority = Important! | COMMENT |
| LOW | …ndors/jquery-textcomplete-1.8.4/jquery.textcomplete.js | 1361 | // substantial portions of the Software. | COMMENT |
| LOW | …a/gitbucket/core/servlet/CompositeScalatraFilter.scala | 81 | } | COMMENT |
| LOW | src/main/scala/gitbucket/core/util/Mailer.scala | 81 | COMMENT | |
| LOW | …tbucket/core/controller/SystemSettingsController.scala | 521 | // FileUtils.deleteDirectory(getWikiRepositoryDir(groupName, repositoryName)) | COMMENT |
| LOW | …/scala/gitbucket/core/service/PullRequestService.scala | 101 | // .innerJoin(Issues).on { (t1, t2) => t1.byPrimaryKey(t2.userName, t2.repositoryName, t2.issueId) } | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/main/webapp/assets/vendors/ace/snippets/java.js | 1 | define("ace/snippets/java.snippets",["require","exports","module"], function(require, exports, module){module.exports = | CODE |
| MEDIUM | src/main/webapp/assets/vendors/ace/snippets/wollok.js | 1 | define("ace/snippets/wollok.snippets",["require","exports","module"], function(require, exports, module){module.exports | CODE |
| MEDIUM | src/main/webapp/assets/vendors/ace/snippets/edifact.js | 1 | define("ace/snippets/edifact.snippets",["require","exports","module"], function(require, exports, module){module.exports | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …dors/bootstrap-datetimepicker-4.17.44/js/moment.min.js | 298 | // to utilize falling through the cases. | COMMENT |