GumTreeDiff/gumtree
An awesome code differencing tool observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 99
- Release rhythm 69
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 98
- age_days: 4367
- days_rel: 49
- days_push: 8
- n_releases_24m: 6
Adoption not part of the score
1332 stars · 188 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
GumTree is a syntax-aware code differencing tool that computes diffs on abstract syntax trees rather than raw text. It aligns edit actions with language syntax and detects moved or renamed code elements, and can be integrated with Git.
Use cases
- compare two versions of a source file with syntax-aware diff
- detect moved or renamed functions between code revisions
- generate AST-based edit scripts for code changes
- integrate semantic diffing into a Git workflow
- analyze fine-grained source code changes for research
When to choose
- you need diffs that respect language syntax instead of line-based text diffs
- you want to detect code moves and renames that text diffs miss
- you need a Java library or CLI for AST differencing across languages like C, Java, JavaScript, Python, R, or Ruby
When to avoid
- you only need simple line-based text diffs
- your language is not among the supported parsers
- you need a graphical diff tool with rich IDE integration
Facets
cli-tool · maturity active
parser developer-tools cli developer-tools version-control parsers cross-platform cli jvm code-differencing ast-diff syntax-aware-diff git-integration
2 sources
- readme: https://github.com/GumTreeDiff/gumtree · fetched 2026-08-28 · 253f149841f6
- homepage: https://github.com/GumTreeDiff/gumtree/wiki · fetched 2026-08-29 · 51aa0491c710
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| GumTreeDiff/gumtree | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="GumTreeDiff/gumtree")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem