Skip to content

SonarQube Vulnerability Critical and Major Fixes#30

Merged
ak2btvm merged 3 commits into
cdacmasterfrom
critical-sq-fixes
Apr 17, 2026
Merged

SonarQube Vulnerability Critical and Major Fixes#30
ak2btvm merged 3 commits into
cdacmasterfrom
critical-sq-fixes

Conversation

@ReshmaJS

Copy link
Copy Markdown

What type of PR is this?

/kind cleanup

What this PR does / why we need it:
This PR refactors the code to remove duplicated literals and reduce cognitive complexity, improving maintainability and ensuring compliance with static analysis rules.

Which issue(s) this PR fixes:

Fixes #29

Test Report Added?:

/kind TESTED

Test Report:
NA

Special notes for your reviewer:
Nil

@ak2btvm ak2btvm 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.

Approved

@ak2btvm ak2btvm merged commit d819b74 into cdacmaster Apr 17, 2026
14 checks passed
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.

Fix static analysis issues: Duplicated literals and Cognitive complexity

2 participants