Skip to content

Auto-update feature branch with changes from the main branch

864462c
Select commit
Loading
Failed to load commit list.
Open

feature/stripe-checkout #570

Auto-update feature branch with changes from the main branch
864462c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 13, 2026 in 28s

Quality Gate failed

Failed conditions
11.2% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 217 in src/api/functions/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rcfGwM4KE8GjTJ&open=AZ4jF8rcfGwM4KE8GjTJ&pullRequest=570

Check warning on line 658 in src/api/routes/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rIfGwM4KE8GjTC&open=AZ4jF8rIfGwM4KE8GjTC&pullRequest=570

Check warning on line 414 in tests/unit/stripe.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8nwfGwM4KE8GjS8&open=AZ4jF8nwfGwM4KE8GjS8&pullRequest=570

Check warning on line 280 in src/ui/pages/stripe/StripePaymentStatus.page.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8qgfGwM4KE8GjS_&open=AZ4jF8qgfGwM4KE8GjS_&pullRequest=570

Check warning on line 1078 in src/api/routes/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rIfGwM4KE8GjTH&open=AZ4jF8rIfGwM4KE8GjTH&pullRequest=570

Check warning on line 1180 in src/api/routes/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rIfGwM4KE8GjTI&open=AZ4jF8rIfGwM4KE8GjTI&pullRequest=570

Check warning on line 582 in src/api/functions/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this conditional structure or edit its code blocks so that they're not all the same.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rcfGwM4KE8GjTK&open=AZ4jF8rcfGwM4KE8GjTK&pullRequest=570

Check warning on line 699 in src/api/routes/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected lexical declaration in case block.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rIfGwM4KE8GjTD&open=AZ4jF8rIfGwM4KE8GjTD&pullRequest=570

Check warning on line 361 in tests/unit/stripe.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8nwfGwM4KE8GjS7&open=AZ4jF8nwfGwM4KE8GjS7&pullRequest=570

Check warning on line 260 in src/ui/pages/stripe/StripePaymentStatus.page.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8qgfGwM4KE8GjTA&open=AZ4jF8qgfGwM4KE8GjTA&pullRequest=570

Check warning on line 262 in src/ui/pages/stripe/StripePaymentStatus.page.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8qgfGwM4KE8GjTB&open=AZ4jF8qgfGwM4KE8GjTB&pullRequest=570

Check warning on line 903 in src/api/routes/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected lexical declaration in case block.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rIfGwM4KE8GjTF&open=AZ4jF8rIfGwM4KE8GjTF&pullRequest=570

Check warning on line 700 in src/api/routes/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected lexical declaration in case block.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rIfGwM4KE8GjTE&open=AZ4jF8rIfGwM4KE8GjTE&pullRequest=570

Check warning on line 905 in src/api/routes/stripe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected lexical declaration in case block.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8rIfGwM4KE8GjTG&open=AZ4jF8rIfGwM4KE8GjTG&pullRequest=570

Check warning on line 91 in src/ui/pages/stripe/StripePaymentStatus.page.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8qgfGwM4KE8GjS-&open=AZ4jF8qgfGwM4KE8GjS-&pullRequest=570

Check warning on line 21 in src/ui/pages/stripe/StripePaymentStatus.page.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'IconArrowLeft'.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ4jF8qgfGwM4KE8GjS9&open=AZ4jF8qgfGwM4KE8GjS9&pullRequest=570