Skip to content

Reorganize Sonar Cloud properties and add property for ignoring templ…#1102

Merged
mauteri merged 1 commit intodevelopfrom
sonar-cloud-updates
May 5, 2025
Merged

Reorganize Sonar Cloud properties and add property for ignoring templ…#1102
mauteri merged 1 commit intodevelopfrom
sonar-cloud-updates

Conversation

@mauteri
Copy link
Copy Markdown
Contributor

@mauteri mauteri commented May 5, 2025

…ate in cpd.

Description of the Change

Closes #

How to test the Change

Changelog Entry

Added - New feature
Changed - Existing functionality
Deprecated - Soon-to-be removed feature
Removed - Feature
Fixed - Bug fix
Security - Vulnerability

Credits

Props @username, @username2, ...

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@mauteri mauteri marked this pull request as ready for review May 5, 2025 17:52
@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented May 5, 2025

PR Summary

  • Improved Project Configuration Comments
    The code comments in the configuration file sonar-project.properties have been added and expanded. This gives increased clarity when a new developer looks at the code, easing the way for future collaborations and modifications.

  • Reworked Source and Test Definitions
    The definitions of sonar.sources and sonar.tests have been reorganized, resulting in clearer and more accessible project structure. This will make navigation and work on the project significantly more straightforward.

  • Added Specification of CPD Exclusions
    The introduction of sonar.cpd.exclusions allows to specify what parts of the code should be ignored for copy-paste detection. It adds flexibility, and it's especially handy to mitigate false positives when using code generators or including library code.

  • Clarified and Organized Exclusion Settings
    Both sonar.exclusions and sonar.coverage.exclusions settings have been reordered and refined. The adjustments lead to a better-structured system, making it easier to understand what is covered and what isn’t.

  • Restored Javascript and PHP Coverage Report Paths
    Both sonar.javascript.coverage.reportPaths and sonar.php.coverage.reportPaths were reinstated after their initial removal, ensuring that coverage reports for both JavaScript and PHP are properly defined. This ensures better accuracy of coverage data report, useful in assessing the quality of tests.

@mauteri mauteri merged commit 565c1e9 into develop May 5, 2025
2 checks passed
@mauteri mauteri deleted the sonar-cloud-updates branch May 5, 2025 17:53
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.

1 participant