SonarSource provides static code analysis for Ruby. Based on our own technology, it finds Bugs, Security Vulnerabilities, and Code Smells. As with everything we develop at SonarSource, it was built on the principles of depth, accuracy, and speed.
SonarSource's Ruby analysis has great coverage of well-established quality standards. This capability is available in Eclipse and IntelliJ IDEA for developers (SonarLint) as well as throughout the development chain for automated code review with self-hosted SonarQube or cloud-based SonarCloud.
SonarSource's Ruby analysis supports all the standard metrics implemented by SonarQube including Cognitive Complexity.