SonarSource provides a static code analyzer for Scala. Based on our own Scala analyzer, it can find bugs, security vulnerabilities and code smells. As for any product we develop at SonarSource, it was built on the following principles: depth, accuracy and speed.
SonarScala has a great coverage of well-established quality standards. The SonarScala capability is available throughout the development chain for automated code review with self-hosted SonarQube or on-line SonarCloud.
It supports all the standard metrics implemented by SonarQube including the Cognitive Complexity one.