Repository Analysis

gocd/gocd

GoCD - Continuous Delivery server main repository

2.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of gocd/gocd, a Java project with 7,416 GitHub stars. SynthScan v2.0 examined 662,687 lines of code across 5463 source files, recording 416 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 2.4 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.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
7.4K
Stars
Java
Language
662.7K
Lines of Code
5.5K
Files
416
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 114HIGH 1MEDIUM 5LOW 296

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 416 distinct pattern matches across 8 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 Indicators114 hits · 1228 pts
SeverityFileLineSnippetContext
CRITICAL…/com/thoughtworks/go/config/BasicCruiseConfigTest.java505 com.thoughtworks.go.plugin.domain.authorization.Capabilities capabilities = new com.thoughtworks.go.plugin.domaiCODE
CRITICAL…/com/thoughtworks/go/config/BasicCruiseConfigTest.java521 com.thoughtworks.go.plugin.domain.elastic.Capabilities capabilities = new com.thoughtworks.go.plugin.domain.elasCODE
CRITICAL…a/com/thoughtworks/go/config/PluginRoleConfigTest.java329 com.thoughtworks.go.plugin.domain.authorization.Capabilities capabilities = new com.thoughtworks.go.plugin.domaiCODE
CRITICAL…/domain/packagerepository/PackageRepositoriesTest.java122 com.thoughtworks.go.plugin.api.material.packagerepository.PackageConfiguration packageConfiguration = new com.thCODE
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java356 P4MaterialConfig p4MaterialConfig = com.thoughtworks.go.helper.MaterialConfigsMother.p4MaterialConfig();STRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java373 SvnMaterialConfig material = com.thoughtworks.go.helper.MaterialConfigsMother.svnMaterialConfig("http://user:pasCODE
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java380 HgMaterialConfig material = com.thoughtworks.go.helper.MaterialConfigsMother.hgMaterialConfig();CODE
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java583 StageConfig stageConfig = com.thoughtworks.go.helper.StageConfigMother.custom("newStage", new AuthConfig());STRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java703 downest.add(com.thoughtworks.go.helper.StageConfigMother.stageConfig("stage-2", new JobConfigs(new JobConfig(cisSTRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java814 cruiseConfig.addPipeline("default", com.thoughtworks.go.helper.PipelineConfigMother.pipelineConfig("test", new MSTRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java828 PackageRepository repository = com.thoughtworks.go.domain.packagerepository.PackageRepositoryMother.create("repoSTRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java830 com.thoughtworks.go.domain.packagerepository.PackageDefinitionMother.create("does-not-exist", "package-name"STRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java834 cruiseConfig.addPipeline("default", com.thoughtworks.go.helper.PipelineConfigMother.pipelineConfig("test", new MSTRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java963 PipelineTemplateConfig template = com.thoughtworks.go.helper.PipelineTemplateConfigMother.createTemplate("templaSTRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java990 PipelineTemplateConfig template = com.thoughtworks.go.helper.PipelineTemplateConfigMother.createTemplate("templaSTRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlWriterTest.java1002 PipelineTemplateConfig template = com.thoughtworks.go.helper.PipelineTemplateConfigMother.createTemplate("templaSTRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlLoaderTest.java3006 com.thoughtworks.go.plugin.api.material.packagerepository.PackageConfiguration packageConfiguration = new com.thSTRING
CRITICAL…oughtworks/go/config/MagicalGoConfigXmlLoaderTest.java3392 PluggableTaskConfigStore.store().setPreferenceFor("plugin-id-1", new TaskPreference(new com.thoughtworks.go.plugSTRING
CRITICAL…thoughtworks/go/config/GoFileConfigDataSourceTest.java113 com.thoughtworks.go.server.newsecurity.SessionUtilsHelper.loginAs("loser_boozer");CODE
CRITICAL…thoughtworks/go/config/GoFileConfigDataSourceTest.java131 com.thoughtworks.go.server.newsecurity.SessionUtilsHelper.loginAs("loser_boozer");CODE
CRITICAL…thoughtworks/go/config/GoFileConfigDataSourceTest.java148 com.thoughtworks.go.server.newsecurity.SessionUtilsHelper.loginAs("loser_boozer");CODE
CRITICAL…oughtworks/go/config/update/RoleConfigCommandTest.java238 com.thoughtworks.go.plugin.domain.authorization.Capabilities capabilities = new com.thoughtworks.go.plugin.domaiCODE
CRITICAL…test/java/com/thoughtworks/go/server/GoServerTest.java96 AppServer appServer = com.thoughtworks.go.util.ReflectionUtil.getField(goServer, "server");CODE
CRITICAL…newsecurity/filters/AgentAuthenticationFilterTest.java140 com.thoughtworks.go.server.newsecurity.SessionUtilsHelper.loginAsRandomUser(originalRequest);CODE
CRITICAL…ity/filters/AbstractBasicAuthenticationFilterTest.java202 com.thoughtworks.go.server.newsecurity.SessionUtilsHelper.loginAs(request, BOB, PASSWORD);CODE
CRITICAL…urity/filters/AccessTokenAuthenticationFilterTest.java235 com.thoughtworks.go.server.newsecurity.SessionUtilsHelper.loginAs(request, BOB);CODE
CRITICAL…/AccessTokenBasedPluginAuthenticationProviderTest.java82 AuthenticationResponse responseToSend = new AuthenticationResponse(new com.thoughtworks.go.plugin.domain.authoriCODE
CRITICAL…/AccessTokenBasedPluginAuthenticationProviderTest.java98 AuthenticationResponse responseToSend = new AuthenticationResponse(new com.thoughtworks.go.plugin.domain.authoriCODE
CRITICAL…s/go/server/service/SecurityAuthConfigServiceTest.java108 new com.thoughtworks.go.plugin.domain.common.ValidationResult()));CODE
CRITICAL…erver/service/materials/PackageMaterialPollerTest.java72 poller = new com.thoughtworks.go.server.service.materials.PackageMaterialPoller(packageRepositoryExtension);CODE
CRITICAL…/service/materials/PluggableSCMMaterialPollerTest.java139 com.thoughtworks.go.domain.materials.ModifiedFile f1 = new com.thoughtworks.go.domain.materials.ModifiedFile("f1CODE
CRITICAL…/service/materials/PluggableSCMMaterialPollerTest.java140 com.thoughtworks.go.domain.materials.ModifiedFile f2 = new com.thoughtworks.go.domain.materials.ModifiedFile("f2CODE
CRITICAL…/service/materials/PluggableSCMMaterialPollerTest.java141 com.thoughtworks.go.domain.materials.ModifiedFile f3 = new com.thoughtworks.go.domain.materials.ModifiedFile("f3CODE
CRITICAL…/java/com/thoughtworks/go/util/GoConfigFileHelper.java593 new MagicalGoConfigXmlWriter(com.thoughtworks.go.util.ConfigElementImplementationRegistryMother.withNoPlugins())CODE
CRITICALserver/src/main/resources/spring-all-servlet.xml62 pointcut="execution(* org.springframework.web.servlet.HandlerMapping.getHandler(..))"CODE
CRITICALserver/src/main/webapp/WEB-INF/rails/karma.conf.js50 files: manifest.entrypoints.specRoot.assets.js.map((eachAsset) => {CODE
CRITICAL…app/WEB-INF/rails/app/models/value_stream_map_model.rb144 @modified_time = com.thoughtworks.go.server.presentation.models.TimeConverter.toHumanReadableFuzzyDuration(modificatCODE
CRITICAL…app/WEB-INF/rails/app/controllers/stages_controller.rb77 schedule_date: com.thoughtworks.go.api.base.JsonOutputWriter.jsonDate(stage_summary.getStage().scheduledDateCODE
CRITICAL…F/rails/app/controllers/value_stream_map_controller.rb48 vsm = value_stream_map_service.getValueStreamMap(com.thoughtworks.go.config.CaseInsensitiveString.new(params[:pipeliCODE
CRITICAL…F/rails/app/assets/javascripts/lib/jquery-ui-1.14.2.js6!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){"use strict"CODE
CRITICAL…B-INF/rails/app/assets/javascripts/lib/jquery-3.7.1.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICAL…webapp/WEB-INF/rails/app/helpers/application_helper.rb68 return com.thoughtworks.go.presentation.FlashMessageModel.new(Array(val).join(". ").to_s, key.to_s)CODE
CRITICAL…ver/src/main/webapp/WEB-INF/rails/spec/rspec_config.rb31 com.thoughtworks.go.server.web.FlashMessageService.useFlash(com.thoughtworks.go.server.web.FlashMessageService::FlasCODE
CRITICAL…B-INF/rails/spec/models/value_stream_map_model_spec.rb119 vsm.addUpstreamMaterialNode(SCMDependencyNode.new("git", "git", "Git"), com.thoughtworks.go.config.CaseInsensitiveStCODE
CRITICAL…B-INF/rails/spec/models/value_stream_map_model_spec.rb220 vsm.addUpstreamMaterialNode(SCMDependencyNode.new("git", "git", "Git"), com.thoughtworks.go.config.CaseInsensitiveStCODE
CRITICAL…B-INF/rails/spec/models/value_stream_map_model_spec.rb332 modification = com.thoughtworks.go.domain.materials.Modification.new("user", "comment", "", java.util.Date.new(), "rCODE
CRITICAL…B-INF/rails/spec/models/value_stream_map_model_spec.rb333 return com.thoughtworks.go.domain.materials.Modifications.new([modification].to_java(com.thoughtworks.go.domain.mateCODE
CRITICAL…app/WEB-INF/rails/spec/support/misc_spec_extensions.rb19 @user ||= com.thoughtworks.go.server.domain.Username.new(CaseInsensitiveString.new("some-user"), "display name")CODE
CRITICAL…s/spec/controllers/value_stream_map_controller_spec.rb97 modification = com.thoughtworks.go.domain.materials.Modification.new("user", "comment", "", java.util.Date.new()CODE
CRITICAL…s/spec/controllers/value_stream_map_controller_spec.rb98 modifications = com.thoughtworks.go.domain.materials.Modifications.new([modification].to_java(com.thoughtworks.gCODE
CRITICAL…s/spec/controllers/value_stream_map_controller_spec.rb280 vsm = ValueStreamMap.new(material, nil, com.thoughtworks.go.domain.materials.Modification.new("user", "comment",CODE
CRITICAL…s/spec/controllers/value_stream_map_controller_spec.rb307 material_config = com.thoughtworks.go.helper.MaterialConfigsMother.git('http://some.repo')CODE
CRITICAL…controllers/admin/pipelines_snippet_controller_spec.rb170 validity = com.thoughtworks.go.config.validation.GoConfigValidity.valid()CODE
CRITICAL…controllers/admin/pipelines_snippet_controller_spec.rb186 validity = com.thoughtworks.go.config.validation.GoConfigValidity.mergeConflict('error message')CODE
CRITICAL…controllers/admin/pipelines_snippet_controller_spec.rb211 validity = com.thoughtworks.go.config.validation.GoConfigValidity.mergePreValidationError(nil)CODE
CRITICAL…rails/spec/controllers/admin/stages_controller_spec.rb22 allow(@go_config_service).to receive(:checkConfigFileValid).and_return(com.thoughtworks.go.config.validation.GoConfiCODE
CRITICAL…/WEB-INF/rails/spec/helpers/application_helper_spec.rb223 supported << com.thoughtworks.go.plugin.domain.analytics.SupportedAnalytics.new("vsm", "id1", "title1") if suppoCODE
CRITICAL…/WEB-INF/rails/spec/helpers/application_helper_spec.rb224 supported << com.thoughtworks.go.plugin.domain.analytics.SupportedAnalytics.new("vsm", "id2", "title2") if suppoCODE
CRITICAL…/WEB-INF/rails/spec/helpers/application_helper_spec.rb225 com.thoughtworks.go.plugin.domain.analytics.Capabilities.new(supported)CODE
CRITICAL…ges/package_repositories/package_repository_widget.tsx59 const linked = vnode.attrs.scrollOptions.package_repo_sm.sm.getTarget() === vnode.attrs.packageRepository.name();CODE
54 more matches not shown…
Over-Commented Block140 hits · 140 pts
SeverityFileLineSnippetContext
LOWdocker/trivy-scan.sh1#!/usr/bin/env bashCOMMENT
LOW…houghtworks/go/config/materials/git/RefSpecHelper.java101 }COMMENT
LOW…in/java/com/thoughtworks/go/config/GoConfigCloner.java21// Cloner to handle nullification of specific classes in config objects.COMMENT
LOW…/thoughtworks/go/domain/PipelineTimelineEntryTest.java161 // this was not universally true in history in some cases where the pipeline name differs only by its case.COMMENT
LOWserver/src/main/webapp/WEB-INF/init.rb1#COMMENT
LOW…app/WEB-INF/rails/app/models/value_stream_map_model.rb1#COMMENT
LOW…/src/main/webapp/WEB-INF/rails/app/models/go_config.rb1#COMMENT
LOW…EB-INF/rails/app/controllers/application_controller.rb1#COMMENT
LOW…app/WEB-INF/rails/app/controllers/stages_controller.rb1#COMMENT
LOW…bapp/WEB-INF/rails/app/controllers/admin_controller.rb1#COMMENT
LOW…F/rails/app/controllers/value_stream_map_controller.rb1#COMMENT
LOW…B-INF/rails/app/controllers/admin/stages_controller.rb1#COMMENT
LOW…ails/app/controllers/admin/configuration_controller.rb1#COMMENT
LOW…/app/controllers/admin/pipelines_snippet_controller.rb1#COMMENT
LOW…ain/webapp/WEB-INF/rails/app/assets/config/manifest.js21COMMENT
LOW…EB-INF/rails/app/assets/new_stylesheets/_settings.scss21// -----------------------------COMMENT
LOW…EB-INF/rails/app/assets/new_stylesheets/_settings.scss41// 17. DropdownCOMMENT
LOW…EB-INF/rails/app/assets/new_stylesheets/_settings.scss61// 37. Prototype PositionCOMMENT
LOW…EB-INF/rails/app/assets/new_stylesheets/_settings.scss921// stylelint-enableCOMMENT
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js41 // environments (Edge, IE11, Windows Phone) and possibly other environments.COMMENT
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js1561 // finding a token with a value, a token identified as 'stopTrim', orCOMMENT
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js1581 // stopTrimCOMMENT
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js1601COMMENT
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js1621COMMENT
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js1641 // renders a plural label for a value with decimal precision.COMMENT
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js1661COMMENT
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js1681 // test and force the use of the `formatNumber` fallback functionCOMMENT
LOW…-INF/rails/app/assets/javascripts/lib/moment-2.30.1.js1//! moment.jsCOMMENT
LOW…n/webapp/WEB-INF/rails/app/helpers/pipelines_helper.rb1#COMMENT
LOW…n/webapp/WEB-INF/rails/app/helpers/materials_helper.rb1#COMMENT
LOW…app/WEB-INF/rails/app/helpers/flash_messages_helper.rb1#COMMENT
LOW…main/webapp/WEB-INF/rails/app/helpers/stages_helper.rb1#COMMENT
LOW…webapp/WEB-INF/rails/app/helpers/application_helper.rb1#COMMENT
LOW…EB-INF/rails/app/helpers/admin/authorization_helper.rb1#COMMENT
LOWserver/src/main/webapp/WEB-INF/rails/config/routes.rb1#COMMENT
LOW…er/src/main/webapp/WEB-INF/rails/config/environment.rb1#COMMENT
LOW…er/src/main/webapp/WEB-INF/rails/config/application.rb1#COMMENT
LOW…er/src/main/webapp/WEB-INF/rails/config/application.rb41 # Please, add to the `ignore` list any other `lib` subdirectories that doCOMMENT
LOWserver/src/main/webapp/WEB-INF/rails/config/boot.rb1#COMMENT
LOW…er/src/main/webapp/WEB-INF/rails/config/locales/en.yml1# Files in the config/locales directory are used for internationalizationCOMMENT
LOW…er/src/main/webapp/WEB-INF/rails/config/locales/en.yml21#COMMENT
LOW…webapp/WEB-INF/rails/config/environments/production.rb1#COMMENT
LOW…webapp/WEB-INF/rails/config/environments/production.rb41 # Disable serving static files from `public/`, relying on NGINX/Apache to do so instead.COMMENT
LOW…webapp/WEB-INF/rails/config/environments/production.rb61 # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.COMMENT
LOW…webapp/WEB-INF/rails/config/environments/production.rb81 # config.cache_store = :mem_cache_storeCOMMENT
LOW…ebapp/WEB-INF/rails/config/environments/development.rb1#COMMENT
LOW…/main/webapp/WEB-INF/rails/config/environments/test.rb1#COMMENT
LOW…config/initializers/application_controller_renderer.rb1#COMMENT
LOW…config/initializers/application_controller_renderer.rb21# http_host: 'example.org',COMMENT
LOW…B-INF/rails/config/initializers/backtrace_silencers.rb1#COMMENT
LOW…webapp/WEB-INF/rails/config/initializers/mime_types.rb1#COMMENT
LOW…/rails/config/initializers/filter_parameter_logging.rb1#COMMENT
LOW…app/WEB-INF/rails/config/initializers/session_store.rb1#COMMENT
LOW…p/WEB-INF/rails/config/initializers/wrap_parameters.rb1#COMMENT
LOW…ain/webapp/WEB-INF/rails/config/initializers/assets.rb1#COMMENT
LOW…EB-INF/rails/config/initializers/cookies_serializer.rb1#COMMENT
LOW…EB-INF/rails/config/initializers/permissions_policy.rb1#COMMENT
LOW…EB-INF/rails/config/initializers/permissions_policy.rb21COMMENT
LOW…F/rails/config/initializers/content_security_policy.rb1#COMMENT
LOW…F/rails/config/initializers/content_security_policy.rb21# https://guides.rubyonrails.org/security.html#content-security-policy-headerCOMMENT
80 more matches not shown…
Hyper-Verbose Identifiers92 hits · 98 pts
SeverityFileLineSnippetContext
LOW…EB-INF/rails/app/controllers/application_controller.rb87 def render_localized_operation_result(result)CODE
LOW…app/assets/javascripts/vsm_analytics_pipeline_panel.js20 var VSMAnalyticsPipelinePanel = function VSMAnalyticsPipelinePanel(cont) {CODE
LOW…NF/rails/app/assets/javascripts/console_log_tailing.js32 function maybeHideGlobalBackToTopButton() {CODE
LOW…INF/rails/app/assets/javascripts/console_log_socket.js78 function retryConnectionOrFallbackToPollingOnError(e) {CODE
LOW…rails/app/assets/javascripts/log_output_transformer.js172 function appendNewLineIfDoesNotExists(line) {CODE
LOW…rails/app/assets/javascripts/log_output_transformer.js180 function inlineMultilineExecutableTask(logLines) {CODE
LOW…p/WEB-INF/rails/app/assets/javascripts/vsm_renderer.js107 function hideMultiplePipelineInstances() {CODE
LOW…rails/app/assets/javascripts/build_summary_observer.js34 displayAnyErrorMessages: function displayErrorMessagesOnBuildDetails(json) {CODE
LOW…-INF/rails/app/assets/javascripts/build_detail_page.js20 this.transform = function processTransformOnAllTransformers(logLines) {CODE
LOW…-INF/rails/app/assets/javascripts/build_detail_page.js26 this.invoke = function processInvokeOnAllTransformers(callback, args) {CODE
LOW…/app/assets/javascripts/stage_detail_ajax_refresher.js20 function registerCheckboxStatesToRememberUnder(elementOrSelector) {CODE
LOW…pp/assets/javascripts/dashboard_periodical_executor.js16function DashboardPeriodicalExecutor(url, pause_condition) {CODE
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js661 function toLocaleStringSupportsLocales() {CODE
LOW…assets/javascripts/lib/moment-duration-format-2.3.2.js671 function featureTestFormatterRounding(formatter) {CODE
LOW…rails/app/assets/javascripts/lib/jquery-pinOnScroll.js71 function maybeCallUsingRequestAnimationFrame(func, arguments) {CODE
LOW…n/webapp/WEB-INF/rails/app/helpers/pipelines_helper.rb31 def trigger_message_with_formatted_date_time(date_time, who)CODE
LOW…n/webapp/WEB-INF/rails/app/helpers/pipelines_helper.rb44 def url_for_pipeline_value_stream_map(pipeline, options = {})CODE
LOW…n/webapp/WEB-INF/rails/app/helpers/materials_helper.rb29 def render_comment_markup_for(comment, material_type, pipeline_name)CODE
LOW…n/webapp/WEB-INF/rails/app/helpers/materials_helper.rb41 def render_comment_for_package_material(comment)CODE
LOW…n/webapp/WEB-INF/rails/app/helpers/materials_helper.rb48 def render_tracking_tool_link_for_comment(comment, pipeline_name)CODE
LOW…main/webapp/WEB-INF/rails/app/helpers/stages_helper.rb30 def stage_detail_path_for_identifier(identifier, options = {})CODE
LOW…webapp/WEB-INF/rails/app/helpers/application_helper.rb147 def link_blocking_post_to_server(options = {})CODE
LOW…webapp/WEB-INF/rails/app/helpers/application_helper.rb155 def javascript_post_to_server(options)CODE
LOW…s/spec/webpack/views/dashboard/pipeline_widget_spec.js992 function stubTriggerOptionsWithInvalidData(pipelineName) {CODE
LOW…/spec/javascripts/console_log_foldable_section_spec.js31 function detectPrefixesWhichArePartOfSection(section) {CODE
LOW…ils/spec/javascripts/value_stream_map_renderer_spec.js536 function pipelineNodeWithRestriction(type, nodeName, parents, dependents, depth, view_type, message) {CODE
LOW…ebpack/rails-shared/plugin-endpoint-request-handler.js38 defineFetchAnalyticsHandler: function defineFetchAnalyticsHandler(models) {CODE
LOW…webpack/models/environment_variables/spec/test_data.ts31function environmentVariableWithOriginInXmlJson(secure: boolean = false) {CODE
LOW…webpack/models/environment_variables/spec/test_data.ts41function environmentVariableWithOriginConfigRepoJson(secure: boolean = false) {CODE
LOW…bpack/models/materials/spec/pluggable_scm_crud_spec.ts191 function scmCheckConnectionResponse() {CODE
LOW…WEB-INF/rails/webpack/models/mixins/errors_consumer.ts140function consumeForPipelineConfigSPA(response: any, model: any, path: string, allErrors: Errors): void {CODE
LOW…WEB-INF/rails/webpack/models/mixins/errors_consumer.ts158function addErrorsToModelForPipelineConfigSPA(errors: ErrorMap, model: any, path: string, allErrors: Errors): void {CODE
LOW…WEB-INF/rails/webpack/models/mixins/errors_consumer.ts204function addToUnmatchIfNotPluginProperty(container: any, unmatched: Errors, path: string, key: string, msg: string) {CODE
LOW…models/secret_configs/spec/secret_configs_crud_spec.ts156function secretConfigsWithAutocompleteSuggestionsResponse() {CODE
LOW…models/secret_configs/spec/secret_configs_crud_spec.ts186function deleteSecretConfigResponse(id: string) {CODE
LOW…webpack/models/shared/analytics_interaction_manager.js91function AnalyticsInteractionManager() {CODE
LOW…F/rails/webpack/models/shared/spec/permissions_spec.ts109 function elasticAgentProfilePermission(): PermissionJSON {CODE
LOW…app/WEB-INF/rails/webpack/models/config_repos/types.ts246export function humanizedMaterialNameForMaterialType(materialType: string) {CODE
LOW…app/WEB-INF/rails/webpack/models/config_repos/types.ts250export function humanizedMaterialAttributeName(key: string) {CODE
LOW…rails/webpack/models/config_repos/config_repos_crud.ts23export function configRepoToSnakeCaseJSON(o: ConfigRepo) {CODE
LOW…ails/webpack/models/new-environments/spec/test_data.ts28function pipelineAssociationInXmlJson(): PipelineJSON {CODE
LOW…ails/webpack/models/new-environments/spec/test_data.ts38function pipelineAssociationInConfigRepoJson(): PipelineJSON {CODE
LOW…ails/webpack/models/new-environments/spec/test_data.ts48function agentAssociationInXmlJson() {CODE
LOW…ails/webpack/models/new-environments/spec/test_data.ts56function agentAssociationInConfigRepoJson() {CODE
LOW…ails/webpack/models/new-environments/spec/test_data.ts64function environmentVariableAssociationInXmlJson(secure: boolean = false) {CODE
LOW…ails/webpack/models/new-environments/spec/test_data.ts74function environmentVariableAssociationInConfigRepoJson(secure: boolean = false) {CODE
LOW…p/WEB-INF/rails/webpack/models/users/role_selection.ts46export function computeBulkUpdateRolesJSON(rolesSelection: Map<GoCDRole, TriStateCheckbox>, users: Users) {CODE
LOW…ack/models/compare/spec/pipeline_instance_crud_spec.ts124function pipelineInstancesResponse() {CODE
LOW…dels/artifact_stores/spec/artifact_stores_crud_spec.ts99function listArtifactStoreResponse() {CODE
LOW…dels/artifact_stores/spec/artifact_stores_crud_spec.ts110function deleteArtifactStoreResponse() {CODE
LOW…bpack/models/authorization/specs/authorization_spec.ts354function arePermissionForEntitiesEqual(entity: PermissionForEntity, otherEntity: PermissionForEntity) {CODE
LOW…/webpack/models/backups/spec/server_backup_api_spec.ts165 function getCompletedServerBackupResponse() {CODE
LOW…/webpack/models/backups/spec/server_backup_api_spec.ts169 function getErrorServerBackupResponse() {CODE
LOW…/webpack/models/backups/spec/server_backup_api_spec.ts173 function getInProgressServerBackupResponse() {CODE
LOW…min_access_tokens/spec/admin_access_token_crud_spec.ts78function revokedAccessTokenResponse() {CODE
LOW…/webpack/models/package_repositories/spec/test_data.ts69export function pluginInfoWithPackageRepositoryExtension(): PluginInfoJSON {CODE
LOW…ge_repositories/spec/package_repositories_crud_spec.ts144 function packageRepositoriesResponse() {CODE
LOW…ge_repositories/spec/package_repositories_crud_spec.ts159 function packageRepositoryResponse() {CODE
LOW…ge_repositories/spec/package_repositories_crud_spec.ts170 function deletePackageRepoResponse() {CODE
LOW…k/models/pipeline_configs/spec/pipeline_config_spec.ts266function stubPipelineCreateSuccess(config: PipelineConfig) {CODE
32 more matches not shown…
Fake / Example Data63 hits · 72 pts
SeverityFileLineSnippetContext
LOW…tworks/go/domain/config/ConfigurationPropertyTest.java360 property.getSecretParams().getFirst().setValue("some-dummy-value");CODE
LOW…tworks/go/domain/config/ConfigurationPropertyTest.java362 assertThat(property.getResolvedValue()).isEqualTo("some-dummy-value");CODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java98 AuthenticationResponse response = new AuthenticationResponse(new User(USERNAME, "display-name", "test@test.cCODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java126 .thenReturn(new AuthenticationResponse(new User(USERNAME, "display-name", "test@test.com"), Collections.CODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java211 final UsernamePassword credentials = new UsernamePassword("foo@bar.com", PASSWORD);CODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java215 when(authorizationExtension.authenticateUser(PLUGIN_ID_1, "foo@bar.com", PASSWORD, securityConfig.securityAuCODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java233 AuthenticationResponse response = new AuthenticationResponse(new User(USERNAME, "display-name", "test@test.cCODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java257 AuthenticationResponse response = new AuthenticationResponse(new User(USERNAME, "display-name", "test@test.cCODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java286 when(authorizationExtension.authenticateUser(PLUGIN_ID_2, USERNAME, PASSWORD, List.of(ldapAuthConfig), ColleCODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java301 AuthenticationResponse response = new AuthenticationResponse(new User(USERNAME, "display-name", "test@test.cCODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java328 final UsernamePassword credentials = new UsernamePassword("foo@bar.com", PASSWORD);CODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java331 when(authorizationExtension.authenticateUser(PLUGIN_ID_1, "foo@bar.com", PASSWORD, securityConfig.securityAuCODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java345 assertThat(newAuthenticationToken.getCredentials().getUsername()).isEqualTo("foo@bar.com");CODE
LOW…ers/PasswordBasedPluginAuthenticationProviderTest.java360 AuthenticationResponse response = new AuthenticationResponse(new User(USERNAME, "display-name", "test@test.cCODE
LOW…works/go/server/service/MaterialConfigServiceTest.java183 Map<MaterialConfig, Boolean> materialConfigs = materialConfigService.getMaterialConfigsToOperatePermissions(CODE
LOW…/service/materials/PluggableSCMMaterialPollerTest.java229 k2.getSecretParams().getFirst().setValue("some-dummy-value");CODE
LOW…/service/materials/PluggableSCMMaterialPollerTest.java248 assertConfiguration(scmConfiguration.getValue(), "k2", "some-dummy-value");CODE
LOW…/service/materials/PluggableSCMMaterialPollerTest.java255 k2.getSecretParams().getFirst().setValue("some-dummy-value");CODE
LOW…/service/materials/PluggableSCMMaterialPollerTest.java279 assertConfiguration(scmConfiguration.getValue(), "k2", "some-dummy-value");CODE
LOW…/service/materials/PluggableSCMMaterialPollerTest.java286 k2.getSecretParams().getFirst().setValue("some-dummy-value");CODE
LOW…/service/materials/PluggableSCMMaterialPollerTest.java309 assertConfiguration(scmConfiguration.getValue(), "k2", "some-dummy-value");CODE
LOW…-INF/rails/app/assets/javascripts/lib/lodash-4.18.1.js62i.delete(t),p}function gi(n){return Ls(Vi(n,X,_o),n+"")}function yi(n){return de(n,Pc,Os)}function di(n){return de(n,qc,CODE
LOW…app/assets/javascripts/lib/trimpath-template-1.0.38.js318 // Example: exprs == 'firstName|default:"John Doe"|capitalize'.split('|')COMMENT
LOW…app/assets/javascripts/lib/trimpath-template-1.0.38.js347 var expr = exprArr[index]; // Ex: exprArr == [firstName,capitalize,default:"John Doe"]CODE
LOW…app/assets/javascripts/lib/trimpath-template-1.0.38.js348 if (index <= 0) { // Ex: expr == 'default:"John Doe"'CODE
LOW…pp/WEB-INF/rails/webpack/models/users/spec/fixtures.ts64 email: "admin@example.com",CODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx91const reallyLongText = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been CODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx225 content={"Lorem Ipsum is simply dummy text of the printing and typesetting inCODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx226 "Lorem Ipsum has been the industry's standard dummy text ever since the 1500sCODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx229 content={"Contrary to popular belief, Lorem Ipsum is not simply random text. ICODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx229 content={"Contrary to popular belief, Lorem Ipsum is not simply random text. ICODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx231 "The standard chunk of Lorem Ipsum used since the 1500s is reproduced below foCODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx463 helpText="Lorem ipsum is the dummy text used by the print and typesetting industry"CODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx464 label="Lorem ipsum"CODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx480 helpText={"Lorem ipsum dolor sit amet, consectetur adipiscing."}/>,CODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx480 helpText={"Lorem ipsum dolor sit amet, consectetur adipiscing."}/>,CODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx485 helpText={"Lorem ipsum dolor sit amet, consectetur adipiscing."}/>,CODE
LOW…app/WEB-INF/rails/webpack/views/pages/kitchen_sink.tsx485 helpText={"Lorem ipsum dolor sit amet, consectetur adipiscing."}/>,CODE
LOW…es/new-environments/spec/edit_pipelines_modal_spec.tsx165 expect(searchInput.getAttribute("placeholder")).toBe("pipeline name");CODE
LOW…pages/new-environments/spec/edit_agents_modal_spec.tsx162 expect(searchInput.getAttribute("placeholder")).toBe("agent hostname");CODE
LOW…ews/pages/compare/spec/select_instance_widget_spec.tsx49 expect(helper.byTestId("form-field-input-")).toHaveAttr("placeholder", placeHolder);CODE
LOW…erver/transaction/TransactionCacheInterceptorTest.java116 final Modification mod = new Modification("loser", "loser commiting a winner stroke", "foo@bar.com", new Date(),CODE
LOW…erver/transaction/TransactionCacheInterceptorTest.java134 final Modification mod = new Modification("loser", "loser commiting a winner stroke", "foo@bar.com", new Date(),CODE
LOW…ks/go/server/dao/PipelineSqlMapDaoIntegrationTest.java241 modifications.add(new Modification(MOD_USER, MOD_COMMENT, "foo@bar.com", YESTERDAY_CHECKIN, ModificationsMother.CODE
LOW…rks/go/server/service/PipelineScheduleServiceTest.java474 Modification modification1 = new Modification("lgao", "Fixing the not checked in files", "foo@bar.com", yesterdaCODE
LOW…rks/go/server/service/PipelineScheduleServiceTest.java478 Modification modification2 = new Modification("committer", "Added the README file", "foo@bar.com", today, "100")CODE
LOW…rks/go/server/service/PipelineScheduleServiceTest.java482 Modification modification3 = new Modification("committer <html />", "Added the README file with <html />", "foo@CODE
LOW…ava/com/thoughtworks/go/remote/work/BuildWorkTest.java119 <value>dummy-value</value>CODE
LOW…ava/com/thoughtworks/go/remote/work/BuildWorkTest.java694 assertThat(consoleOut).contains(String.format("[go] overriding environment variable '%s' with value 'dummy-valueCODE
LOW…thoughtworks/go/domain/materials/ModificationTest.java61 Modification modification = new Modification("user", "comment", "foo@bar.com", date, "15");CODE
LOW…thoughtworks/go/domain/materials/ModificationTest.java62 Modification anotherModificationWithoutLabel = new Modification("user", "comment", "foo@bar.com", date, "15");CODE
LOW…thoughtworks/go/domain/materials/ModificationTest.java63 Modification modificationWithLabel = new Modification("user", "comment", "foo@bar.com", date, "15");CODE
LOW…thoughtworks/go/domain/materials/ModificationTest.java75 Modification modification = new Modification("user", "comment", "foo@bar.com", new Date(), "pipe/1/stage/2", JsoCODE
LOW…thoughtworks/go/domain/materials/ModificationTest.java82 modification = new Modification("user", null, "foo@bar.com", new Date(), "pipe/1/stage/2", JsonHelper.toJsonExpoCODE
LOW…thoughtworks/go/domain/materials/ModificationTest.java91 Modification modification = new Modification("user", "comment", "foo@bar.com", new Date(), "pipe/1/stage/2");CODE
LOW…omain/materials/scm/PluggableSCMMaterialAgentTest.java98 pluggableSCMMaterial.getScmConfig().getConfiguration().getFirst().getSecretParams().getFirst().setValue("some-duCODE
LOW…omain/materials/scm/PluggableSCMMaterialAgentTest.java115 assertThat(scmConfiguration.getValue().get("k1").getValue()).isEqualTo("some-dummy-value");CODE
LOW…in/builder/pluggableTask/PluggableTaskConsoleTest.java84 Lorem ipsum dolor sit amet, consectetur adipisicing elit,\sCODE
LOW…in/builder/pluggableTask/PluggableTaskConsoleTest.java84 Lorem ipsum dolor sit amet, consectetur adipisicing elit,\sCODE
LOW…in/builder/pluggableTask/PluggableTaskConsoleTest.java100 Lorem ipsum dolor sit amet, consectetur adipisicing elit,\sCODE
3 more matches not shown…
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…p/WEB-INF/rails/config/initializers/wrap_parameters.rb19# This file contains settings for ActionController::ParamsWrapper whichCOMMENT
MEDIUM…EB-INF/rails/config/initializers/permissions_policy.rb19# Define an application-wide HTTP permissions policy. For furtherCOMMENT
MEDIUM…F/rails/config/initializers/content_security_policy.rb19# Define an application-wide content security policy.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…/com/thoughtworks/go/config/MergeCruiseConfigTest.java54 // we append one more, remote pipeline in the same group as requested local ones to make test use MergePCOMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…rver/src/main/webapp/WEB-INF/rails/spec/spec_helper.rb62# with RSpec, but feel free to customize to your heart's content.COMMENT
MEDIUM…EB-INF/rails/webpack/single_page_apps/new_dashboard.js58 * That said, it's worth noting that this *could* be equivalently implemented as a genuineCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…in/java/com/thoughtworks/go/config/CachedGoConfig.java76 //NOTE: This method is called on a thread from SpringCOMMENT