Skip to content
CAI
Software that uses CAICheck a score

alanvardy/exzeitable

50.0

Weak · 15 November 2026

2.5k

lines of production code

Elixir

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is the Exzeitable library, an Elixir tool that generates interactive, sortable, and searchable data tables within Phoenix LiveView applications. It provides features for pagination, column customization, fuzzy text search via PostgreSQL's pg\_trgm, and customizable HTML rendering. The repository also includes a demo Phoenix application to showcase these capabilities and a comprehensive test suite ensuring reliability.

How it got here

2019 — Phoenix 1.8 and LiveView 1.0 upgrade

11 changes.

The project underwent a major dependency upgrade to Phoenix 1.8 and LiveView 1.0, requiring significant refactoring of the Exzeitable library's internal architecture and configuration structures. This period also established comprehensive testing infrastructure, including Cypress end-to-end tests and Ecto sandboxing, alongside initial database migrations and frontend asset scaffolding.

2020–2022 — HTML refactoring and test expansion

8 changes.

The project refactored the HTML rendering logic into modular components to support custom actions and field formatting, while introducing a demo web application to showcase these features. Comprehensive test coverage was added for the new HTML modules, parameter validation, and the demo application, alongside improvements to error handling and a new Mix task for database migrations.

Features

Add test web application with Exzeitable table demos

The \lib/test\_web\ directory now contains a complete Phoenix application setup to demonstrate the Exzeitable library. This includes controllers, schemas, and HEEx templates for managing Posts and Users, alongside specific LiveView table configurations (\PostTable\, \UserTable\, \UserFormattedTable\, \BeitrageTable\) that showcase features like custom action buttons, field formatters, pagination toggles, and German localization. The application also provides dedicated routes and templates to test specific table behaviors such as disabling hide functionality, removing action buttons, and hiding pagination.

_lib/test\web · high confidence

Added database migrations and seed data for users and posts

The application now includes initial database schema definitions and sample data. A migration creates \users\ and \posts\ tables, and another enables the \pg\_trgm\ PostgreSQL extension to support fuzzy string matching. Additionally, a seed script populates the database with sample user and post records for development and testing environments.

priv/repo · high confidence

Added default Ecto validation error messages for English localization

The application now includes default English translation files for common Ecto.Changeset validation errors. This adds the \errors.pot\ template and the \en/LC\_MESSAGES/errors.po\ file, providing standard messages for validations such as presence, uniqueness, format, length, and number constraints, ensuring users see consistent error text when form validation fails.

priv/gettext · high confidence

New mix task to generate pg\_trgm migration

A new Mix task, \mix exzeitable.gen.migration\, has been added to automatically generate a database migration that enables the \pg\_trgm\ extension in PostgreSQL. This allows users to easily set up fuzzy string matching capabilities in their Ecto applications by running the task with optional repository configuration.

lib/mix · high confidence

Behavioural changes

Add default Phoenix LiveView frontend assets

The application now includes the standard Phoenix LiveView frontend scaffolding, providing the base CSS styles for alerts, forms, and LiveView-specific UI states (such as loading indicators and modals) via \app.css\ and \phoenix.css\. The JavaScript entry point (\app.js\) has been updated to initialize the Phoenix Socket and LiveView connection, import the \phoenix\_html\ helper, and integrate the \topbar\ progress bar to indicate page loading and navigation states to the user.

assets · high confidence

Improved error handling for missing or invalid parameters

The library now provides clearer, specific error messages when required parameters (such as repo, query, routes, or path) are missing or when parent/belongs\_to options are mismatched. Instead of generic exceptions, users will see descriptive messages guiding them on how to correctly configure their table setup, such as specifying the correct Repo module or query structure.

lib/exzeitable/parameters · high confidence

Introduce standardized Elixir development tooling and configuration

The project now includes configuration files for Credo, Dialyzer, and Doctor to enforce code quality, static analysis, and documentation standards, alongside a \.check.exs\ file that integrates these tools into the CI workflow. The Elixir formatter configuration has been updated to support HEEx templates and import Phoenix LiveView formatting, and the \.gitignore\ has been expanded to exclude build artifacts, Cypress screenshots, and Dialyzer PLT files.

(repo-wide) · high confidence

Migrated configuration to Phoenix 1.6 runtime config structure

The application configuration has been restructured to align with Phoenix 1.6 standards, introducing a new \config/runtime.exs\ file to handle environment-specific settings and secrets (such as \DATABASE\_URL\ and \SECRET\_KEY\_BASE\) at runtime, while \config/config.exs\ now holds only shared defaults. Environment-specific overrides for development, testing, production, and system tests are now managed through dedicated files (\dev.exs\, \test.exs\, \prod.exs\, \systemtest.exs\), replacing the previous flat configuration approach and ensuring that sensitive data is not hardcoded in version control.

config · high confidence

Placeholder for dialyzer cache directory

A .gitkeep file has been added to the dialyzer directory. This ensures the directory is tracked by version control, likely to support the proper caching of dialyzer analysis results as indicated by the commit message.

dialyzer · low confidence

Refactor internal architecture with new params struct and text behavior

The library's internal structure has been reorganized to improve maintainability and extensibility. A new \Exzeitable.Params\ struct now centralizes all configuration and state, replacing the previous loose map-based approach, while a new \Exzeitable.Text\ behavior allows for customizable interface strings via a default implementation. Several legacy modules (\Filter\, \Format\, \Validation\) have been removed or merged into these new components. Additionally, database query handling has been refined to support a \query\_modifier\ for custom query logic, ensure order is cleared before pagination, and use \coalesce\ for safer search text generation.

lib/exzeitable · high confidence

Refactored Exzeitable macro to use Params struct and updated Phoenix LiveView dependencies

The Exzeitable library has been refactored to improve code organization and compatibility with newer Phoenix LiveView versions. The macro now utilizes a dedicated \Params\ struct for handling field configuration and search string generation, replacing the previous inline logic. Additionally, the library has updated its dependencies to support Phoenix LiveView 0.6.0 and later, including imports for \Phoenix.HTML.Form\ and \PhoenixHTMLHelpers\, and introduced a \render/1\ callback requirement for modules using the library. A new \TestWeb\ module was also added to provide standard Phoenix web interface boilerplate for controllers, views, routers, and channels.

lib · high confidence

Refactored HTML rendering into modular components

The HTML generation logic for the table has been reorganized from a monolithic structure into distinct modules (Action Button, Filter, Format, Helpers, Pagination, Search, Show Button, and Table). This change introduces support for custom action buttons defined in the user's module, allows fields to be formatted using a \:formatter\ option (supporting \{mod, fun}\ or \{mod, fun, args}\ tuples), and enables hiding column toggle buttons via a \disable\_hide\ parameter. Users will see these changes as more flexible table customization options and cleaner separation of concerns in the underlying rendering code.

lib/exzeitable/html · high confidence

Test coverage

Added Cypress end-to-end test suite for acceptance testing; Added property and unit tests for HTML components; Added test coverage for web controllers, live views, and error views; Added test support infrastructure and property-based generators; Added tests for database query handling and params validation; Cleanup of obsolete test files and test configuration updates.

Dependencies

Major dependency upgrade to Phoenix 1.8 and LiveView 1.0

The project has been upgraded to require Elixir 1.12 and bumped its core dependencies to Phoenix 1.8, Phoenix LiveView 1.0, Ecto 3.13, and Postgrex 0.22. This shift introduces support for modern Phoenix features and requires users to update their runtime environment and dependencies accordingly.

(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 49 → 50 (+0.5)
  • Rubric changed (rubric-2026.11.1 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 73 → 70 (-3.0)
  • Architecture 93 → 93 (-0.2)
  • Maturity 56 → 56 (+0.0)
  • Readiness 32 → 33 (+1.0)
  • Security 69 → 72 (+2.9)

Resolved (8)

  • High secret: WD-SECRET-0005 (assets/package-lock.json)
  • Leaked secret: high-entropy-secret (config/dev.exs)
  • Leaked secret: high-entropy-secret (config/systemtest.exs)
  • Leaked secret: high-entropy-secret (config/test.exs)
  • Leaked secret: signing-key (config/dev.exs)
  • Leaked secret: signing-key (config/systemtest.exs)
  • Leaked secret: signing-key (config/test.exs)
  • Rotate the exposed credentials — git history can't be un-committed

New (5)

  • Edited copy of a member (3 corresponding lines) (lib/test_web/controllers/beitrage_controller.ex)
  • Edited copy of a member (7 corresponding lines) (lib/exzeitable/html/show_button.ex)
  • Edited copy of a member (9 corresponding lines) (lib/exzeitable/html/pagination.ex)
  • Edited copy of a member (9 corresponding lines) (lib/test_web/controllers/user_controller.ex)
  • Medium CVE: EEF-[CVE redacted] (mix.lock)

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

Survey your own repository

alanvardy/exzeitable 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 19adea638cd997df5f42632bbc946fdc99659961 — 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.