Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce cognitive complexity of AstraUtils#getFullyQualifiedName #88

Closed
RadikalJin opened this issue Apr 25, 2022 · 7 comments
Closed

Reduce cognitive complexity of AstraUtils#getFullyQualifiedName #88

RadikalJin opened this issue Apr 25, 2022 · 7 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@RadikalJin
Copy link
Member

See https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=alfasoftware_astra&open=AXpYXsQlw7HmrLPw-qnT

@RadikalJin RadikalJin added the good first issue Good for newcomers label Apr 25, 2022
@kapilgahlot1998
Copy link

Hi .. can you please assign me this issue.

@RadikalJin
Copy link
Member Author

Hello @kapilgahlot1998,

Sure! Thanks for your interest in contributing to Astra. I'll assign this over to you now.

@kapilgahlot1998
Copy link

Hi @RadikalJin .. I have fixed the code also build the service. But I didn't find any test case for this AstraUtils#getFullyQualifiedName. Can you please provide me some test cases details that I can cover in the test cases.

Let me know if anything else required from myside

@RadikalJin
Copy link
Member Author

Hello @kapilgahlot1998, that sounds good! There aren’t specific tests for that function but it’s used very widely across all the tests. If you’re able to run the full set of tests, that should give us the coverage needed to verify the change. If you raise a pull request, we can also run a branch build.

@kapilgahlot1998
Copy link

@RadikalJin Yes, I have run a full build that is success. Let me create a PR. Thanks

@kapilgahlot1998
Copy link

@RadikalJin Created PR for the same. Please review and let me know if any changes required in the code I will happy to do that.
Thanks

RadikalJin added a commit that referenced this issue May 9, 2022
Reduce cognitive complexity of AstraUtils#getFullyQualifiedName #88
@RadikalJin
Copy link
Member Author

Fixed by @kapilgahlot1998 under #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants