Skip to content

Reduce cognitive complexity and replace duplicated literals with constants across modules - #33

Merged
ak2btvm merged 1 commit into
cdacmasterfrom
udm-sq-critical-issues
Apr 17, 2026
Merged

Reduce cognitive complexity and replace duplicated literals with constants across modules#33
ak2btvm merged 1 commit into
cdacmasterfrom
udm-sq-critical-issues

Conversation

@bhagathkrishnacdac

Copy link
Copy Markdown

What type of PR is this?

/kind cleanup

What this PR does / why we need it:
This PR refactors multiple modules to reduce cognitive complexity in critical methods and replaces duplicated string literals with defined constants, improving code readability, maintainability, and compliance with SonarQube standards.

Which issue(s) this PR fixes:

Fixes #32

Test Report Added?:

/kind TESTED

Test Report:

NA

Special notes for your reviewer:
NIL

…ed literals by introducing constants, improving maintainability and readability across multiple modules.
@bhagathkrishnacdac bhagathkrishnacdac changed the title Refactored code to reduce cognitive complexity and eliminate duplicat… Reduce cognitive complexity and replace duplicated literals with constants across modules Apr 6, 2026

@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 a7ae16c into cdacmaster Apr 17, 2026
7 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.

Refactor: Code Quality Improvements and Method Simplification for UDM Service

2 participants