dnsimple/base32_erlang
58.2
Adequate · 15 November 2026
824
lines of production code
Erlang
primary language
4
measurements over time
What this system is
This system is a Base32 encoding and decoding library for Erlang, focused on high performance and code quality. It provides optimized bit-level operations for standard and hex alphabets, supported by a comprehensive test suite that includes property-based verification. The project also establishes a robust development environment with strict linting, formatting, and documentation tooling.
Behavioural changes
Major rewrite of base32 encoding/decoding with performance optimizations
The core base32 library has been significantly refactored to improve performance and code quality. The implementation now uses inline-compiled helper functions for encoding and decoding, replacing the previous generic function-based approach with specialized bit-level operations for hex and standard alphabets. The application metadata has been updated to include an Apache-2.0 license, a descriptive text, and a GitHub link, while the version is now dynamically set via git. These changes result in a faster, more maintainable library for users encoding and decoding base32 strings.
src · high confidence
Project tooling and build configuration overhaul
The project has adopted a comprehensive set of development tooling and stricter build configurations. This includes adding a Makefile for standard build, test, and documentation tasks, and configuring rebar3 with extensive compiler warnings (such as unused variables and shadow vars) and dialyzer/xref checks to improve code quality. New plugins have been integrated for formatting (erlfmt), documentation generation (ex\_doc), linting (rebar3\_lint), and coverage reporting (covertool). Additionally, standard repository files like .gitignore, LICENSE (Apache 2.0), and CHANGELOG.md have been added to support the release process.
(repo-wide) · high confidence
Test coverage
Added comprehensive test suite for Base32 encoding and decoding
Added a new test file (test/base32\_test.erl) that validates the base32 module's encode and decode functions. The tests cover standard cases, lower-case output, padding removal, hex encoding modes, string input/output handling, and specific error conditions like non-alphabetic characters and incorrect padding. It also includes property-based tests using the Proper library to verify that encoding followed by decoding returns the original binary data across various option combinations.
test · 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 59 → 58 (-0.5)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 100 → 89 (-10.4)
- Architecture 69 → 69 (+0.0)
- Maturity 47 → 47 (+0.0)
- Readiness 78 → 78 (+0.0)
- Security 61 → 61 (+0.0)
New (3)
- Edited copies of one member (4 members, 51+ corresponding lines) (src/base32.erl)
- Edited copy of a member (15 corresponding lines) (src/base32.erl)
- Edited copy of a member (59 corresponding lines) (src/base32.erl)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
dnsimple/base32_erlang 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 15 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 01e84b227d0156c42b04a2492dfadf23f845455e — the exact code this score is about.
- Scored under rubric-2026.11.4 — 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.65+preprod-3c33c1882dc1.