Skip to content

Fix last sonar#219

Merged
Strange4 merged 5 commits into
masterfrom
fix-last-sonar
Apr 6, 2026
Merged

Fix last sonar#219
Strange4 merged 5 commits into
masterfrom
fix-last-sonar

Conversation

@Strange4
Copy link
Copy Markdown
Collaborator

@Strange4 Strange4 commented Apr 6, 2026

Summary

This PR is made to reduce the remaining sonar issues that we have for this project.

Related Issues

None

Changes Made

  • Remove Unexpected negated condition
  • Refactored handleShuttleRouting function to reduce its Cognitive Complexity from 16 to the 15 allowed

Testing

  • All tests pass locally / in CI

Checklist (Author & Reviewer)

  • Code follows project conventions
  • The change was run locally and works as expected
  • No breaking changes

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Strange4 Strange4 marked this pull request as ready for review April 6, 2026 01:51
Comment thread components/map/indoor-navigation-controls.tsx
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

@YehJordan YehJordan left a comment

Choose a reason for hiding this comment

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

LGTM good fixes of sonar and removal of nested ifs

@Strange4 Strange4 self-assigned this Apr 6, 2026
@Strange4 Strange4 added this to the Release 3 milestone Apr 6, 2026
@Strange4 Strange4 moved this from Backlog to In progress in ConUMap Boards Apr 6, 2026
@Strange4 Strange4 merged commit bad3534 into master Apr 6, 2026
4 checks passed
@Strange4 Strange4 deleted the fix-last-sonar branch April 6, 2026 03:22
@github-project-automation github-project-automation Bot moved this from In progress to Done in ConUMap Boards Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants