Skip to content

feature/stripe-checkout - #570

Open
AdityaK2905 wants to merge 127 commits into
mainfrom
feature/stripe-checkout
Open

feature/stripe-checkout#570
AdityaK2905 wants to merge 127 commits into
mainfrom
feature/stripe-checkout

Auto-update feature branch with changes from the main branch

d965fdb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 31, 2026 in 38s

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 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=AZ9zZ93xqTBLjhhDTYcY&open=AZ9zZ93xqTBLjhhDTYcY&pullRequest=570

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(ddbCalls).toHaveLength(0)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ9zZ9zSqTBLjhhDTYcQ&open=AZ9zZ9zSqTBLjhhDTYcQ&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=AZ9zZ93KqTBLjhhDTYcS&open=AZ9zZ93KqTBLjhhDTYcS&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=AZ9zZ93xqTBLjhhDTYcb&open=AZ9zZ93xqTBLjhhDTYcb&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=AZ9zZ93xqTBLjhhDTYca&open=AZ9zZ93xqTBLjhhDTYca&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=AZ9zZ93xqTBLjhhDTYcW&open=AZ9zZ93xqTBLjhhDTYcW&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=AZ9zZ93xqTBLjhhDTYcV&open=AZ9zZ93xqTBLjhhDTYcV&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=AZ9zZ93KqTBLjhhDTYcT&open=AZ9zZ93KqTBLjhhDTYcT&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=AZ9zZ93xqTBLjhhDTYcZ&open=AZ9zZ93xqTBLjhhDTYcZ&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=AZ9zZ93xqTBLjhhDTYcX&open=AZ9zZ93xqTBLjhhDTYcX&pullRequest=570

Check warning on line 110 in tests/live/stripe.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unit test or explain why it is ignored.

See more on https://sonarcloud.io/project/issues?id=acm-uiuc_core&issues=AZ9zZ92WqTBLjhhDTYcR&open=AZ9zZ92WqTBLjhhDTYcR&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=AZ9zZ93KqTBLjhhDTYcU&open=AZ9zZ93KqTBLjhhDTYcU&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=AZ9zZ94FqTBLjhhDTYcd&open=AZ9zZ94FqTBLjhhDTYcd&pullRequest=570

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=AZ9zZ94FqTBLjhhDTYcc&open=AZ9zZ94FqTBLjhhDTYcc&pullRequest=570