Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-24 07:34 UTC

tree-sitter / tree-sitter-scala

Scala grammar for tree-sitter

JavaScript · CMIT★ 199 stars⑂ 72 forkssince Feb 2018View on GitHub ↗

tree-sitter/tree-sitter-scala holds a health index of 87 out of 100, placing it in the Excellent band. It scores highest on Sustainability & Governance (80/100) and lowest on AI Readiness (63/100). It was last updated 6 days ago. 2 contributors account for most of its recent work.

87
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

87
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 73 is calibrated to 87 on the published index scale (record calibration 2026-08-02).

Ownership

tree-sitterOrganization
2,747 followers56 public repossince Feb 2016

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Gogithub.com/tree-sitter/tree-sitter-scalav0.26.3-296 days ago—
crates.iotree-sitter-scala0.26.3726,958176 days agoincrementalparsingscalatree-sittertext-editors
npmtree-sitter-scala0.24.0528,39810502 days agoincrementalparsingtree-sitterscala
PyPItree-sitter-scala0.26.31,944,82196 days agoincrementalparsingtree-sitterscala

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

78Good · 21% of overall
How it's scored
36/36Push recency — last push 6 days ago
10.4/36Commit cadence — 15/52 weeks with commits
18/18Commit volume — 403 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year403
Share of human-authored commits1
Days since last push6
Weeks with commits in the last year15
How it's scored
27/27Ships releases — 19 releases published
36/36Release recency — latest release 6 days ago
19.8/27Release cadence — a release every ~78.4 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
Number of releases19
Latest release tagv0.26.3
Releases derived from version tagsno
Days since latest release6
Mean days between releases78.4

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

73Good · 17% of overall
How it's scored
37.3/60Stars — 199 stars
15.4/25Forks — 72 forks
6.5/15Watchers — 16 watchers
Inputs used
Forks72
Stars199
Watchers16
Growth authenticity stateorganic
Multiplier applied to stars and forks (%)100
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the README—
Pull request template presentno
How it's scored
80/80Monthly downloads — 3,200,177 downloads/month across crates, go, npm, pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesgithub.com/tree-sitter/tree-sitter-scala, tree-sitter-scala, tree-sitter-scala, tree-sitter-scala
Registry dependents—
Package ecosystemscrates, go, npm, pypi
Total downloads5,655,781
Monthly downloads3,200,177
Packages excluded as unverified—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

80Excellent · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
12.4/22.5Commit distribution — top contributor authored 45% of commits
13.5/13.5Contributor breadth — 35 contributors
10/10OpenSSF Scorecard: Contributors — project has 31 contributing companies or organizations
Inputs used
Bus factor2
Contributors sampled35
Share of commits by the top contributor0.45
How it's scored
39.9/42Issue resolution — 95% of issues closed
27.6/30PR acceptance — 445/483 decided PRs merged
8.7/13Newcomer PR acceptance — 2/3 first-time contributors' PRs merged in 30d
12/15OpenSSF Scorecard: Code-Review — Found 6/7 approved changesets -- score normalized to 8
Inputs used
Merged pull requests445
Open issues9
Closed issues174
Pull requests merged in the last 7 days2
Pull requests decided in the last 7 days2
Pull requests merged in the last 30 days3
Pull requests decided in the last 30 days4
Share of issues closed0.951
Pull requests closed without merging38
First-time contributors with a pull request decided in the last 30 days1
Pull requests from first-time contributors merged in the last 30 days2
Pull requests from first-time contributors decided in the last 30 days3
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
24.7/25Owner reach — 2,747 followers of tree-sitter
24.8/25Track record — 56 public repos, account ~10 yr old
Inputs used
Followers2,747
Owner account typeOrganization
Verified domainno
Owner accounttree-sitter
Public repositories56
Owner account age in days3,906

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 4 package(s) on crates, go, npm, pypi
35/35Publish recency — latest publish 6 days ago
20/20Version history — 29 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesgithub.com/tree-sitter/tree-sitter-scala, tree-sitter-scala, tree-sitter-scala, tree-sitter-scala
Package ecosystemscrates, go, npm, pypi
Any package deprecated or yankedno
Days since latest package publish6

Engineering Quality

Are baseline engineering and documentation practices in place?

70Good · 19% of overall
How it's scored
24/24CI workflows — 4 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 13 out of 13 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentno
Pre-commit config presentno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://docs.rs/tree-sitter-scala
10/10Repository description
10/10Topics — 3 topics
0/10Wiki
Inputs used
Repository topicstree-sitter, parser, scala
Wiki enabledno
Repository homepage—
Documentation sitehttps://docs.rs/tree-sitter-scala
README presentyes
Documentation directory presentno
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

63Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
2.5/2.5CI-Tests — 13 out of 13 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6/7.5Code-Review — Found 6/7 approved changesets -- score normalized to 8
2.5/2.5Contributors — project has 31 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
1/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 2
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
6.8/7.5Vulnerabilities — 1 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated17
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive1
OpenSSF Scorecard aggregate score5.4
Excluded from scoring (no data or not applicable): Packaging. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages1
Packages affected by advisories1
Packages assessed55
Packages not assessed2
Affected packages by severityhigh 1
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 55 resolved dependencies against OSV. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

63Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 87 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.87
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
0/11Lint / format config
11/11Static type checking — bindings/python/tree_sitter_scala/py.typed
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
2/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 2
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesCargo.lock, go.sum, package-lock.json
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesMakefile
Dev container config presentno
Linter config presentno
Static type-check config filesbindings/python/tree_sitter_scala/py.typed
Share of commits authored by or credited to coding agents0
Toolchain manifestsCargo.toml, go.mod
Share of commits that are automated dependency updates0
How it's scored
27/45Type-checkable code — JavaScript with type-check config (bindings/python/tree_sitter_scala/py.typed)
48.1/55Manageable file sizes — 4/32 source files over 60KB
Inputs used
Primary languageJavaScript
Size of the largest source file (bytes)27,396,361
Source files sampled32
Oversized source files4
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — examples
Inputs used
Runnable example directoriesexamples
MCP server signal presentno
API schema files—
Software kinds for which an interface is expected—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

199GitHub stars
35contributors
403commits, last 12 months
6days since last push
19releases
2bus factor
9open issues
crates.io, Go, npm, PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • Star history carried forward from 2026-07-19: GitHub restricted the stargazers API to repository admins, so it can no longer be collected. The repository has 199 stars today.

More detail

Star and fork history 194 ★ / 72 ⇿
194Stars
72Forks
18Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

Star history is shown as collected on 2026-07-19. GitHub restricted the stargazers API to repository administrators in July 2026, so this series can no longer be extended; the current star total above remains live.

0408012016020019471132018-022022-062026-10
Major 0Minor 6Patch 12

Each point covers 8 days.

OpenSSF Scorecard 5.4 / 10
5.4aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-10-24 07:33 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests13 out of 13 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
8Code-ReviewFound 6/7 approved changesets -- score normalized to 8
10Contributorsproject has 31 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
2Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
9Vulnerabilities1 existing vulnerabilities detected
Direct dependencies 4
RegistryPackageVersion constraintManifest
crates.iotree-sitter-language0.1Cargo.toml
Gogithub.com/tree-sitter/go-tree-sitterv0.24.0go.mod
npmnode-addon-api^8.2.2package.json
npmnode-gyp-build^4.8.2package.json
All dependencies 57

Full resolved dependency set from the GitHub dependency graph: 4 direct and 53 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
crates.iotree-sitter-language0.1.3direct
Gogithub.com/tree-sitter/go-tree-sitter0.24.0direct
npmnode-addon-api8.2.2direct
npmnode-gyp-build4.8.2direct
crates.ioaho-corasick1.1.3indirect
crates.iocc1.2.60indirect
crates.ioequivalent1.0.2indirect
crates.iofind-msvc-tools0.1.9indirect
crates.iohashbrown0.17.0indirect
crates.ioindexmap2.14.0indirect
crates.ioitoa1.0.18indirect
crates.iomemchr2.7.4indirect
crates.ioproc-macro21.0.106indirect
crates.ioquote1.0.45indirect
crates.ioregex1.12.3indirect
crates.ioregex-automata0.4.14indirect
crates.ioregex-syntax0.8.10indirect
crates.ioserde1.0.228indirect
crates.ioserde_core1.0.228indirect
crates.ioserde_derive1.0.228indirect
crates.ioserde_json1.0.149indirect
crates.ioshlex1.3.0indirect
crates.iostreaming-iterator0.1.9indirect
crates.iosyn2.0.117indirect
crates.iotree-sitter0.26.8indirect
crates.iounicode-ident1.0.24indirect
crates.iozmij1.0.21indirect
Gogithub.com/mattn/go-pointer0.0.1indirect
npmbase64-js1.5.1indirect
npmbl4.1.0indirect
npmbuffer5.7.1indirect
npmchownr1.1.4indirect
npmend-of-stream1.4.4indirect
npmfs-constants1.0.0indirect
npmieee7541.2.1indirect
npminherits2.0.4indirect
npmminimist1.2.8indirect
npmmkdirp-classic0.5.3indirect
npmnode-abi3.67.0indirect
npmnpm-run-path3.1.0indirect
npmonce1.4.0indirect
npmpath-key3.1.1indirect
npmprebuildify6.0.1indirect
npmprettier3.3.3indirect
npmpump3.0.0indirect
npmreadable-stream3.6.2indirect
npmsafe-buffer5.2.1indirect
npmsemver7.6.3indirect
npmstring_decoder1.3.0indirect
npmtar-fs2.1.3indirect
npmtar-stream2.2.0indirect
npmtree-sitter0.21.1indirect
npmtree-sitter-cli0.26.8indirect
npmutil-deprecate1.0.2indirect
npmwrappy1.0.2indirect
PyPIsetuptools—indirect
PyPItree-sitter—indirect
Dependency advisories 1

This repository publishes no package the index resolves, so its own dependency graph was assessed — 55 packages, which also include development and test pins that never ship: 1 carry known advisories, of which 0 are direct. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
tar-fs2.1.3indirecthigh13.1.1

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — Go, crates.io, npm, PyPI.