Skip to content
CAI
Produce a survey ↗Verify a survey

scala/scala

This system is the Scala compiler and its associated standard library and tooling, responsible for compiling Scala source code into JVM bytecode and providing the core language features. It encompasses the full compilation pipeline, including parsing, type checking, macro expansion, and bytecode generation, alongside utilities for interactive development like the REPL and IDE integration. The codebase also manages the Scala standard library, offering collections, concurrency primitives, and reflection APIs, while providing build and test infrastructure to ensure compiler correctness and performance.

61.0

Adequate · 5 August 2026

267k

lines of production code

Scala

primary language

8

bus factor · 734 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2003–2012 · Compiler and standard library modernization

This period was dominated by a comprehensive architectural overhaul of the Scala compiler, introducing modular packages for reflection, macros, and the backend, while simultaneously refactoring the standard library's collection and concurrency APIs. The work also established a robust, automated test suite and improved IDE support through a new presentation compiler infrastructure.

161 changes

2013–2015 · Scaladoc and macro subsystems

This period focused on the architectural reorganization of the Scaladoc tool, moving its implementation into a dedicated directory and refactoring its components for better maintainability. Concurrently, the codebase introduced blackbox and whitebox macro context APIs, alongside a new GenBCode backend for bytecode generation. The period also saw the addition of extensive test coverage for these new features, as well as improvements to the interactive compiler and REPL.

129 changes

2016–2020 · Test coverage and TASTy interop

This period focused on expanding test coverage across the Scala standard library, compiler internals, and the new TASTy reader infrastructure for Scala 3 compatibility. Significant work included implementing the TASTy bridge layer, adding extensive property-based and JUnit tests for collections, and integrating the async/await transformation with corresponding test suites.

122 changes

2021–2025 · test coverage and compiler diagnostics

This period was dominated by extensive test coverage additions for the Scala compiler, particularly focusing on Java interoperability, TASTy pipeline handling, and macro systems. The work also included integrating the 'splain' module for improved implicit resolution diagnostics and refactoring the sbt-bridge to support richer error reporting.

55 changes

CAI lens gauges

Survey your own repository

scala/scala was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 5 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit e2bf355128 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards