Skip to content
CAI
Software that uses CAICheck a score

erlware/relx

59.9

Adequate · 13 November 2026

5.4k

lines of production code

Erlang

primary language

8

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a build tool for Erlang/OTP releases, providing a programmatic API to assemble, configure, and package software distributions. It manages release artifacts, handles hot code upgrades, and generates start scripts for various operating systems. The codebase is heavily focused on testing these capabilities through extensive shell-based integration tests.

Features

Add initial PowerShell Release OTP application structure

The shelltests/powershell\_release directory now contains a complete, minimal OTP application scaffold for 'powershell\_release' (version 0.1.0). This includes the standard Erlang application and supervisor modules, a rebar3 build configuration, and configuration files (sys.config, vm.args) for a release named 'powershell\_release'. The release is configured to include PowerShell-related start scripts, as indicated by the 'include\_start\_scripts\_for' setting in rebar.config.

_shelltests/powershell\release · high confidence

Add shellcheck\_test OTP application scaffolding

Added the complete structure for a new OTP application named shellcheck\_test, including the application and supervisor modules, configuration files (sys.config, vm.args), and a basic test script to verify the release builds successfully.

_shelltests/shellcheck\_test, shelltests/shellcheck\_test/apps/shellcheck\test · high confidence

Initial release of the relx build system

The relx release assembler is introduced as a new component, providing a programmatic API for building Erlang/OTP releases. This includes modules for managing release configuration, assembling release directories, handling overlays, and generating relup scripts, effectively replacing the previous internal implementation with a structured, public-facing interface.

src · high confidence

Introduce new start and management scripts for Unix, Windows, and PowerShell

The release generation now includes new template files for managing the Erlang release. A standard Unix shell script (bin) and a Windows batch script (bin\_windows) are added to start the release, find the ERTS directory, and locate configuration files. Additionally, PowerShell scripts (bin\_windows\_ps, extended\_bin\_windows\_ps) and utility functions (psutil) are provided for Windows service management, including commands for install, start, stop, upgrade, and console access. An escript (install\_upgrade\_escript) is also added to handle release installation, unpacking, and version management. These scripts replace or augment the previous startup mechanisms, offering a more robust and feature-rich way to interact with the running node.

priv · high confidence

Test coverage

Add shell test for detecting undefined function calls; Add shell-based integration tests for Windows service lifecycle; Add shell-based reboot and restart test suite; Add shell-based test suite for extension script behavior; Add test suite for extended start script hooks; Add upgrade\_test shell test for OTP application versioning; Added force\_nodetool\_tests OTP application and shell test; Added shell tests for OS variable replacement in release configuration; Added shell tests for OS variable replacement in releases; Added shell tests for extended start script commands and environment variable handling; Added shell tests for overlay error handling; Added system\_libs test suite for release packaging; Added vm\_args\_inclusion\_tests shell test suite; Expanded test coverage for release, relup, and tarball generation.

Dependencies

Updated build configuration and dependencies for relx

The project's build configuration has been updated to use bbmustache version 1.10 as a dependency, replacing previous dependencies like getopt and depsolver. The rebar.config now includes profiles for testing and documentation, enables Common Test coverage analysis, and configures xref to ignore specific warnings for the relx API. Additionally, the Makefile has been removed in favor of rebar3 commands, and the README has been updated to reflect the current build and testing procedures.

(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 61 → 60 (-0.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 67 → 67 (+0.0)
  • Architecture 100 → 100 (+0.0)
  • Maturity 49 → 49 (+0.0)
  • Readiness 62 → 62 (+0.0)
  • Security 92 → 84 (-8.2)

Resolved (2)

  • No ADRs found
  • Off-boarding risk: anonymized user #1

New (4)

  • Edited copy of a member (5 corresponding lines) (src/rlx_release.erl)
  • Edited copy of a member (6 corresponding lines) (src/rlx_config.erl)
  • No ADRs found (rebar.config)
  • Off-boarding risk: anonymized user #1

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

Survey your own repository

erlware/relx 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 13 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 fce151aa031d69d60e2be9f51a8209f13d1e4a18 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — 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.61+preprod-b8b1a43ae4c3.