Skip to content
CAI
Produce a survey ↗Verify a survey

Wilfred/difftastic

Difftastic is a structural diffing tool that analyzes and compares source code files using a graph-based algorithm. It supports a wide range of programming languages by leveraging tree-sitter parsers to understand syntax, enabling it to ignore formatting changes and highlight only meaningful code differences. The system provides various output formats, including side-by-side views, inline diffs, and JSON, while also handling complex scenarios like Git-style conflict markers and binary files.

60.8

Adequate · 3 August 2026

15k

lines of production code

Rust

with JavaScript

6

bus factor · 521 authors in all

2

measurements over time

CAI band scale
CAI trend line

How it got here

2014–2022 · Architecture refactoring and language expansion

This period was defined by a comprehensive architectural overhaul, splitting the monolithic diffing and display logic into modular, graph-based algorithms and dedicated submodules. Concurrently, the project significantly expanded its language support through new tree-sitter parsers and a robust language detection system, while also improving performance and adding Chinese documentation.

9 changes

2023–2025 · syntax highlighting and homepage redesign

This period focused on expanding syntax highlighting support for numerous new and existing programming languages through updated Tree-sitter parsers. Concurrently, the project underwent a significant visual overhaul, redesigning the homepage with a dark theme and interactive elements, while also introducing new data models for conference sessions.

9 changes

CAI lens gauges

Survey your own repository

Wilfred/difftastic 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 the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 6c171e8fab — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards