codacy / codacy-api-scala   7.0.9

MIT License Website GitHub

Scala wrapper for the Codacy API

Scala versions: 2.12 2.11 2.10

Codacy API Scala Client

Scala wrapper for the Codacy API.

Codacy Badge Codacy Badge Circle CI Maven Central


If you use Maven you can declare the dependency:


First, declare the dependency on SBT:

"com.codacy" %% "codacy-api-scala" % "VERSION"

Usage example (extracted from our sbt-codacy-coverage tool:

val apiUrl = ""
val projectToken = "randomizedTokenGeneratedByCodacy"

val codacyClient = new CodacyClient(Some(apiUrl), projectToken = Some(projectToken))

val coverageServices = new CoverageServices(codacyClient)

val commitUUID = "gitCommitUUID"
val report = ...

coverageServices.sendReport(commitUUID, Language.Scala, report) match {
          case requestResponse if requestResponse.hasError =>
            logger.error(s"Failed to upload data. Reason: ${requestResponse.message}")
            state.exit(ok = false)
          case requestResponse =>
            logger.success(s"Coverage data uploaded. ${requestResponse.message}")


  1. Rodrigo Fernandes


  1. Rafael Cortês
  2. João Machado
  3. João Caxaria
  4. Pedro Rijo

What is Codacy

Codacy is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.

Among Codacy’s features

  • Identify new Static Analysis issues
  • Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)
  • Auto-comments on Commits and Pull Requests
  • Integrations with Slack, HipChat, Jira
  • Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories

Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.

Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.

Free for Open Source

Codacy is free for Open Source projects.


codacy-api-scala is available under the MIT license. See the LICENSE file for more info.