Skip to content
CAI
Software that uses CAICheck a score

jsonkenl/xlsxir

62.3

Adequate · 15 November 2026

1.7k

lines of production code

Elixir

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Behavioural changes

Migrate configuration system to Elixir 1.10+ syntax

The application's configuration file has been updated to use the modern \import Config\ syntax, replacing the deprecated \use Mix.Config\. This change aligns the project with current Elixir standards and removes legacy configuration patterns, ensuring that configuration loading behaves according to the latest runtime expectations.

config · high confidence

Replaced DOM-based XML parsing with SAX streaming for improved performance and memory efficiency

The library has switched from loading entire XML files into memory (using SweetXml) to a SAX-based event-driven parser (using Erlsom). This change allows Xlsxir to process large Excel files with significantly lower memory usage and better performance, as XML content is parsed in chunks. The new architecture introduces dedicated modules for parsing shared strings, styles, workbooks, and worksheets, storing intermediate results in ETS tables. Users benefit from robust handling of missing styles or shared strings files, support for parsing inline strings, and the ability to stream worksheet rows without loading the entire file into memory.

lib/xlsxir · high confidence

Xlsxir becomes an OTP application with new streaming and peeking APIs

The Xlsxir library is now an OTP application that automatically starts a StateManager supervisor, ensuring proper lifecycle management for ETS tables. The main API has been refactored to delegate parsing to the XlsxFile module, introducing a new \stream\_list/3\ function for memory-efficient row streaming (extracting XML to files by default) and a \peek/4\ function to extract only the first N rows. Existing extraction functions like \extract/3\ and \multi\_extract/3\ remain available but now support options to control extraction targets (memory vs. file) and row limits.

lib · high confidence

Test coverage

Added comprehensive test coverage for Xlsxir parsing capabilities; Added test fixtures for Excel workbooks with multiple sheets and styles; Added test fixtures for complex strings and invalid files.

Dependencies

54 commits updating dependencies (2 manifests)

A dependency / build maintenance change in (dependencies) — 54 commits (9 fixs), 2 files.

(dependencies) · medium confidence · unverified

Housekeeping

Updated API documentation to version 1.6.3

The generated HTML documentation has been rebuilt and updated to reflect the Xlsxir v1.6.3 release. This update includes refreshed reference pages for core modules such as \Xlsxir.ConvertDate\, \Xlsxir.ConvertDateTime\, \Xlsxir.ParseString\, \Xlsxir.ParseStyle\, \Xlsxir.ParseWorkbook\, \Xlsxir.ParseWorksheet\, \Xlsxir.SaxParser\, and \Xlsxir.StateManager\, ensuring that function signatures, parameters, and examples are current with the latest codebase.

doc · 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 60 → 62 (+2.0)
  • Rubric changed (rubric-2026.11.1 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 100 → 100 (+0.0)
  • Maturity 46 → 53 (+7.0)
  • Readiness 47 → 47 (+0.0)
  • Security 100 → 100 (+0.0)

Resolved (6)

  • Off-boarding risk: anonymized user #1
  • Orphaned file (lib/xlsxir/parse_style.ex)
  • Orphaned file (lib/xlsxir/parse_worksheet.ex)
  • Orphaned file (lib/xlsxir/sax_parser.ex)
  • Orphaned file (lib/xlsxir/unzip.ex)
  • Orphaned knowledge (lib/xlsxir.ex)

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • (repo) — 1 commit

Notable commits

  • change: Merge pull request #139 from jsonkenl/maintenance/a1-a3-stabilization

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

Survey your own repository

jsonkenl/xlsxir 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 9ada5158d2b61231a1a0f18178c5d7e1b98120ce — 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.73+preprod-52de90b74216.