Skip to content
CAI
Software that uses CAICheck a score

hrj/abandon

50.7

Adequate · 7 November 2026

6.9k

lines of production code

Scala

with TypeScript

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add complete example with configuration, ledger data, and documentation

A new complete example has been added to the \examples/complete\ directory, providing a self-contained walkthrough for the \abandon\ tool. This includes a \README.md\ explaining the file structure and configuration syntax, an \accounts.conf\ file demonstrating report generation (balance sheet, profit and loss, registers), XML and ledger exports (including staged closures), and end-of-day constraints. The example is populated with realistic transaction data across \accounts.ledger\, \opening.ledger\, \invoices.ledger\, and \cash.ledger\, showcasing features like account aliases, date ranges, and default accounts.

examples/complete · high confidence

Added DirSuite testing framework and license

Added the \dirsuite\ module, including an Apache 2.0 license file and core Scala source files (\DirSuite.scala\ and \TestValidator.scala\). This introduces a testing framework that provides default validators for comparing text and XML output against reference files, enabling users to validate test vectors by comparing generated output with expected results.

dirsuite · high confidence

Added launch scripts and IDE configuration for Abandon

New shell and batch scripts (abandon\_cli, abandon\_gui) were added to the tools directory to simplify running the application, including support for the JAVA\_HOME environment variable and macOS-specific dock icon settings. Additionally, configuration files for the AppStart launcher and Scalariform code formatter were introduced to standardize development and execution environments.

tools · high confidence

Added simple double-entry bookkeeping example

The examples/simple directory now includes a complete, runnable example demonstrating double-entry bookkeeping. It provides an accounts configuration file defining balance sheet and profit/loss reports, along with a sample ledger file containing transaction data for assets, liabilities, capital, income, and expenses.

examples/simple · high confidence

Initial project scaffolding and configuration

This change establishes the foundational project structure for Abandon, a double-entry accounting system. It introduces the Apache 2.0 license, a comprehensive README detailing installation and usage, and a changelog documenting the 0.3.0 release features (including XML format updates and new report types). It also configures the build and CI environment with Travis CI (using OpenJDK 11 and Scala 2.13), Stryker4s for mutation testing, and Sonatype publishing settings, while updating .gitignore to exclude build artifacts and IDE files.

(repo-wide) · high confidence

Initial release of better-files core library

This change introduces the initial source code for the better-files core module, adding a comprehensive Scala wrapper around java.nio.file.Path. It provides a fluent API for file operations including creation, deletion, copying, and moving, along with a UNIX-style DSL for intuitive syntax (e.g., \\~\, \pwd\, \\<\<\, \\>\>\). The library also includes resource management via a \Dispose\ typeclass for safe handling of closeable resources, file monitoring capabilities, a high-performance \Scanner\ for reading text, and utilities for handling character encodings with byte-order markers (BOM).

better-files-core · high confidence

Initial release of the web UI for the abandon application

This change introduces the complete web-based interface for the 'abandon' application, built on SvelteKit with a static adapter. The UI provides a tabbed navigation system allowing users to view account balances in a hierarchical tree, browse a monthly register, and drill down into individual account transaction details. Key interactive features include the ability to select multiple monetary amounts (using Ctrl/Cmd+Click) to calculate and display real-time statistics (count, sum, average, min, max) in the header, as well as error handling for empty transaction states and application-level errors.

web-ui · high confidence

Initial web UI and API implementation

This change introduces the foundational components for the web interface, including the Data models (Transaction, Post, CookedPost) for parsing and structuring financial data, a custom JsonUtils module for serializing data and escaping special characters, and the WebAPI object which generates account balance reports and monthly transaction registers. Users will now have access to the first version of the web-based reporting interface powered by these new backend services.

cli/src/main/scala/co/uproot/abandon/web · high confidence

Introduces picoserve HTTP server library

Adds the picoserve library (cli/src/main/java/org/limium/picoserve) providing a lightweight HTTP server implementation. This includes a Server class with a builder pattern for configuring ports, backlogs, and handlers, along with Handler and ServerBuilder classes to define request routing and processing logic for GET, POST, PUT, DELETE, and HEAD methods.

cli/src/main/java · high confidence

Behavioural changes

Added ProGuard configuration for GUI assembly

A new ProGuard configuration file has been added to the GUI module to define rules for obfuscation, shrinking, and optimization of the Scala and JavaFX application. This configuration ensures that critical classes, such as the main entry point and Scala concurrency primitives, are preserved during the build process, preventing runtime errors caused by aggressive code removal or renaming.

gui · high confidence

Application entry point simplified to CLI-only execution

The main entry point in Main.scala has been refactored to exclusively launch the command-line interface (CLIApp), removing the previous conditional logic that attempted to detect and launch a graphical user interface (GUI) via JavaFX. The code responsible for ensuring JavaFX availability and invoking the GUI launcher has been commented out, meaning the application now starts directly in CLI mode regardless of command-line arguments.

src/main · high confidence

Introduction of default theme stylesheet with specific font and color styling

A new default theme stylesheet (default\_theme.css) has been added to define the visual appearance of the GUI. This change introduces specific styling rules: the '.report' class now uses a monospaced font stack (prioritizing 'Monospaced', 'Droid Sans Mono', etc.) at 11pt size, while '.txn-date-line' and '.txn-comment' classes are styled with bold text and specific colors (dark gray \#444 and blue \#4169e1 respectively).

gui/src/main/resources · high confidence

Refactored GUI reports into modular components and upgraded to ScalaFX 3

The GUI implementation has been restructured to improve maintainability and compatibility. Report rendering logic for Balance, Register, and Transaction views has been extracted from the main UI object into dedicated files (BalanceReport.scala, RegReport.scala, TxnReport.scala), each implementing the new UIReport trait. The main application now extends JFXApp3 instead of the deprecated JFXApp, requiring updated imports and API usage. Additionally, the Info tab's placeholder text has been updated to indicate that input files are being processed, and the codebase now uses scala.jdk.CollectionConverters for Java interop.

gui/src/main/scala · high confidence

Refactored report output into a dedicated ReportWriter component

The logic for writing reports to files and the console has been extracted from App.scala into a new ReportWriter class. This change ensures that report content is consistently written to both specified output files and the screen, automatically creates parent directories for output files if they do not exist, and handles the formatting of headings, code blocks, and XML output through a unified interface.

cli/src/main/scala/co/uproot/abandon · high confidence

Support for transaction filters and improved file input handling

Users can now filter transactions using the new --filter option (e.g., --filter onOrAfter=2023-01-01) and input files can be specified using glob patterns (glob:) or regular expressions (regex:) to automatically include multiple files. The file watcher has been moved to the base module and now returns updated paths on changes, while the parser tracks input positions to provide more precise error messages.

base/src/main · high confidence

Test coverage

Added DirSuite testing framework components; Added comprehensive test coverage for core Abandon components; Added test coverage for CLI argument handling, error cases, and security validations; Added tests for JSON utility methods in WebAPI; Expanded functional test coverage for Abandon.

Dependencies

Introduce SvelteKit web UI and restructure Scala build system

The project now includes a new web-based interface built with SvelteKit (v2.70.0), Svelte (v5.56.6), and Vite (v8.1.5), located in the \web-ui\ directory. Concurrently, the Scala build configuration has been significantly restructured: the root \build.sbt\ now defines a multi-project layout (aggregating \base\, \cli\, \gui\, and others) using Scala 3.9.0, replaces the legacy Proguard/Assembly setup with GraalVM native image support, and introduces Stryker mutation testing. The \base\ and \cli\ modules have been updated to use centralized dependency definitions, and the \gui\ module has been simplified to use ScalaFX without manual JFXRT jar handling.

(dependencies) · high confidence

Migrate build to SBT 1.12 and modernize dependency management

The project build has been upgraded to SBT version 1.12.15, replacing the legacy \build.scala\ with a modern \Dependencies.scala\ object that centralizes library versions (including Scala 3-compatible libraries like ScalaFX 19.0.0 and ScalaTest 3.2.20). The build configuration also updates \sbt-assembly\ to 2.4.2, adds \sbt-native-image\ 0.5.0 for GraalVM support, and includes \sbt-buildinfo\ and \sbt-stryker4s\ for mutation testing, while removing the deprecated \sbteclipse-plugin\ and \sbt-proguard\.

project · 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 51 → 51 (-0.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 76 → 76 (+0.0)
  • Architecture 94 → 94 (+0.0)
  • Maturity 56 → 55 (-1.3)
  • Readiness 47 → 47 (-0.7)
  • Security 64 → 63 (-0.4)
  • Accessibility 45 → 45 (+0.0)

Resolved (6)

  • High CVE: [GHSA redacted] (web-ui/package-lock.json)
  • Off-boarding risk: anonymized user #1
  • Outdated: org.rogach:scallop_3
  • Outdated: org.scala-lang.modules:scala-parser-combinators_3
  • Outdated: org.scala-lang.modules:scala-xml_3
  • Outdated: org.scalafx:scalafx_3

New (3)

  • Dependency hygiene PARTLY measured — sbt declarations read, dependency currency not (Maven Central unreachable)
  • Low CVE: [GHSA redacted] (web-ui/package-lock.json)
  • Repeated repair: cli/src/main/scala/co/uproot/abandon/App.scala (cli/src/main/scala/co/uproot/abandon/App.scala)

Changes since last survey

  • 8 commits — 8 feature/other, 0 fixes

By area

  • (repo) — 4 commits
  • cli/src — 1 commit
  • project/Dependencies.scala — 1 commit
  • project/build.properties — 1 commit
  • web-ui/package-lock.json — 1 commit

Notable commits

  • change: Bump vite from 8.1.5 to 8.3.5 in /web-ui
  • change: Merge pull request #522 from hrj/dependabot/npm_and_yarn/web-ui/vite-8.3.5
  • change: Merge pull request #523 from hrj/perf/webapi-monthly-register-opt-4032760993074246349
  • change: Merge pull request #524 from scala-steward/update/scallop-6.0.1
  • change: Merge pull request #525 from scala-steward/update/sbt-1.13.1
  • change: Update sbt, scripted-plugin to 1.13.1
  • change: Update scallop to 6.0.1
  • change: perf: replace O(N) collection scan in makeMonthlyRegister

Architecture

  • Containers 0 added · 0 removed · contexts 0 added · 0 removed · edges 0 added · 1 removed

Removed dependency edges (was a dependency, now gone) (1)

  • base → repository

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

Survey your own repository

hrj/abandon 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 6ad6766f1dee6c985097d7842f380debd33415ad — 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-5f8314471808.