scala/scala-xml
53.1
Adequate · 6 November 2026
7.1k
lines of production code
Scala
primary language
4
measurements over time
What this system is
Behavioural changes
Cross-compilation support for Scala 2.13 and Scala 3
The library now supports building against Scala 2.13 and Scala 3 (Dotty) alongside the existing Scala 2.12 support. This is achieved by introducing version-specific source directories (\scala-2.12\, \scala-2.13+\, \scala-2\, \scala-3\) that provide tailored implementations of core collection interfaces and return types. For Scala 2.13+, the library adopts the new \BuildFrom\ and \SeqOps\ traits, ensuring that \NodeSeq\ and related types use \immutable.Seq\ and leverage the modern collections library, while maintaining binary compatibility with older versions through bridge methods and specific return type aliases.
shared/src/main · high confidence
Test coverage
Added JVM-specific test suite for XML parsing, serialization, and security; Added JVM-specific tests for XML parsing components; Added Scala 2.x-specific XML compilation and transformation tests; Added Scala 2.x-specific XML compiler and parsing tests; Added comprehensive test suite for scala.xml; Added tests for DTD declaration string representations.
Dependencies
Update build dependencies to Scala 2.12.21, 2.13.18, and 3.3.8
The build configuration has been updated to use Scala versions 2.12.21, 2.13.18, and 3.3.8 for cross-compilation. Test dependencies have been upgraded to JUnit 4.13.2, junit-interface 0.13.3, Apache Commons Lang 3.21.0, and Xerces 2.12.2. Additionally, the build now targets Java 17 for Scala 3 compilation and includes OSGi export settings for the JVM platform.
(dependencies) · high confidence
Housekeeping
Initial project setup and documentation
This change establishes the foundational repository structure for scala-xml by adding essential documentation and configuration files. It introduces a CHANGELOG.md detailing the 2.0.0 and 2.0.1 releases, a README.md with build badges and related project links, and standard governance files including a CODE\_OF\_CONDUCT.md, CONTRIBUTING.md, and a NOTICE file. The project license is set to Apache 2.0, and developer tooling is configured with a .gitignore and .mailmap for author normalization.
(repo-wide) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 54 → 53 (-1.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 71 → 71 (+0.0)
- Architecture 90 → 88 (-1.7)
- Maturity 46 → 46 (-0.2)
- Readiness 48 → 48 (+0.0)
- Security 78 → 67 (-11.1)
Resolved (4)
- Documentation: no contributor guidance (README.md)
- Documentation: no installation or build instructions (README.md)
- Documentation: no usage examples (README.md)
- Off-boarding risk: anonymized user #1
New (2)
- Off-boarding risk: anonymized user #1
- Orphaned file (shared/src/main/scala/scala/xml/NamespaceBinding.scala)
Changes since last survey
- 4 commits — 4 feature/other, 0 fixes
By area
- (root) — 2 commits
- (repo) — 1 commit
- project/build.properties — 1 commit
Notable commits
- change: Add MiMa filter for Null.sizeIs on Scala 3.3.9
- change: Merge pull request #842 from scala-steward/update/scala3-library-3.3.9
- change: Update sbt, scripted-plugin to 1.13.1
- change: Update scala3-library, ... to 3.3.9
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
scala/scala-xml 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 a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 6 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 23d75f7ad173afd6a817f79343e423c4db1a3597 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-60d1b390edf0.