Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-24 17:27 UTC

gmr / tree-sitter-postgres

Tree Sitter grammar for Postgres

JavaScript · PLpgSQLBSD-3-Clause★ 16 stars⑂ 2 forkssince Mar 2026View on GitHub ↗

gmr/tree-sitter-postgres holds a health index of 77 out of 100, placing it in the Good band. It scores highest on AI Readiness (81/100) and lowest on Community & Adoption (48/100). It was last updated 3 days ago. A single contributor accounts for most of its recent work.

77
overall / 100
Good

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.

77
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 66 is calibrated to 77 on the published index scale (record calibration 2026-08-02).

Ownership

Gavin M. RoyPersonal account
404 followers171 public repossince Jan 2009@aweber

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Gogithub.com/gmr/tree-sitter-postgresv1.2.4-14161 days ago—
crates.iotree-sitter-postgres19.0.04,567193 days agoincrementalparsingpostgrestree-sittertext-editors
npmtree-sitter-postgres19.0.02,024153 days agoparsertree-sitterpostgrespostgresqlsql
PyPItree-sitter-postgres19.0.01,258183 days agoincrementalparsingtree-sitterpostgres

Metrics by category

Vitality

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

80Excellent · 21% of overall
How it's scored
36/36Push recency — last push 3 days ago
9.7/36Commit cadence — 14/52 weeks with commits
18/18Commit volume — 119 commits in the last year
10/10OpenSSF Scorecard: Maintained — 29 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year119
Share of human-authored commits0.59
Days since last push3
Weeks with commits in the last year14
How it's scored
27/27Ships releases — 20 releases published
36/36Release recency — latest release 3 days ago
27/27Release cadence — a release every ~18 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
Number of releases20
Latest release tagv19.0.0
Releases derived from version tagsno
Days since latest release3
Mean days between releases18

Community & Adoption

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

48Weak · 17% of overall
How it's scored
19.1/60Stars — 16 stars
0/25Forks — 2 forks
0/15Watchers — 0 watchers
Inputs used
Forks2
Stars16
Watchers0
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (BSD-3-Clause)
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
51.9/80Monthly downloads — 7,849 downloads/month across crates, go, npm, pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesgithub.com/gmr/tree-sitter-postgres, tree-sitter-postgres, tree-sitter-postgres, tree-sitter-postgres
Registry dependents—
Package ecosystemscrates, go, npm, pypi
Total downloads19,154
Monthly downloads7,849
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?

62Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
2.4/22.5Commit distribution — top contributor authored 90% of commits
2.7/13.5Contributor breadth — 2 contributors
6/10OpenSSF Scorecard: Contributors — project has 2 contributing companies or organizations -- score normalized to 6
Inputs used
Bus factor1
Contributors sampled2
Share of commits by the top contributor0.895
How it's scored
42/42Issue resolution — 100% of issues closed
24.2/30PR acceptance — 71/88 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-Review — Found 0/11 approved changesets -- score normalized to 0
Inputs used
Merged pull requests71
Open issues0
Closed issues15
Pull requests merged in the last 7 days2
Pull requests decided in the last 7 days2
Pull requests merged in the last 30 days2
Pull requests decided in the last 30 days2
Share of issues closed1
Pull requests closed without merging17
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
18.7/25Owner reach — 404 followers of gmr
25/25Track record — 171 public repos, account ~17 yr old
Inputs used
Followers404
Owner account typeUser
Verified domain—
Owner accountgmr
Public repositories171
Owner account age in days6,510
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

77Good · 19% of overall
How it's scored
24/24CI workflows — 3 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
14/20OpenSSF Scorecard: CI-Tests — 21 out of 27 merged PRs checked by a CI test -- score normalized to 7
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentno
Pre-commit config presentno

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://docs.rs/tree-sitter-postgres
10/10Repository description
0/10Topics
10/10Wiki
Inputs used
Repository topics—
Wiki enabledyes
Repository homepage—
Documentation sitehttps://docs.rs/tree-sitter-postgres
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

54Moderate · 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
1.8/2.5CI-Tests — 21 out of 27 merged PRs checked by a CI test -- score normalized to 7
0/2.5CII-Best-Practices — no data
0/7.5Code-Review — Found 0/11 approved changesets -- score normalized to 0
1.5/2.5Contributors — project has 2 contributing companies or organizations -- score normalized to 6
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 — 29 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
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
0/7.5Vulnerabilities — 28 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated17
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive1
OpenSSF Scorecard aggregate score4.2
Excluded from scoring (no data or not applicable): CII-Best-Practices. 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 packages28
Packages affected by advisories2
Packages assessed71
Packages not assessed2
Affected packages by severityhigh 2
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 71 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.

81Excellent · 4% of overall
How it's scored
45/45Agent instructions — CLAUDE.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 53 of 59 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.898
Agent instruction filesCLAUDE.md
Size of the largest agent instruction file (bytes)3,816
How it's scored
18/18One-command bootstrap — justfile
22/22Automated tests
0/11Lint / format config
11/11Static type checking — bindings/python/tree_sitter_postgres/py.typed
10/10Reproducible environment — lockfile
10/10Demonstrated agent practice — 43 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 41 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesCargo.lock, package-lock.json
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesjustfile
Dev container config presentno
Linter config presentno
Static type-check config filesbindings/python/tree_sitter_postgres/py.typed
Share of commits authored by or credited to coding agents0.43
Toolchain manifestsCargo.toml, go.mod
Share of commits that are automated dependency updates0.41
How it's scored
27/45Type-checkable code — JavaScript with type-check config (bindings/python/tree_sitter_postgres/py.typed)
52.2/55Manageable file sizes — 2/40 source files over 60KB
Inputs used
Primary languageJavaScript
Size of the largest source file (bytes)824,791
Source files sampled40
Oversized source files2

Key facts

16GitHub stars
2contributors
119commits, last 12 months
3days since last push
20releases
1bus factor
0open issues
crates.io, Go, npm, PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • deps.dev does not index crates:tree-sitter-postgres@19.0.0; advisories assessed against the repository dependency graph instead

More detail

Star and fork history 0 ★ / 2 ⇿
0Stars
2Forks
5Releases

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.

111222212026-052026-052026-05
Major 0Minor 0Patch 5
OpenSSF Scorecard 4.2 / 10
4.2aggregate

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-11-24 17:26 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
7CI-Tests21 out of 27 merged PRs checked by a CI test -- score normalized to 7
n/aCII-Best-Practicesinternal error: error during json parsing: error during json.Unmarshal: invalid character '<' looking for beginning of value
0Code-ReviewFound 0/11 approved changesets -- score normalized to 0
6Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained29 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
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
0Vulnerabilities28 existing vulnerabilities detected
Direct dependencies 4
RegistryPackageVersion constraintManifest
crates.iotree-sitter-language0.1Cargo.toml
Gogithub.com/tree-sitter/go-tree-sitterv0.23.1go.mod
npmnode-addon-api^8.0.0package.json
npmnode-gyp-build^4.8.1package.json
All dependencies 73

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

RegistryPackageVersionRelation
crates.iotree-sitter-language0.1.9direct
Gogithub.com/tree-sitter/go-tree-sitterv0.23.1direct
npmnode-addon-api8.9.2direct
npmnode-gyp-build4.8.4direct
crates.ioaho-corasick1.1.4indirect
crates.iocc1.11.2indirect
crates.ioequivalent1.0.2indirect
crates.iofind-msvc-tools0.1.15indirect
crates.iohashbrown0.16.1indirect
crates.ioindexmap2.13.0indirect
crates.ioitoa1.0.18indirect
crates.iomemchr2.8.0indirect
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.151indirect
crates.ioshlex2.0.1indirect
crates.iostreaming-iterator0.1.9indirect
crates.iosyn2.0.117indirect
crates.iotree-sitter0.27.2indirect
crates.iounicode-ident1.0.24indirect
crates.iozmij1.0.21indirect
npm@isaacs/fs-minipass4.0.1indirect
npmabbrev5.0.0indirect
npmbase64-js1.5.1indirect
npmbl4.1.0indirect
npmbuffer5.7.1indirect
npmchownr1.1.4indirect
npmchownr3.0.0indirect
npmend-of-stream1.4.5indirect
npmenv-paths2.2.1indirect
npmexponential-backoff3.1.3indirect
npmfdir6.5.0indirect
npmfs-constants1.0.0indirect
npmgraceful-fs4.2.11indirect
npmieee7541.2.1indirect
npminherits2.0.4indirect
npmisexe4.0.0indirect
npmminimist1.2.8indirect
npmminipass7.1.3indirect
npmminizlib3.1.0indirect
npmmkdirp-classic0.5.3indirect
npmnode-abi3.89.0indirect
npmnode-gyp13.1.0indirect
npmnopt10.0.1indirect
npmnpm-run-path3.1.0indirect
npmonce1.4.0indirect
npmpath-key3.1.1indirect
npmpicomatch4.0.4indirect
npmprebuildify6.0.1indirect
npmproc-log7.0.0indirect
npmpump3.0.4indirect
npmreadable-stream3.6.2indirect
npmsafe-buffer5.2.1indirect
npmsemver7.7.4indirect
npmstring_decoder1.3.0indirect
npmtar7.5.16indirect
npmtar-fs2.1.4indirect
npmtar-stream2.2.0indirect
npmtinyglobby0.2.17indirect
npmtree-sitter-cli0.27.2indirect
npmundici8.6.0indirect
npmutil-deprecate1.0.2indirect
npmwhich7.0.0indirect
npmwrappy1.0.2indirect
npmyallist5.0.0indirect
PyPIsetuptools—indirect
PyPItree-sitter—indirect
Dependency advisories 2

This repository publishes no package the index resolves, so its own dependency graph was assessed — 71 packages, which also include development and test pins that never ship: 2 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
tar7.5.16indirecthigh57.5.21
undici8.6.0indirecthigh238.12.2

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.