Skip to content

test: verify SonarCloud duplicate and code smell detection - #33

Open
JakeConal wants to merge 2 commits into
mainfrom
test/sonar-duplicate-smell
Open

JakeConal wants to merge 2 commits into
mainfrom
test/sonar-duplicate-smell

Conversation

@JakeConal

Copy link
Copy Markdown
Owner

Purpose

Temporary SonarCloud verification PR. DO NOT MERGE.

  • Adds two intentionally duplicated Java blocks (more than 10 successive statements) in one Sonar project.
  • Adds System.out.println to trigger a Java code smell.
  • Expected SonarCloud PR analysis: duplicated lines/blocks above zero and at least one new code smell.

Delete this branch and close the PR after recording the SonarCloud result.

Copilot AI review requested due to automatic review settings July 13, 2026 09:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'cart'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
54.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants