SonarSource provides static code analysis for Scala. 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 Scala analysis has a 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.
It supports all the standard metrics implemented by SonarQube including Cognitive Complexity.