green-code-initiative / ecoCode-ios

Reduce the environmental footprint of your Swift-based iOS apps with SonarQube
https://ecocode.io
GNU General Public License v3.0
4 stars 5 forks source link

refacto(checks): factorizing check methods like end of file or method… #35

Closed rgoussu-exalt closed 4 months ago

rgoussu-exalt commented 4 months ago

Added several utility method to the check helper, to factorize several checks made against the ParseTree

the goal is to improve the readability of the rules

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud