Repository Analysis

theonedev/onedev

Git Server with CI/CD, Kanban, and Packages. Seamless integration. Unparalleled experience.

2.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of theonedev/onedev, a Java project with 15,094 GitHub stars. SynthScan v2.0 examined 634,764 lines of code across 5122 source files, recording 213 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 2.3 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.3
Adjusted Score
2.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
15.1K
Stars
Java
Language
634.8K
Lines of Code
5.1K
Files
213
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 117HIGH 3MEDIUM 0LOW 93

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 213 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators117 hits · 1330 pts
SeverityFileLineSnippetContext
CRITICAL…er-core/src/main/java/io/onedev/server/CoreModule.java777 script.setContent(newArrayList("io.onedev.server.util.ScriptContribution.determineBuildFailureInvestigator()"));CODE
CRITICAL…er-core/src/main/java/io/onedev/server/CoreModule.java788 script.setContent(newArrayList("io.onedev.server.util.ScriptContribution.getBuildNumber()"));CODE
CRITICAL…er-core/src/main/java/io/onedev/server/CoreModule.java799 script.setContent(newArrayList("io.onedev.server.util.ScriptContribution.getCurrentUser()"));CODE
CRITICAL…/src/main/java/io/onedev/server/buildspec/job/Job.java372 io.onedev.server.buildspec.job.retrycondition.RetryCondition.parse(this, getRetryCondition());CODE
CRITICAL…/server/buildspec/job/trigger/BranchUpdateTrigger.java116 return io.onedev.server.util.usermatch.UserMatch.parse(getUserMatch()).matches(refUpdated.getUser());CODE
CRITICAL…erver/buildspec/job/action/SendNotificationAction.java33 io.onedev.server.buildspec.job.action.notificationreceiver.NotificationReceiver.parse(getReceivers(), build);CODE
CRITICAL…nedev/server/buildspec/job/action/PostBuildAction.java36 io.onedev.server.buildspec.job.action.condition.ActionCondition.parse(job, condition);CODE
CRITICAL…onedev/server/util/oauth/DefaultOAuthTokenService.java58 new com.nimbusds.oauth2.sdk.token.RefreshToken(refreshTokenValue);CODE
CRITICAL…ore/src/main/java/io/onedev/server/web/WebSession.java49 return (WebSession) org.apache.wicket.protocol.http.WebSession.get();CODE
CRITICAL…eb/page/admin/labelmanagement/LabelManagementPage.java62 return new org.apache.wicket.markup.html.basic.Label(componentId, _T("Labels"));CODE
CRITICAL…rver/web/page/project/compare/RevisionComparePage.java556 new io.onedev.server.web.asset.revisioncompare.RevisionCompareCssResourceReference()));CODE
CRITICAL…blob/render/renderers/markdown/MarkdownBlobEditor.java123 var requestQuery = new PullRequestQuery(new io.onedev.server.search.entity.pullrequest.FuzzyCriteria(query));CODE
CRITICAL…blob/render/renderers/markdown/MarkdownBlobEditor.java135 var issueQuery = new IssueQuery(new io.onedev.server.search.entity.issue.FuzzyCriteria(query));CODE
CRITICAL…a/io/onedev/server/web/asset/jqueryui/jquery-ui.min.js6!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict"CODE
CRITICAL…o/onedev/server/web/asset/codemirror/lib/codemirror.js8946 return this.cm.display.wrapper.ownerDocument.getSelection()CODE
CRITICAL…/io/onedev/server/web/asset/xterm/xterm-addon-webgl.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amCODE
CRITICAL…rc/main/java/io/onedev/server/web/asset/xterm/xterm.js1!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof defineCODE
CRITICAL…n/java/io/onedev/server/web/asset/marked/marked.min.js47`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(s);continue}if(e){let r="Infinite loop on bytCODE
CRITICAL…in/java/io/onedev/server/web/util/SuggestionUtils.java430 var issueQuery = new IssueQuery(new io.onedev.server.search.entity.issue.FuzzyCriteria(scopedQuery.getQuery()));CODE
CRITICAL…in/java/io/onedev/server/web/util/SuggestionUtils.java450 var requestQuery = new PullRequestQuery(new io.onedev.server.search.entity.pullrequest.FuzzyCriteria(scopedQuery.getQCODE
CRITICAL…/onedev/server/web/component/comment/CommentInput.java90 var requestQuery = new PullRequestQuery(new io.onedev.server.search.entity.pullrequest.FuzzyCriteria(query));CODE
CRITICAL…/onedev/server/web/component/comment/CommentInput.java102 var issueQuery = new IssueQuery(new io.onedev.server.search.entity.issue.FuzzyCriteria(query));CODE
CRITICAL…src/main/java/io/onedev/server/ai/BuildSpecSchema.java77 grammarStream = io.onedev.server.buildspec.job.retrycondition.RetryCondition.class.getResourceAsStreCODE
CRITICAL…src/main/java/io/onedev/server/ai/BuildSpecSchema.java79 grammarStream = io.onedev.server.util.usermatch.UserMatch.class.getResourceAsStream("UserMatch.g4");CODE
CRITICAL…ver/model/support/issue/transitionspec/ManualSpec.java123 io.onedev.server.search.entity.issue.IssueQuery parsedQuery = io.onedev.server.search.entity.issue.IssueQuery.parse(iCODE
CRITICAL…l/support/channelnotification/ChannelNotification.java166 return io.onedev.server.search.entity.issue.IssueQuery.parse(event.getProject(), getIssueQuery(), option, true)CODE
CRITICAL…l/support/channelnotification/ChannelNotification.java173 return io.onedev.server.search.entity.build.BuildQuery.parse(event.getProject(), getBuildQuery(), false, true)CODE
CRITICAL…l/support/channelnotification/ChannelNotification.java180 return io.onedev.server.search.entity.pullrequest.PullRequestQuery.parse(event.getProject(), getPullRequestQuery(), CODE
CRITICAL…l/support/channelnotification/ChannelNotification.java187 return io.onedev.server.search.commit.CommitQuery.parse(event.getProject(), getCommitQuery(), false)CODE
CRITICAL…l/support/channelnotification/ChannelNotification.java194 return io.onedev.server.search.entity.codecomment.CodeCommentQuery.parse(event.getProject(), getCodeCommentQuery(), CODE
CRITICAL…/server/model/support/administration/GroovyScript.java125 if (jobAuthorization != null && io.onedev.server.job.match.JobMatch.parse(jobAuthorization, true, false).isUsingProjecCODE
CRITICAL…/server/model/support/administration/GroovyScript.java134 var jobMatch = io.onedev.server.job.match.JobMatch.parse(jobAuthorization, true, false);CODE
CRITICAL…it/signatureverification/ssh/SshSignatureVerifier.java75 hash = org.apache.commons.codec.digest.DigestUtils.sha256(data);CODE
CRITICAL…it/signatureverification/ssh/SshSignatureVerifier.java77 hash = org.apache.commons.codec.digest.DigestUtils.sha512(data);CODE
CRITICAL…er/validation/validator/PullRequestQueryValidator.java26 io.onedev.server.search.entity.pullrequest.PullRequestQuery.parse(project, value, true);CODE
CRITICAL…ev/server/validation/validator/UserMatchValidator.java24 io.onedev.server.util.usermatch.UserMatch.parse(value);CODE
CRITICAL…erver/validation/validator/InterpolativeValidator.java45 io.onedev.server.util.interpolative.Interpolative.parse(each2);CODE
CRITICAL…server/validation/validator/ProjectQueryValidator.java24 io.onedev.server.search.entity.project.ProjectQuery.parse(value);CODE
CRITICAL…v/server/validation/validator/BuildQueryValidator.java32 io.onedev.server.search.entity.build.BuildQuery.parse(project, value,CODE
CRITICAL…ev/server/validation/validator/PackQueryValidator.java29 io.onedev.server.search.entity.pack.PackQuery.parse(project, value, withCurrentUserCriteria);CODE
CRITICAL…dev/server/validation/validator/JobMatchValidator.java30 io.onedev.server.job.match.JobMatch.parse(value, withProjectCriteria, withJobCriteria);CODE
CRITICAL…r/validation/validator/ReviewRequirementValidator.java25 io.onedev.server.util.reviewrequirement.ReviewRequirement.parse(value);CODE
CRITICAL…v/server/validation/validator/AgentQueryValidator.java27 io.onedev.server.search.entity.agent.AgentQuery.parse(value, forRunner);CODE
CRITICAL…rver/validation/validator/WorkspaceQueryValidator.java29 io.onedev.server.search.entity.workspace.WorkspaceQuery.parse(project, value, withCurrentUserCriteria);CODE
CRITICAL…/server/validation/validator/CommitQueryValidator.java25 io.onedev.server.search.commit.CommitQuery.parse(Project.get(), value, true);CODE
CRITICAL…v/server/validation/validator/IssueQueryValidator.java56 io.onedev.server.search.entity.issue.IssueQuery.parse(project, value, option, true);CODE
CRITICAL…er/validation/validator/CodeCommentQueryValidator.java26 io.onedev.server.search.entity.codecomment.CodeCommentQuery.parse(project, value, true);CODE
CRITICAL…alidation/validator/NotificationReceiverValidator.java25 io.onedev.server.buildspec.job.action.notificationreceiver.NotificationReceiver.parse(value, null);CODE
CRITICAL…o/onedev/server/plugin/sso/openid/OpenIdConnector.java151 com.nimbusds.oauth2.sdk.auth.Secret clientSecret = new com.nimbusds.oauth2.sdk.auth.Secret(getClientSecret());CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml71 at io.onedev.commons.utils.PathUtilsTest.testResolveSibling(PathUtilsTest.java:44)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml77 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml78 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml79 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml89 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml90 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml91 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml96 at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml98 at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml99 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)CODE
CRITICAL…a/io/onedev/server/plugin/report/junit/test-result.xml100 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)CODE
57 more matches not shown…
Hyper-Verbose Identifiers41 hits · 42 pts
SeverityFileLineSnippetContext
LOW…he/wicket/protocol/ws/api/WebSocketRequestHandler.java50public class WebSocketRequestHandler implements IWebSocketRequestHandlerCODE
LOW…icket/request/http/handler/RedirectRequestHandler.java41public class RedirectRequestHandler implements IRequestHandlerCODE
LOW…/io/onedev/server/web/ResourceErrorRequestHandler.java13public final class ResourceErrorRequestHandler implements IRequestHandler {CODE
LOW…o/onedev/server/web/asset/codemirror/mode/dart/dart.js135 function tokenInterpolationIdentifier(stream, state) {CODE
LOW…ver/web/asset/codemirror/mode/powershell/powershell.js280 function tokenHereStringInterpolation(stream, state) {CODE
LOW…o/onedev/server/web/asset/codemirror/mode/slim/slim.js265 function startAttributeWrapperMode(state, endQuote, tokenize) {CODE
LOW…o/onedev/server/web/asset/codemirror/mode/sass/sass.js108 function buildInterpolationTokenizer(currentTokenizer) {CODE
LOW…/io/onedev/server/web/asset/codemirror/mode/sql/sql.js226 function hookIdentifierDoublequote(stream) {CODE
LOW…va/io/onedev/server/web/asset/codemirror/keymap/vim.js3363 function findFirstNonWhiteSpaceCharacter(text) {CODE
LOW…va/io/onedev/server/web/asset/codemirror/keymap/vim.js3461 function recordLastCharacterSearch(increment, args) {CODE
LOW…va/io/onedev/server/web/asset/codemirror/keymap/vim.js4653 function findNextFromAndToInclusive(cm, prev, query, repeat, vim) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js1550 function conflictingCollapsedRange(doc, lineNo, from, to, marker) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js1807 function defaultSpecialCharPlaceholder(ch) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js2381 function updateExternalMeasurement(cm, line) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js2557 function maybeUpdateRectForZooming(measure, rect) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js2567 function clearLineMeasurementCacheFor(lineView) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js2576 function clearLineMeasurementCache(cm) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js4323 function maybeUpdateLineNumberWidth(cm) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js4971 function selectionEventCanBeMerged(doc, origin, prev, sel) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js5170 function setSelectionReplaceHistory(doc, sel, options) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js5501 function makeChangeSingleDocInEditor(cm, change, spans) {CODE
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js5839 function adjustScrollWhenAboveVisible(cm, line, diff) {CODE
LOW…nedev/server/web/asset/codemirror/addon/merge/merge.js789 function collapseIdenticalStretches(mv, margin) {CODE
LOW…/web/asset/codemirror/addon/comment/continuecomment.js93 function continueLineCommentEnabled(cm) {CODE
LOW…rver/web/asset/codemirror/addon/search/searchcursor.js45 function searchRegexpForwardMultiline(doc, regexp, start) {CODE
LOW…rver/web/asset/codemirror/addon/search/searchcursor.js102 function searchRegexpBackwardMultiline(doc, regexp, start) {CODE
LOW…dev/server/web/asset/codemirror/addon/search/search.js220 function getReplacementQueryDialog(cm) {CODE
LOW…server/web/asset/codemirror/addon/edit/continuelist.js67 function incrementRemainingMarkdownListNumbers(cm, pos) {CODE
LOW…edev/server/web/asset/bootstrap/js/bootstrap.bundle.js78 function getSpecialTransitionEndEvent() {CODE
LOW…edev/server/web/asset/bootstrap/js/bootstrap.bundle.js142 getTransitionDurationFromElement: function getTransitionDurationFromElement(element) {CODE
LOW…edev/server/web/asset/bootstrap/js/bootstrap.bundle.js2008 function getOffsetRectRelativeToArbitraryNode(children, parent) {CODE
LOW…edev/server/web/asset/bootstrap/js/bootstrap.bundle.js2060 function getViewportOffsetRectRelativeToArtbitraryNode(element) {CODE
LOW…edev/server/web/asset/bootstrap/js/bootstrap.bundle.js2112 function getFixedPositionOffsetParent(element) {CODE
LOW…a/io/onedev/server/web/asset/bootstrap/js/bootstrap.js79 function getSpecialTransitionEndEvent() {CODE
LOW…a/io/onedev/server/web/asset/bootstrap/js/bootstrap.js143 getTransitionDurationFromElement: function getTransitionDurationFromElement(element) {CODE
LOW…/main/java/io/onedev/server/web/asset/moment/moment.js622 function replaceLongDateFormatTokens(input) {CODE
LOW…/main/java/io/onedev/server/web/asset/moment/moment.js2405 function configFromStringAndFormat(config) {CODE
LOW…/main/java/io/onedev/server/web/asset/moment/moment.js2986 function isDaylightSavingTimeShifted () {CODE
LOW…/main/java/io/onedev/server/web/asset/moment/moment.js3100 function positiveMomentsDifference(base, other) {CODE
LOW…/main/java/io/onedev/server/web/asset/moment/moment.js4391 function getSetRelativeTimeRounding (roundingFunction) {CODE
LOW…/main/java/io/onedev/server/web/asset/moment/moment.js4403 function getSetRelativeTimeThreshold (threshold, limit) {CODE
Fake / Example Data27 hits · 27 pts
SeverityFileLineSnippetContext
LOW…equests/detail/operationdlg/OperationCommentPanel.java50 return Lists.newArrayList(AttributeModifier.replace("placeholder", "Leave a note"));CODE
LOW…uests/detail/activities/PullRequestActivitiesPage.java260 return Lists.newArrayList(AttributeModifier.replace("placeholder", _T("Leave a comment")));CODE
LOW…b/page/project/pullrequests/create/new-pull-request.js14 $titleInput.data("placeholder", $titleInput.attr("placeholder"));CODE
LOW…b/page/project/pullrequests/create/new-pull-request.js15 $titleInput.removeAttr("placeholder");CODE
LOW…b/page/project/pullrequests/create/new-pull-request.js65 var placeholder = $titleInput.data("placeholder");CODE
LOW…b/page/project/pullrequests/create/new-pull-request.js67 $titleInput.attr("placeholder", placeholder);CODE
LOW…ge/project/pullrequests/create/NewPullRequestPage.java815 titleInput.add(AttributeAppender.append("placeholder", Model.of(_T("Input title here"))));CODE
LOW…er/web/page/project/issues/boards/IssueBoardsPage.java758 queryInput.add(AttributeAppender.append("placeholder", _T("Filter backlog issues")));CODE
LOW…er/web/page/project/issues/boards/IssueBoardsPage.java760 queryInput.add(AttributeAppender.append("placeholder", _T("Filter issues")));CODE
LOW…/server/web/page/project/issues/boards/issue-boards.js44 $card.addClass("placeholder");CODE
LOW…/server/web/page/project/issues/boards/issue-boards.js194 $card.removeData("droppable").removeClass("placeholder");CODE
LOW…a/io/onedev/server/web/asset/jqueryui/jquery-ui.min.js6!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict"CODE
LOW…dev/server/web/asset/codemirror/addon/hint/css-hint.js20 "placeholder":1, "read-only":1, "read-write":1, "required":1, "root":1,CODE
LOW…rver/web/asset/codemirror/addon/display/placeholder.js12 CodeMirror.defineOption("placeholder", "", function(cm, val, old) {CODE
LOW…rver/web/asset/codemirror/addon/display/placeholder.js45 var placeHolder = cm.getOption("placeholder")CODE
LOW…va/io/onedev/server/web/component/markdown/markdown.js1449 $text.attr("placeholder", onedev.server.util.describeUrl($url.val()));CODE
LOW…ev/server/web/component/issue/list/BatchEditPanel.java265 return Lists.newArrayList(AttributeModifier.replace("placeholder", _T("Leave a comment")));CODE
LOW…b/component/issue/activities/IssueActivitiesPanel.java251 return Lists.newArrayList(AttributeModifier.replace("placeholder", _T("Leave a comment")));CODE
LOW…nent/issue/transitionoption/TransitionOptionPanel.java92 return Lists.newArrayList(AttributeModifier.replace("placeholder", _T("Leave a comment")));CODE
LOW…server/web/component/codecomment/CodeCommentPanel.java558 behaviors.add(AttributeModifier.replace("placeholder", "Leave a note"));CODE
LOW…a/io/onedev/server/web/component/select2/Settings.java87 Json.writeObject(writer, "placeholder", placeholder);CODE
LOW…/io/onedev/server/web/component/select2/res/select2.js1571 return this.opts.element.attr("placeholder") ||CODE
LOW…/io/onedev/server/web/component/select2/res/select2.js1573 this.opts.element.data("placeholder") ||CODE
LOW…ev/server/web/component/revision/RevisionSelector.java160 revField.add(AttributeModifier.replace("placeholder", new LoadableDetachableModel<String>() {CODE
LOW…java/io/onedev/server/web/editable/PropertyEditor.java125 return AttributeModifier.replace("placeholder", new LoadableDetachableModel<String>() {CODE
LOW…nedev/server/web/editable/date/DatePropertyEditor.java42 input.add(AttributeModifier.replace("placeholder", EditableUtils.getDisplayName(propertyGetter)));CODE
LOW…nedev/server/web/editable/date/DatePropertyEditor.java44 input.add(AttributeModifier.replace("placeholder",CODE
Over-Commented Block24 hits · 24 pts
SeverityFileLineSnippetContext
LOW…e/src/main/java/org/eclipse/jetty/server/Response.java1//COMMENT
LOW…nedev/server/jetty/DefaultSessionDataStoreFactory.java1//COMMENT
LOW…va/io/onedev/server/jetty/ClusterSessionDataStore.java1//COMMENT
LOW…edev/server/web/asset/codemirror/mode/elixir/elixir.js361 state.context = state.context.prevCOMMENT
LOW…edev/server/web/asset/codemirror/mode/erlang/erlang.js461 }COMMENT
LOW…/io/onedev/server/web/asset/codemirror/mode/sas/sas.js1// CodeMirror, copyright (c) by Marijn Haverbeke and othersCOMMENT
LOW…va/io/onedev/server/web/asset/codemirror/keymap/vim.js661 // motions and operators with '.'.COMMENT
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js361COMMENT
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js2661 // on a bidi boundary.COMMENT
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js5621 // returning the number and optionally registering the line asCOMMENT
LOW…o/onedev/server/web/asset/codemirror/lib/codemirror.js5861 if (cm) { signalLater(cm, "lineWidgetAdded", cm, widget, typeof handle == "number" ? handle : lineNo(handle)); }COMMENT
LOW…web/asset/codemirror/addon/search/match-highlighter.js1// CodeMirror, copyright (c) by Marijn Haverbeke and othersCOMMENT
LOW…/onedev/server/web/asset/codemirror/addon/tern/tern.js1// CodeMirror, copyright (c) by Marijn Haverbeke and othersCOMMENT
LOW…/onedev/server/web/asset/codemirror/addon/tern/tern.js21// multi-file view, switch the view or focus to the named file.COMMENT
LOW…edev/server/web/asset/bootstrap/js/bootstrap.bundle.js2821 // we use `translate3d` to apply the position to the popper weCOMMENT
LOW…ava/io/onedev/server/web/asset/snapsvg/snap.svg-min.js1// Snap.svg 0.5.1COMMENT
LOW…/java/io/onedev/server/web/asset/jsjoda/js-joda.min.js1//! @version js-joda - 1.11.0COMMENT
LOWserver-product/helm/values.yaml101# podSecurityContext -- Allows you to overwrite the defaultCOMMENT
LOWserver-product/helm/values.yaml121COMMENT
LOWserver-product/helm/values.yaml141 # exec:COMMENT
LOWserver-product/helm/values.yaml161# topologySpreadConstraints -- ConfigureCOMMENT
LOWserver-product/helm/values.yaml181 # service.nodePort -- Specify a nodePort for servcieCOMMENT
LOWserver-product/helm/values.yaml261 storageClassName: ""COMMENT
LOWserver-product/helm/values.yaml281# options:COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…n/java/io/onedev/server/buildspec/step/CacheEntry.java0optionally specify directories or files relative to data path to exclude. use '**', '*' or '?' for <a href='https://docsSTRING
HIGH…ev/server/model/support/workspace/spec/CacheEntry.java0optionally specify directories or files relative to data path to exclude. use '**', '*' or '?' for <a href='https://docsSTRING
HIGH…server/model/support/workspace/spec/UserDataEntry.java0optionally specify directories or files relative to data path to exclude. use '**', '*' or '?' for <a href='https://docsSTRING
Redundant / Tautological Comments1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ev/server/plugin/buildspec/rust/RustJobSuggestion.java105 "# Set CARGO_HOME to cache folder so that downloaded artifacts can be populated there. Note that we cannot cache '/CODE