Which static analysis tool do you use for Scala?

This page summarizes the projects mentioned and recommended in the original post on /r/scala

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. Scapegoat

    Scala compiler plugin for static code analysis

    The support for scala 3 has been requested a while ago: https://github.com/scapegoat-scala/scapegoat/issues/521 but the original author has stepped down as a maintainer https://github.com/scapegoat-scala/scapegoat/issues/567 and recently most of the changes are just dependency updates.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. Wartremover

    Flexible Scala code linting tool

    There is also wartremover but you cannot run it separately from your compile command.

  4. sonar-scala

    Discontinued A free and open-source SonarQube plugin for static code analysis of Scala projects.

    You may use sonar-scala, or the independent pieces it consumes like Scapegoat.

  5. sbt-tpolecat

    scalac options for the enlightened

    However, after a while, I found that most of the things I needed were already covered by the compiler. And that Rob's (aka tpolecat) list of compiler options provided all the ones I needed for my style of coding. I Then learn that there was this sbt plugin that managed the list for me and also took care of changing the options according to the Scala version.

  6. scalafix-organize-imports

    Discontinued A CI-friendly Scalafix semantic rule for organizing imports

    extensible with community plugins, we use scalafix-organize-imports and scaluzzi

  7. Scalafix

    Refactoring and linting tool for Scala

    Scalafix

  8. scaluzzi

    Additional rules for Scalafix. The part of scalazzi rules.

    extensible with community plugins, we use scalafix-organize-imports and scaluzzi

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The thousand dollars one line mistake - SBT + PlayFramework

    1 project | dev.to | 1 Jul 2024
  • Is Scala to Java the same relationship as TypeScript has with ECMAScript?

    2 projects | /r/scala | 8 May 2023
  • Scala Center Roadmap for 2023 and Beyond

    1 project | /r/scala | 31 Jan 2023
  • The size of sbt became big

    2 projects | /r/scala | 29 Jan 2023
  • sbt 1.8.0 released

    2 projects | /r/scala | 11 Nov 2022

Did you know that Scala is
the 32nd most popular programming language
based on number of references?