Skip to content
CAI
Software that uses CAICheck a score

pathikrit/better-files

59.4

Adequate · 14 November 2026

2.7k

lines of production code

Scala

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add interactive Scala version tabs for Scaladoc navigation

A new index.html file was added to the site-preprocess directory, introducing a Bootstrap-based interface that allows users to switch between different Scala versions via tabs. Each tab displays the corresponding Scaladoc in an iframe, improving navigation across multiple Scala versions.

src/site-preprocess · high confidence

Introduce resource management and file system DSL

Added new abstractions for safe resource management and file system operations. The \Dispose\ trait and \CloseableIterator\ provide automatic cleanup of resources and iterators, ensuring that underlying streams or file handles are closed even if exceptions occur. A new \Dsl\ object introduces a UNIX-style command-line interface for file operations, supporting symbolic operators for reading/writing content (\\<\, \\>\>\), navigation (\/\, \\~\), and file manipulation (\cp\, \mv\, \rm\, \ln\). Additionally, a \Resource\ trait with macro-based implementations (\Resource.at\, \Resource.my\) enables convenient lookup of classpath resources relative to specific classes or the current call site.

src/main · high confidence

Update project configuration and documentation files

Added new configuration files including .gitattributes, .jvmopts, .scalafmt.conf, and release.sh, while updating .gitignore and README.md with comprehensive documentation, installation instructions, and version badges.

(repo-wide) · high confidence

Test coverage

Added comprehensive test coverage for file system utilities

Added 131 commits of tests covering core file operations, including file monitoring, globbing, scanning, and resource management. New test suites validate the behavior of the file watcher (FileMonitorSpec, FileWatcherSpec), scanner utilities (ScannerSpec, ShapelessScannerSpec), and file system interactions (FileSpec, GlobSpec, CloseableIteratorSpec, DisposeSpec, ResourceSpec). Test resources and Java benchmark classes for scanners were also added to support these tests.

src/test · high confidence

Dependencies

Modernize build configuration and update test dependencies

The build file was refactored to support multiple Scala versions (2.11, 2.12, 2.13, and 3.2.2) and includes updated test dependencies, specifically upgrading ScalaTest to 3.2.15, Shapeless to 2.3.4, and Commons IO to 2.11.0, while also adding the scala-collection-compat library for cross-version compatibility.

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

Lenses

  • Code Health 74 → 72 (-2.2)
  • Architecture 100 → 100 (+0.0)
  • Maturity 47 → 47 (+0.0)
  • Readiness 60 → 63 (+2.4)
  • Security 76 → 76 (+0.0)

New (1)

  • Edited copy of a member (4 corresponding lines) (src/main/scala-2.11/better/files/CloseableIteratorCompat.scala)

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

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

Survey your own repository

pathikrit/better-files 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 14 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 faffdb87ec0656f56c9f8e2f0dd9e846285bf4f2 — 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-36d4cd83012f.