AI Slop Code RIsk Monitor

harness/harness

Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries.

4.8 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for harness/harness, a Go project with 38,513 GitHub stars. SynthScan examined 684,451 lines of code across 5880 source files, recording 3178 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 4.8 (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.

4.8
Adjusted Signal
4.8
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
38.5K
Stars
Go
Language
684.5K
Lines of Code
5.9K
Files
3.2K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 21.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 1.6/100 · LOW

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

PR Review Velocity Impact 21.1/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 0MEDIUM 37LOW 3141

Directory Score Breakdown

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

Pattern Findings

The scanner identified 3178 distinct pattern matches across 12 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.

Over-Commented Block2880 hits · 2880 pts
SeverityFileLineSnippetContext
LOWcmd/gitness/wire.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcmd/gitness/driver_sqlite.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcmd/gitness/driver_pq.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcmd/gitness/main.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/infra_provider_factory.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/docker_client_factory.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/docker_client_factory_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/wire.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/infra_provider.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/docker_provider.go1// Copyright 2023 Harness, Inc.COMMENT
LOWinfraprovider/docker_config.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcrypto/crypto.go1// Copyright 2023 Harness, Inc.COMMENT
LOWcrypto/crypto_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/webhook.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/gitspace_settings.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/usergroup.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq_suggestion.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/config.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/config.go61 // have to satisfy at least one of the following two conditions:COMMENT
LOWtypes/config.go81COMMENT
LOWtypes/config.go161 // CI defines configuration related to build executions.COMMENT
LOWtypes/check.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/PackageTag.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/ai_agent_auth.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/execution.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/token.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq_activity_metadata.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/git.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/image_data.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/multireader_closer.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/service.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/githook.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/user.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/codeowners.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/principal.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/platform_connector.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/path_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/rebase.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/types_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/stream.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/gitspace_error.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/lfs.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/resolved_feature.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/resolved_feature.go41COMMENT
LOWtypes/branch.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq_test.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/linked_pullreq.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/repo_activity_payload.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/commit.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/fork.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/repo_activity.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/github_connector_data.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/code_comment.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/infrastructure.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/jetbrains.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/autolink.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/service_account.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/pullreq_reviewer_suggestion.go1// Copyright 2023 Harness, Inc.COMMENT
LOWtypes/gitspace_event.go1// Copyright 2023 Harness, Inc.COMMENT
2820 more matches not shown…
Hyper-Verbose Identifiers189 hits · 190 pts
SeverityFileLineSnippetContext
LOWweb/cypress/utils/getRequestBodies.ts19export function getRandomCreateRegistryBody(name: string, packageType: PACKAGE_TYPE, type: REGISTRY_TYPE) {CODE
LOW…nfra/MachineLocationContent/MachineLocationContent.tsx112 function CustomPersistentDiskColumn(row: Unknown) {CODE
LOWweb/src/utils/Utils.ts686export function removeSpecificTextOptimized(CODE
LOWweb/src/utils/Utils.ts1056export function combineAndNormalizePrincipalsAndGroups(CODE
LOWweb/src/utils/FileUtils.ts50export function useFileContentViewerDecision({CODE
LOWweb/src/utils/timePopoverLocal/TimePopoverWithLocal.tsx40export function DateTimeWithLocalContentInline({ time }: { time: number }): JSX.Element {CODE
LOW…ponents/CommitModalButton/useCommitSuggestionModal.tsx52export function useCommitSuggestionsModal({CODE
LOW…ponents/CommitModalButton/useCommitSuggestionModal.tsx141export function useCommitPullReqSuggestions() {CODE
LOW…arkdownEditorWithPreview/MarkdownEditorWithPreview.tsx151export function MarkdownEditorWithPreview({CODE
LOW…arkdownEditorWithPreview/MarkdownEditorWithPreview.tsx762function scrollToAndSetCursorToEnd(CODE
LOWweb/src/components/SourceCodeEditor/EditorUtils.ts56export function generateDefaultStepInsertionPath(stageIndex = 0): string {CODE
LOWweb/src/components/Changes/CommitRange.tsx69 function updatePageWhenCommitRangeIsChanged() {CODE
LOWweb/src/components/Changes/CommitRange.tsx91 function updateCommitRangeForCaller() {CODE
LOWweb/src/components/Changes/Changes.tsx166 function updateInternalRefsOnReadOnlyMode() {CODE
LOWweb/src/components/Changes/Changes.tsx227 function updateCacheWhenDiffDataArrives() {CODE
LOWweb/src/components/Changes/Changes.tsx332 function updatePageWhenCommitRangeIsChanged() {CODE
LOWweb/src/components/Changes/Changes.tsx433 function jumpToSelectedPathFromURL() {CODE
LOWweb/src/components/CommentBox/CommentBox.tsx465 function renderToggleCommentsButton() {CODE
LOWweb/src/components/CommitsView/CommitsView.tsx287function renderPullRequestLinkFromCommitMessage(CODE
LOWweb/src/components/CommitInfo/CommitInfo.tsx55 function renderPullRequestLinkFromCommitMessage(CODE
LOWweb/src/components/DiffViewer/DiffViewer.tsx255 function alwaysExpandDiffIfChangedSinceLastView() {CODE
LOWweb/src/components/DiffViewer/DiffViewer.tsx287 function renderDiffAndCommentsIfInViewportOrSchedule() {CODE
LOWweb/src/components/DiffViewer/DiffViewer.tsx321 function serializeDeserializeContent() {CODE
LOWweb/src/components/DiffViewer/DiffViewer.tsx417 function adjustScrollPositionWhenCollapsingFile() {CODE
LOWweb/src/components/DiffViewer/usePullReqComments.tsx943 function bindClickEventToStartNewCommentThread() {CODE
LOWweb/src/components/DiffViewer/DiffViewerUtils.tsx206export function createCommentOppositePlaceHolder(lineNumber: number, isNewCommentThread = false): HTMLTableRowElement {CODE
LOWweb/src/components/DiffViewer/DiffViewerUtils.tsx236export function activitiesToDiffCommentItems(CODE
LOWweb/src/hooks/useSetPageContainerWidthVar.tsx33export function useSetPageContainerWidthVar({ domRef }: { domRef: React.RefObject<HTMLElement> }) {CODE
LOW…/src/ar/__mocks__/hooks/useGovernanceMetaDataModal.tsx33export function useGovernanceMetaDataModal(_props: UseGovernanceModalProps): UseConnectorGovernanceModalPayload {CODE
LOW…loadRequestsProvider/AsyncDownloadRequestsProvider.tsx40function AsyncDownloadRequestsProvider({ children }: { children: React.ReactNode }) {CODE
LOW…AsyncDownloadRequestsProvider/AsyncDownloadRequest.tsx35function AsyncDownloadRequestStatusIcon(props: AsyncDownloadRequestStatusIconProps) {CODE
LOW…ents/IncludeExcludePatterns/IncludeExcludePatterns.tsx48function shouldShowIncludeExcludeList(values: FormData): boolean {CODE
LOWweb/src/ar/components/CleanupPolicyList/utils.tsx21export function getFormattedFormDataForCleanupPolicy(values: RepositoryRequest): RepositoryRequest {CODE
LOWweb/src/ar/components/CleanupPolicyList/utils.tsx29export function getFormattedIntialValuesForCleanupPolicy(values: RepositoryRequest): RepositoryRequest {CODE
LOW…s/MetadataFilterSelector/useMetadataFilterFromQuery.ts29export default function useMetadatadataFilterFromQuery() {CODE
LOW…/src/ar/components/Badge/RepositoryVisibilityBadge.tsx31export default function RepositoryVisibilityBadge(props: RepositoryVisibilityBadgeProps): JSX.Element {CODE
LOWweb/src/ar/common/utils.ts34export function getIdentifierStringForBreadcrumb(label: string, value: string): string {CODE
LOWweb/src/ar/common/utils.ts43export function getPackageTypesForApiQueryParams(packageTypes: RepositoryPackageType[]): string | undefined {CODE
LOWweb/src/ar/hooks/useGetRepositoryListViewType.ts21export function useGetRepositoryListViewType() {CODE
LOW…c/ar/frameworks/Version/ArtifactTreeNodeViewWidget.tsx32export default function ArtifactTreeNodeViewWidget(props: ArtifactTreeNodeViewWidgetProps): JSX.Element {CODE
LOW…ar/frameworks/Version/VersionTreeNodeDetailsWidget.tsx32export default function VersionTreeNodeDetailsWidget(props: VersionTreeNodeDetailsWidgetProps): JSX.Element {CODE
LOW…r/frameworks/Version/ArtifactTreeNodeDetailsWidget.tsx31export default function ArtifactTreeNodeDetailsWidget(props: ArtifactTreeNodeDetailsWidgetProps): JSX.Element {CODE
LOW…rc/ar/frameworks/Version/VersionTreeNodeViewWidget.tsx32export default function VersionTreeNodeViewWidget(props: VersionTreeNodeViewWidgetProps): JSX.Element {CODE
LOW…r/frameworks/Version/ArtifactRowSubComponentWidget.tsx32export default function ArtifactRowSubComponentWidget(props: ArtifactRowSubComponentWidgetProps): JSX.Element {CODE
LOW…eworks/RepositoryStep/RepositoryTreeNodeViewWidget.tsx32export default function RepositoryTreeNodeViewWidget(props: RepositoryTreeNodeViewWidgetProps): JSX.Element {CODE
LOW…meworks/RepositoryStep/RepositorySetupClientWidget.tsx34export default function RepositorySetupClientWidget(props: RepositorySetupClientWidgetProps): JSX.Element {CODE
LOW…rks/RepositoryStep/RepositoryTreeNodeDetailsWidget.tsx31export default function RepositoryTreeNodeDetailsWidget(props: RepositoryTreeNodeDetailsWidgetProps): JSX.Element {CODE
LOWweb/src/ar/pages/webhook-list/components/Forms/utils.ts30function convertSecretInputToFormFields(CODE
LOWweb/src/ar/pages/webhook-list/components/Forms/utils.ts41export function transformFormValuesToSubmitValues(CODE
LOWweb/src/ar/pages/webhook-list/components/Forms/utils.ts61function convertFormFieldsToSecreteInput(formData: Webhook, secretField: string, secretSpacePathField: string) {CODE
LOWweb/src/ar/pages/webhook-list/components/Forms/utils.ts71export function transformWebhookDataToFormValues(data: Webhook, parent: Parent): WebhookRequestUI {CODE
LOW…list/components/ExemptionForm/ExemptionFormContent.tsx34function CreateExemptionFormContent(props: CreateExemptionFormContentProps) {CODE
LOW…onForm/ExemptionDetailsAndJustificationFormContent.tsx27export default function ExemptionDetailsAndJustificationFormContent(CODE
LOW…mponents/ExemptionForm/BasicInformationFormContent.tsx33export default function BasicInformationFormContent(props: BasicInformationFormContentProps) {CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx48function SecurityPolicyFailureDetailsItem({CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx93function LicensePolicyFailureDetailItem({ data }: { data: LicensePolicyFailureDetailConfigV3 }) {CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx114function PackageAgeViolationPolicyFailureDetailItem({CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx139function OssRiskLevelViolationPolicyFailureDetailItem({ data }: { data: OssRiskLevelPolicyFailureDetailConfigV3 }) {CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx154function GenericPolicyFailureDetailItem({ data }: { data: KVO }) {CODE
LOW…ts/ViolationDetailsContent/ViolationFailureDetails.tsx168function ViolationFailureDetailsItem(props: ViolationFailureDetailsItemProps) {CODE
129 more matches not shown…
Verbosity Indicators29 hits · 56 pts
SeverityFileLineSnippetContext
LOWapp/api/request/pullreq.go123 // TODO: Remove the "includeGitStats := true" line and uncomment the following code block.COMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go119 // Step 1: Validate access keyCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go125 // Step 2: Get Docker clientCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go135 // Step 3: Check the current state of the containerCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go141 // Step 4: Handle different container statesCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go287 // Step 1: Get Docker clientCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go294 // Step 2: Check the current state of the containerCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go300 // Step 3: Handle container statesCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go345 // Step 4: Create log stream for stopping the containerCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go352 // Step 5: Stop the containerCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go378 // Step 1: Get Docker clientCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go385 // Step 4: Create logger stream for stopping and removing the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go177 // Step 5: Retrieve container information and return responseCOMMENT
LOW…ore/database/migrate/migrate_0151_migrate_artifacts.go51 // Step 1: Get orphan manifest IDs (lightweight query).COMMENT
LOW…ore/database/migrate/migrate_0151_migrate_artifacts.go63 // Step 2: Process in smaller sub-batches.COMMENT
LOW⚡…rc/cde-gitness/pages/GitspaceDetails/Logger/Logger.tsx12 // Step 1: Split by newline to get each JSON stringCOMMENT
LOW⚡…rc/cde-gitness/pages/GitspaceDetails/Logger/Logger.tsx15 // Step 2: Parse each line and clean up escaped strings inside 'out' keyCOMMENT
LOW⚡tests/load/usage_metrics_test.go163 // Step 1: AuthenticateCOMMENT
LOW⚡tests/load/usage_metrics_test.go173 // Step 2: Import repository from github.com/google/uuidCOMMENT
LOW⚡tests/load/usage_metrics_test.go182 // Step 3: Wait for import to completeCOMMENT
LOW⚡tests/load/usage_metrics_test.go189 // Step 4: Fetch a file from the repository (README.md)COMMENT
LOWregistry/app/dist_temp/dcontext/http.go183 // We need to check if that's intentional (could be a bug).COMMENT
LOW⚡registry/app/api/handler/cargo/upload.go66 // Step 1: Read first 4 bytes to get JSON lengthCOMMENT
LOW⚡registry/app/api/handler/cargo/upload.go72 // Step 2: Read the JSON metadataCOMMENT
LOWregistry/app/store/database/artifact.go894 // Step 1: Find the latest artifact IDCOMMENT
LOWregistry/app/store/database/artifact.go918 // Step 2: Fetch full metadata for this specific artifact.COMMENT
LOWregistry/app/store/database/registry.go360 // Step 1: Fetch base registry data.COMMENT
LOWgit/api/diff.go341// The purpose of this function is to get data based on which code comments could be repositioned.COMMENT
LOWgit/api/diff.go393// The purpose of this function is to get diff data with which code comments could be generated.COMMENT
AI Slop Vocabulary18 hits · 53 pts
SeverityFileLineSnippetContext
MEDIUMtypes/check.go99// CheckPayloadInternal is for internal use for more seamless integration forCOMMENT
MEDIUMtypes/enum/pullreq.go88// Essentially, the Type determines the structure of the pull request activity's Payload structure.COMMENT
MEDIUMapp/services/codeowners/service_test.go206\ \ \# user2@harness.ioCODE
MEDIUM⚡app/services/codeowners/service_test.go294a #user1@harness.ioCODE
MEDIUM⚡app/services/codeowners/service_test.go295b # user1@harness.ioCODE
MEDIUM⚡app/services/codeowners/service_test.go298e# user1@harness.ioCODE
MEDIUM⚡app/services/codeowners/service_test.go299f user1@harness.io#user2@harness.ioCODE
MEDIUM⚡app/services/codeowners/service_test.go300g user1@harness.io # user2@harness.ioCODE
MEDIUM⚡…details/NpmVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM⚡…details/NpmVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM⚡…details/NpmVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM⚡…ails/PythonVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM⚡…ails/PythonVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUM⚡…ails/PythonVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
MEDIUMstream/redis_consumer.go198 // NOTE: for the first call ever we want to get the history of the consumer (to allow for seamless restarts)COMMENT
MEDIUM.engops/pr_source_code_changes.sh9# The purpose of this script is to facilitate auto-tagging ofCOMMENT
MEDIUM.engops/pr_source_code_changes.sh29# Called by https://harness0.harness.io/ng/account/l7B_kbSEQD2wjrM7PShm5w/all/orgs/Audit/projects/Engops_Audit/pipelinesCOMMENT
MEDIUMregistry/types/digest.go247// These functions allow seamless conversion between types.Digest and digest.Digest.COMMENT
Structural Annotation Overuse25 hits · 50 pts
SeverityFileLineSnippetContext
LOW⚡…or/container/embedded_docker_container_orchestrator.go119 // Step 1: Validate access keyCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go125 // Step 2: Get Docker clientCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go135 // Step 3: Check the current state of the containerCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go141 // Step 4: Handle different container statesCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go287 // Step 1: Get Docker clientCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go294 // Step 2: Check the current state of the containerCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go300 // Step 3: Handle container statesCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go345 // Step 4: Create log stream for stopping the containerCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go352 // Step 5: Stop the containerCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go378 // Step 1: Get Docker clientCOMMENT
LOW⚡…or/container/embedded_docker_container_orchestrator.go385 // Step 4: Create logger stream for stopping and removing the containerCOMMENT
LOW…or/container/embedded_docker_container_orchestrator.go177 // Step 5: Retrieve container information and return responseCOMMENT
LOW…ore/database/migrate/migrate_0151_migrate_artifacts.go51 // Step 1: Get orphan manifest IDs (lightweight query).COMMENT
LOW…ore/database/migrate/migrate_0151_migrate_artifacts.go63 // Step 2: Process in smaller sub-batches.COMMENT
LOW⚡…rc/cde-gitness/pages/GitspaceDetails/Logger/Logger.tsx12 // Step 1: Split by newline to get each JSON stringCOMMENT
LOW⚡…rc/cde-gitness/pages/GitspaceDetails/Logger/Logger.tsx15 // Step 2: Parse each line and clean up escaped strings inside 'out' keyCOMMENT
LOW⚡tests/load/usage_metrics_test.go163 // Step 1: AuthenticateCOMMENT
LOW⚡tests/load/usage_metrics_test.go173 // Step 2: Import repository from github.com/google/uuidCOMMENT
LOW⚡tests/load/usage_metrics_test.go182 // Step 3: Wait for import to completeCOMMENT
LOW⚡tests/load/usage_metrics_test.go189 // Step 4: Fetch a file from the repository (README.md)COMMENT
LOW⚡registry/app/api/handler/cargo/upload.go66 // Step 1: Read first 4 bytes to get JSON lengthCOMMENT
LOW⚡registry/app/api/handler/cargo/upload.go72 // Step 2: Read the JSON metadataCOMMENT
LOWregistry/app/store/database/artifact.go894 // Step 1: Find the latest artifact IDCOMMENT
LOWregistry/app/store/database/artifact.go918 // Step 2: Fetch full metadata for this specific artifact.COMMENT
LOWregistry/app/store/database/registry.go360 // Step 1: Fetch base registry data.COMMENT
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMapp/services/linkedpr/handlers/pullrequest_test.go85// ─── mock harnesses ───────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/linkedpr/handlers/pullrequest_test.go363// ─── fixtures ─────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/linkedpr/handlers/pullrequest_test.go454// ─── tests ────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/linkedpr/handlers/pullrequest_test.go1096// ─── repository counter assertions ───────────────────────────────────────COMMENT
MEDIUMapp/services/linkedpr/handlers/github/check_test.go116// ─── stubs ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/linkedpr/handlers/github/check_test.go185// ─── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/linkedpr/handlers/github/check_test.go223// ─── tests ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/merge/tx_ref_and_database_update_test.go31// ─── stubs ────────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/merge/tx_ref_and_database_update_test.go130// ─── helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMapp/services/merge/tx_ref_and_database_update_test.go172// ─── tests ────────────────────────────────────────────────────────────────COMMENT
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM…itspace/orchestrator/utils/script_templates/set_env.sh18 # Create the export statementCOMMENT
MEDIUMregistry/tests/conformance_test.sh24 # Define the URL and request payloadCOMMENT
MEDIUMregistry/tests/conformance_test.sh49 # Define the URL and request payloadCOMMENT
MEDIUMregistry/tests/maven/generate_junit_report.sh15# Create a timestamp for the reportCOMMENT
MEDIUMregistry/tests/scripts/generate_report.sh47 # Create a timestampCOMMENT
MEDIUMregistry/tests/scripts/generate_report.sh50 # Create a JSON reportCOMMENT
MEDIUMregistry/tests/scripts/maven_tests.sh6# Create a Maven registry with timestamp to ensure uniquenessCOMMENT
MEDIUMregistry/tests/scripts/npm_tests.sh12# Create an NPM registry with timestamp to ensure uniquenessCOMMENT
MEDIUMregistry/tests/scripts/oci_tests.sh19# Create a temporary directory to run tests outside of the moduleCOMMENT
Redundant / Tautological Comments13 hits · 20 pts
SeverityFileLineSnippetContext
LOW…or/utils/script_templates/install_tools_vs_code_web.sh7# Check if curl is installedCOMMENT
LOW…ace/orchestrator/utils/script_templates/manage_user.sh8# Check if the user's home directory existsCOMMENT
LOW…/orchestrator/utils/script_templates/run_vscode_web.sh33 # Check if the process is still runningCOMMENT
LOW…pace/orchestrator/utils/script_templates/clone_code.sh57# Check if .devcontainer/devcontainer.json existsCOMMENT
LOW…itspace/orchestrator/utils/script_templates/set_env.sh21 # Check if the variable is already present in /etc/profileCOMMENT
LOW…ace/orchestrator/utils/script_templates/install_git.sh9 # Check if Git is installedCOMMENT
LOWregistry/tests/conformance_test.sh37 # Check if jq command succeededCOMMENT
LOWregistry/tests/conformance_test.sh59 # Check if jq command succeededCOMMENT
LOWregistry/tests/gopkg/scripts/setup_test.sh132 # Set namespace to just the space name to avoid duplicate registry in pathCOMMENT
LOWregistry/tests/cargo/scripts/setup_test.sh132 # Set namespace to just the space name to avoid duplicate registry in pathCOMMENT
LOWregistry/tests/maven/generate_junit_report.sh5# Check if the JSON report existsCOMMENT
LOWregistry/tests/maven/scripts/setup_test.sh114 # Set namespace to just the space name to avoid duplicate registry in pathCOMMENT
LOWregistry/tests/npm/scripts/setup_test.sh114 # Set namespace to just the space name to avoid duplicate registry in pathCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOW⚡…details/NpmVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
LOW⚡…ails/PythonVersion/pages/artifact-dertails/mockData.ts18 "[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)\n\n**Fast, unopinionated, miCODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/security/govulncheck-version.sh19# Usage:COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWregistry/app/pkg/docker/local.go936 // TODO: implement thisCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWblob/gcs_test.go51 KeyPath: "/tmp/fake-key.json",CODE