Skip to content
CAI
Software that uses CAICheck a score

julianpeeters/sbt-avrohugger

61.8

Adequate · 7 November 2026

152

lines of production code

Scala

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Initial release of sbt-avrohugger plugin for Avro code generation

Introduces the sbt-avrohugger plugin, enabling automatic generation of Scala sources from Avro schemas (.avsc), IDL files (.avdl), datafiles (.avro), and protocols (.avpr). The plugin provides two generation modes: 'Standard' for generic Scala case classes and 'SpecificRecord' for classes implementing Avro's SpecificRecord interface. Users can configure source directories, output paths, custom type mappings, and namespaces via sbt settings, with build caching enabled via crossTarget to optimize compilation performance.

src/main · high confidence

Test coverage

Add SBT scripted test for Avro serialization with sbt-avrohugger 2.17.1; Add SpecificStringEnumSerializationTests for Avro schema validation; Add SpecificVectorSerializationTests for Avro schema generation and serialization; Add scripted test for Avro schema file sorting and dependency resolution; Add scripted test for standard Avro generation with AVDL/AVSC and IDL imports; Add scripted test for tagged decimal serialization; Add scripted tests for custom Avro source directories and specific output paths; Add test for custom namespace handling in Avrohugger; Added Avro schema definitions for GenericJavaEnumSerializationTests; Added Avro schema test fixtures for complex type references; Added Avro schema test fixtures for enum and record serialization; Added Avro schema test resources; Added GenericStringEnumSerializationTests test suite; Added SpecificADTSerializationTests for Avro schema generation and serialization; Added integration tests for GenericCaseObjectEnumSerialization; Added integration tests for GenericOptional Shapeless Unions serialization; Added integration tests for Scala 3 union type serialization; Added integration tests for generic serialization; Added integration tests for schema imports and cross-namespace references; Added sbt 1.x integration tests for sbt-avrohugger; Added scripted integration tests for GenericOptionShapelessUnionsSerialization; Added scripted integration tests for avrohugger serialization; Added scripted tests for GenericDecimalTaggedSerialization; Added scripted tests for OverrideSettings across Scala 2.12 and 2.13; Added scripted tests for Specific ADT serialization; Added scripted tests for generic and specific string enum serialization; Added serialization tests for Avro Specific records; Added serialization tests for Shapeless Coproduct unions; Added serialization tests for avrohugger Standard format; Added serialization tests for standard format case classes; Added serialization tests for standard format coproducts; Added test suite for Shapeless Coproduct union serialization; Added test utilities for Avro serialization verification; Added test utilities for enum serialization verification; Added tests for Avro schema file sorting; Expanded Avro schema test coverage for SpecificSerializationTests; Expanded Avro schema test coverage for serialization edge cases; Updated sbt-avrohugger scripted test to version 2.17.1.

Dependencies

Sbt-avrohugger 2.17.1 release with Scala 3 and Avro 1.12 support

This release updates the sbt-avrohugger plugin to version 2.17.1, aligning it with the corresponding avrohugger-core and avrohugger-filesorter libraries. The build configuration now supports Scala 2.12.21 and Scala 3.8.4, and the scripted tests have been updated to use Avro 1.12.1 (with specific tests covering Avro 1.11.5 for slow reader compatibility and 1.13.0-SNAPSHOT for tagged decimals). Additionally, the plugin now targets sbt 1.12.13 for Scala 2.12 and sbt 2.0.0 for Scala 3, ensuring compatibility with modern build tooling.

(dependencies) · 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 62 → 62 (+0.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 74 → 74 (+0.2)
  • Architecture 100 → 100 (+0.0)
  • Maturity 54 → 54 (+0.0)
  • Readiness 58 → 58 (+0.0)
  • Security 75 → 75 (+0.0)

Resolved (3)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • TodoComment (src/sbt-test/avrohugger/SpecificSlowReaderSerializationTests/src/test/scala/specific/SpecificUserDefinedTypesSpec.scala)

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • src/sbt-test — 1 commit

Notable commits

  • change: Release version 2.18.0

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

julianpeeters/sbt-avrohugger 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 7 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 73c4d63b0950b174f84a6b3f3abc42788a9a3ecf — 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-c34be012586e.