Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-27 20:54 UTC

tree-sitter / tree-sitter-scala

Scala grammar for tree-sitter

JavaScript · CMIT★ 196 stars⑂ 70 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 (79/100) and lowest on AI Readiness (63/100). It was last updated 2 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,654 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.2-2819 days ago
crates.iotree-sitter-scala0.26.2580,7501619 days agoincrementalparsingscalatree-sittertext-editors
npmtree-sitter-scala0.24.0241,88710445 days agoincrementalparsingtree-sitterscala
PyPItree-sitter-scala0.26.23,194,053819 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 recencylast push 2 days ago
9.7/36Commit cadence14/52 weeks with commits
18/18Commit volume390 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year390
human_commit_share1
days_since_last_push2
active_weeks_last_year14
How it's scored
27/27Ships releases18 releases published
36/36Release recencylatest release 19 days ago
19.8/27Release cadencea release every ~77.2 days
0/10OpenSSF Scorecard: Signed-ReleasesProject has not signed or included provenance with any releases.
Inputs used
releases_count18
latest_release_tagv0.26.2
releases_from_tagsno
days_since_latest_release19
mean_days_between_releases77.2

Community & Adoption

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

73Good · 17% of overall
How it's scored
37.1/60Stars196 stars
15.3/25Forks70 forks
6.5/15Watchers16 watchers
Inputs used
forks70
stars196
watchers16
growth_stateorganic
growth_factor_pct100
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges0
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno
How it's scored
80/80Monthly downloads4,016,690 downloads/month across crates, go, npm, pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagesgithub.com/tree-sitter/tree-sitter-scala, tree-sitter-scala, tree-sitter-scala, tree-sitter-scala
dependents
ecosystemscrates, go, npm, pypi
total_downloads4,166,145
monthly_downloads4,016,690
unverified_packages_excluded
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?

79Good · 23% of overall
How it's scored
25.2/54Bus factor2 contributor(s) cover half of all commits
12.3/22.5Commit distributiontop contributor authored 45% of commits
13.5/13.5Contributor breadth34 contributors
10/10OpenSSF Scorecard: Contributorsproject has 31 contributing companies or organizations
Inputs used
bus_factor2
contributors_sampled34
top_contributor_share0.452
How it's scored
39.9/42Issue resolution95% of issues closed
27.7/30PR acceptance439/476 decided PRs merged
0/13Newcomer PR acceptance0/1 first-time contributors' PRs merged in 30d
15/15OpenSSF Scorecard: Code-Reviewall changesets reviewed
Inputs used
merged_prs439
open_issues9
closed_issues174
prs_merged_7d4
prs_decided_7d4
prs_merged_30d37
prs_decided_30d38
issue_closed_ratio0.951
closed_unmerged_prs37
first_time_authors_30d1
first_time_prs_merged_30d0
first_time_prs_decided_30d1
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domain
24.6/25Owner reach2,654 followers of tree-sitter
24.8/25Track record56 public repos, account ~10 yr old
Inputs used
followers2,654
owner_typeOrganization
is_verifiedno
owner_logintree-sitter
public_repos56
account_age_days3,849

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable4 package(s) on crates, go, npm, pypi
35/35Publish recencylatest publish 19 days ago
20/20Version history28 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesgithub.com/tree-sitter/tree-sitter-scala, tree-sitter-scala, tree-sitter-scala, tree-sitter-scala
ecosystemscrates, go, npm, pypi
any_deprecatedno
min_days_since_publish19

Engineering Quality

Are baseline engineering and documentation practices in place?

70Good · 19% of overall
How it's scored
24/24CI workflows4 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests12 out of 12 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configno
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage sitehttps://docs.rs/tree-sitter-scala
10/10Repository description
10/10Topics3 topics
0/10Wiki
Inputs used
topicstree-sitter, parser, scala
has_wikino
homepage
docs_sitehttps://docs.rs/tree-sitter-scala
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

64Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
2.5/2.5CI-Tests12 out of 12 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Reviewall changesets reviewed
2.5/2.5Contributorsproject has 31 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
1/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-ReleasesProject has not signed or included provenance with any releases.
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
6.8/7.5Vulnerabilities1 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate5.5
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 advisoriesno direct dependency carries a known advisory
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories1
affected_packages1
assessed_packages55
unassessed_packages2
affected_by_severityhigh 1
direct_affected_packages0
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 instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history87 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.87
agent_instruction_files
agent_instruction_max_bytes
How it's scored
18/18One-command bootstrapMakefile
22/22Automated tests
0/11Lint / format config
11/11Static type checkingbindings/python/tree_sitter_scala/py.typed
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
0/8Automated maintenanceno automated dependency updates observed
2/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
Inputs used
has_nixno
has_testsyes
lockfilesCargo.lock, go.sum, package-lock.json
has_dockerfileno
typed_languageno
bootstrap_filesMakefile
has_devcontainerno
has_linter_configno
typecheck_configsbindings/python/tree_sitter_scala/py.typed
agent_commit_share0
toolchain_manifestsCargo.toml, go.mod
dependency_bot_commit_share0
How it's scored
27/45Type-checkable codeJavaScript with type-check config (bindings/python/tree_sitter_scala/py.typed)
48.1/55Manageable file sizes4/32 source files over 60KB
Inputs used
primary_languageJavaScript
largest_source_bytes27,230,202
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 servernot applicable to this kind of software
40/40Runnable examplesexamples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_files
interfaces_expected_of
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

196GitHub stars
34contributors
390commits, last 12 months
2days since last push
18releases
2bus factor
9open issues
crates.io, Go, npm, PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • 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 196 stars today.

More detail

Star and fork history 194 ★ / 70 ⇿
194Stars
70Forks
16Releases

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.

0408012016020019469132018-022022-052026-08
Major 0Minor 6Patch 10

Each point covers 8 days.

OpenSSF Scorecard 5.5 / 10
5.5aggregate

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-08-27 20:53 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests12 out of 12 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
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
PyPIsetuptoolsindirect
PyPItree-sitterindirect
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 statisticsGo, crates.io, npm, PyPI.