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

alex-pinkus / tree-sitter-swift

A tree-sitter grammar for the Swift programming language.

JavaScript · CMIT★ 225 stars⑂ 119 forkssince Aug 2021View on GitHub ↗

alex-pinkus/tree-sitter-swift holds a health index of 78 out of 100, placing it in the Good band. It scores highest on Vitality (80/100) and lowest on AI Readiness (55/100). It was last updated 5 days ago. A single contributor accounts for most of its recent work.

78
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.

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

Ownership

Alex PinkusPersonal account
16 followers7 public repossince Mar 2020

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
crates.iotree-sitter-swift0.7.4902,8972420 days agoincrementalparsingswifttext-editors
npmtree-sitter-swift0.7.1852,15622488 days agoparserswift
PyPItree-sitter-swift0.7.42,456,078420 days agoincrementalparsingtree-sitterswift

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 5 days ago
22.2/36Commit cadence — 32/52 weeks with commits
16.3/18Commit volume — 64 commits in the last year
10/10OpenSSF Scorecard: Maintained — 27 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year64
Share of human-authored commits1
Days since last push5
Weeks with commits in the last year32
How it's scored
27/27Ships releases — 23 releases published
27/36Release recency — latest release 145 days ago
19.8/27Release cadence — a release every ~91 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
Number of releases23
Latest release tag0.7.3
Releases derived from version tagsno
Days since latest release145
Mean days between releases91

Community & Adoption

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

64Moderate · 17% of overall
How it's scored
38.1/60Stars — 225 stars
17.3/25Forks — 119 forks
0/15Watchers — 2 watchers
Inputs used
Forks119
Stars225
Watchers2
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)
0/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 README1
CONTRIBUTING guide presentno
Issue template presentno
Code of conduct presentno
Badge services used in the READMEgithub.com
Pull request template presentno
How it's scored
80/80Monthly downloads — 4,211,131 downloads/month across crates, npm, pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagestree-sitter-swift, tree-sitter-swift, tree-sitter-swift
Registry dependents—
Package ecosystemscrates, npm, pypi
Total downloads6,503,826
Monthly downloads4,211,131
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?

63Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
4.9/22.5Commit distribution — top contributor authored 78% of commits
13.5/13.5Contributor breadth — 37 contributors
10/10OpenSSF Scorecard: Contributors — project has 6 contributing companies or organizations
Inputs used
Bus factor1
Contributors sampled37
Share of commits by the top contributor0.782
How it's scored
30.6/42Issue resolution — 73% of issues closed
22.6/30PR acceptance — 374/497 decided PRs merged
13/13Newcomer PR acceptance — 6/6 first-time contributors' PRs merged in 30d
13.5/15OpenSSF Scorecard: Code-Review — Found 16/17 approved changesets -- score normalized to 9
Inputs used
Merged pull requests374
Open issues40
Closed issues107
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days7
Pull requests decided in the last 30 days7
Share of issues closed0.728
Pull requests closed without merging123
First-time contributors with a pull request decided in the last 30 days6
Pull requests from first-time contributors merged in the last 30 days6
Pull requests from first-time contributors decided in the last 30 days6
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
8.8/25Owner reach — 16 followers of alex-pinkus
18.6/25Track record — 7 public repos, account ~6 yr old
Inputs used
Followers16
Owner account typeUser
Verified domain—
Owner accountalex-pinkus
Public repositories7
Owner account age in days2,414
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 3 package(s) on crates, npm, pypi
35/35Publish recency — latest publish 20 days ago
20/20Version history — 24 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagestree-sitter-swift, tree-sitter-swift, tree-sitter-swift
Package ecosystemscrates, npm, pypi
Any package deprecated or yankedno
Days since latest package publish20

Engineering Quality

Are baseline engineering and documentation practices in place?

74Good · 19% of overall
How it's scored
24/24CI workflows — 10 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 27 out of 27 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-swift
10/10Repository description
10/10Topics — 3 topics
10/10Wiki
Inputs used
Repository topicsparser, swift, tree-sitter
Wiki enabledyes
Repository homepage—
Documentation sitehttps://docs.rs/tree-sitter-swift
README presentyes
Documentation directory presentno
Repository description presentyes

Security

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

56Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 27 out of 27 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.8/7.5Code-Review — Found 16/17 approved changesets -- score normalized to 9
2.5/2.5Contributors — project has 6 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 27 commit(s) and 1 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 — 36 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated17
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive1
OpenSSF Scorecard aggregate score4.5
Excluded from scoring (no data or not applicable): Branch-Protection. 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 packages36
Packages affected by advisories8
Packages assessed126
Packages not assessed5
Affected packages by severityhigh 7, moderate 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 126 resolved dependencies against OSV. 5 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.

55Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
19.7/40Legible commit history — 37 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.37
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_swift/py.typed
10/10Reproducible environment — lockfile
10/10Demonstrated agent practice — 11 of the last 100 commits agent-authored or agent-credited
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesgo.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_swift/py.typed
Share of commits authored by or credited to coding agents0.11
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_swift/py.typed)
53/55Manageable file sizes — 1/28 source files over 60KB
Inputs used
Primary languageJavaScript
Size of the largest source file (bytes)76,993
Source files sampled28
Oversized source files1

Key facts

225GitHub stars
37contributors
64commits, last 12 months
5days since last push
23releases
1bus factor
40open issues
crates.io, Go, npm, PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • Star history carried forward from 2026-07-14: GitHub restricted the stargazers API to repository admins, so it can no longer be collected. The repository has 225 stars today.
  • Could not fetch go package 'github.com/alex-pinkus/tree-sitter-swift' from its registry
  • Could not fetch npm package 'npm-tree-sitter-test' from its registry

More detail

Star and fork history 215 ★ / 119 ⇿
215Stars
119Forks
23Releases

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-14. 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.

04080120160200240215112102021-082024-032026-10
Major 0Minor 6Patch 14

Each point covers 5 days.

OpenSSF Scorecard 4.5 / 10
4.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-10-24 07:07 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests27 out of 27 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
9Code-ReviewFound 16/17 approved changesets -- score normalized to 9
10Contributorsproject has 6 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained27 commit(s) and 1 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
0Vulnerabilities36 existing vulnerabilities detected
Direct dependencies 8
RegistryPackageVersion constraintManifest
crates.iotree-sitter-language0.1.0Cargo.toml
Gogithub.com/tree-sitter/go-tree-sitterv0.23.1go.mod
npmnode-addon-api^8.0.0package.json
npmnode-gyp-build^4.8.0package.json
npmtree-sitter-cli^0.23package.json
npmwhich2.0.2package.json
npmtree-sitter^0.22.1test-npm-package/package.json
npmtree-sitter-swiftfile:../test-npm-package/package.json
All dependencies 131

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

RegistryPackageVersionRelation
crates.iotree-sitter-language—direct
Gogithub.com/tree-sitter/go-tree-sitter0.23.1direct
npmnode-addon-api8.0.0direct
npmnode-addon-api8.3.1direct
npmnode-gyp-build4.8.0direct
npmnode-gyp-build4.8.4direct
npmtree-sitter0.21.1direct
npmtree-sitter0.22.4direct
npmtree-sitter-cli0.23.0direct
npmwhich2.0.2direct
npmwhich4.0.0direct
crates.iocc—indirect
crates.iotree-sitter—indirect
Gogithub.com/mattn/go-pointer0.0.1indirect
npm..0.7.4indirect
npm@isaacs/cliui8.0.2indirect
npm@npmcli/agent2.2.1indirect
npm@npmcli/fs3.1.0indirect
npm@pkgjs/parseargs0.11.0indirect
npmabbrev2.0.0indirect
npmagent-base7.1.0indirect
npmaggregate-error3.1.0indirect
npmansi-regex5.0.1indirect
npmansi-regex6.0.1indirect
npmansi-styles4.3.0indirect
npmansi-styles6.2.1indirect
npmbalanced-match1.0.2indirect
npmbase64-js1.5.1indirect
npmbl4.1.0indirect
npmbrace-expansion2.0.1indirect
npmbuffer5.7.1indirect
npmcacache18.0.2indirect
npmchownr1.1.4indirect
npmchownr2.0.0indirect
npmclean-stack2.2.0indirect
npmcolor-convert2.0.1indirect
npmcolor-name1.1.4indirect
npmcross-spawn7.0.3indirect
npmdebug4.3.4indirect
npmeastasianwidth0.2.0indirect
npmemoji-regex8.0.0indirect
npmemoji-regex9.2.2indirect
npmencoding0.1.13indirect
npmend-of-stream1.4.4indirect
npmenv-paths2.2.1indirect
npmerr-code2.0.3indirect
npmexecspawn1.0.1indirect
npmexponential-backoff3.1.1indirect
npmforeground-child3.1.1indirect
npmfs-constants1.0.0indirect
npmfs-minipass2.1.0indirect
npmfs-minipass3.0.3indirect
npmglob10.3.10indirect
npmgraceful-fs4.2.11indirect
npmhttp-cache-semantics4.1.1indirect
npmhttp-proxy-agent7.0.2indirect
npmhttps-proxy-agent7.0.4indirect
npmiconv-lite0.6.3indirect
npmieee7541.2.1indirect
npmimurmurhash0.1.4indirect
npmindent-string4.0.0indirect
npminherits2.0.4indirect
npmip-address9.0.5indirect
npmis-fullwidth-code-point3.0.0indirect
npmis-lambda1.0.1indirect
npmisexe2.0.0indirect
npmisexe3.1.1indirect
npmjackspeak2.3.6indirect
npmjsbn1.1.0indirect
npmlru-cache10.2.0indirect
npmlru-cache6.0.0indirect
npmmake-fetch-happen13.0.0indirect
npmminimatch9.0.3indirect
npmminimist1.2.8indirect
npmminipass3.3.6indirect
npmminipass5.0.0indirect
npmminipass7.0.4indirect
npmminipass-collect2.0.1indirect
npmminipass-fetch3.0.4indirect
npmminipass-flush1.0.5indirect
npmminipass-pipeline1.2.4indirect
npmminipass-sized1.0.3indirect
npmminizlib2.1.2indirect
npmmkdirp1.0.4indirect
npmmkdirp-classic0.5.3indirect
npmms2.1.2indirect
npmnegotiator0.6.3indirect
npmnode-abi3.57.0indirect
npmnode-gyp10.0.1indirect
npmnopt7.2.0indirect
npmnpm-run-path3.1.0indirect
npmonce1.4.0indirect
npmp-map4.0.0indirect
npmpath-key3.1.1indirect
npmpath-scurry1.10.1indirect
npmprebuildify6.0.0indirect
npmprettier2.3.2indirect
npmproc-log3.0.0indirect
npmpromise-retry2.0.1indirect
npmpump3.0.0indirect
npmreadable-stream3.6.2indirect
npmretry0.12.0indirect
npmsafe-buffer5.2.1indirect
npmsafer-buffer2.1.2indirect
npmsemver7.6.0indirect
npmshebang-command2.0.0indirect
npmshebang-regex3.0.0indirect
npmsignal-exit4.1.0indirect
npmsmart-buffer4.2.0indirect
npmsocks2.8.1indirect
npmsocks-proxy-agent8.0.2indirect
npmsprintf-js1.1.3indirect
npmssri10.0.5indirect
npmstring-width4.2.3indirect
npmstring-width5.1.2indirect
npmstring_decoder1.3.0indirect
npmstrip-ansi6.0.1indirect
npmstrip-ansi7.1.0indirect
npmtar6.2.0indirect
npmtar-fs2.1.1indirect
npmtar-stream2.2.0indirect
npmunique-filename3.0.0indirect
npmunique-slug4.0.0indirect
npmutil-deprecate1.0.2indirect
npmutil-extend1.0.3indirect
npmwrap-ansi7.0.0indirect
npmwrap-ansi8.1.0indirect
npmwrappy1.0.2indirect
npmyallist4.0.0indirect
PyPIsetuptools—indirect
PyPItree-sitter—indirect
Dependency advisories 8

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

PackageVersionRelationSeverityAdvisoriesFixed in
brace-expansion2.0.1indirecthigh85.0.12
cross-spawn7.0.3indirecthigh17.0.5
glob10.3.10indirecthigh111.1.0
http-cache-semantics4.1.1indirecthigh1—
minimatch9.0.3indirecthigh310.2.3
tar6.2.0indirecthigh137.5.21
tar-fs2.1.1indirecthigh33.1.1
ip-address9.0.5indirectmoderate610.7.4

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 — crates.io, npm, PyPI.