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

New rule S6674: Log message template should be syntactically correct #8818

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

gregory-paidis-sonarsource
Copy link
Contributor

Fixes #8770

@gregory-paidis-sonarsource
Copy link
Contributor Author

@costin-zaharia-sonarsource Please take a look at the code smells.
IMO it is better to keep the entire logic in one place for the splitting part.
Also, the magic number 2 has a comment to explain what is happening.

@gregory-paidis-sonarsource gregory-paidis-sonarsource marked this pull request as ready for review February 27, 2024 17:14
Copy link
Member

Choose a reason for hiding this comment

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

First round, only unit tests

Copy link
Member

Choose a reason for hiding this comment

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

LGTM!

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

@costin-zaharia-sonarsource costin-zaharia-sonarsource merged commit c0d6a61 into master Feb 29, 2024
25 checks passed
@costin-zaharia-sonarsource costin-zaharia-sonarsource deleted the greg/implement-S6674 branch February 29, 2024 10:33
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.

New rule S6674: Log message template should be syntactically correct
2 participants