Hi there,
Today we released an update to our analyzers for Shell, Ruby, Apex and Go.
First, for all those languages, we have added support for running the analysis on the more platforms. You can now benefits from the latest rules on
- Windows x64
- Linux x64
- Linux ARM
- MacOS ARM
- MacOS x64
Specifically for Go and Ruby, we have continued to review your feedback and the behavior of the rules.
For Go, we decided to deactivate 3 rules that were creating a lot of noise:
- S8177 (Custom error types must implement “Error()” method correctly)
- S8179 (Function and method names should not use “Get” prefix)
- S8148 (Functions should follow Go’s explicit error handling patterns)
For Ruby, we deactivated S7872 (“return” statements should not be used in blocks)
While we believe those rules have value, we realized that, in their current state, they generate way too many false-positives to be useful. We will try to make them better and attempt to add them back later on. For the moment we think you will be better served without them.
Our objective is to address the false-positives for the remaining rules of those 4 languages by early January, so keep the feedback coming. We cannot thank you enough for it!
Please let us also know in this forum if you encounter problems when running on one of the newly supported platforms.
Denis