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

alex-pinkus / tree-sitter-swift

A tree-sitter grammar for the Swift programming language.

JavaScript · CMIT★ 219 stars⑂ 96 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 (81/100) and lowest on AI Readiness (52/100). It was last updated 2 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.3748,5982387 days agoincrementalparsingswifttext-editors
npmtree-sitter-swift0.7.1212,56122430 days agoparserswift
PyPItree-sitter-swift0.7.33,331,107387 days agoincrementalparsingtree-sitterswift

Metrics by category

Vitality

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

81Excellent · 21% of overall
How it's scored
36/36Push recencylast push 2 days ago
18/36Commit cadence26/52 weeks with commits
14.8/18Commit volume44 commits in the last year
10/10OpenSSF Scorecard: Maintained16 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year44
human_commit_share1
days_since_last_push2
active_weeks_last_year26
How it's scored
27/27Ships releases23 releases published
36/36Release recencylatest release 87 days ago
19.8/27Release cadencea release every ~91 days
0/10OpenSSF Scorecard: Signed-ReleasesProject has not signed or included provenance with any releases.
Inputs used
releases_count23
latest_release_tag0.7.3
releases_from_tagsno
days_since_latest_release87
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
37.9/60Stars219 stars
16.5/25Forks96 forks
0/15Watchers2 watchers
Inputs used
forks96
stars219
watchers2
growth_stateorganic
growth_factor_pct100
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges1
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_servicesgithub.com
has_pull_request_templateno
How it's scored
80/80Monthly downloads4,292,266 downloads/month across crates, npm, pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagestree-sitter-swift, tree-sitter-swift, tree-sitter-swift
dependents
ecosystemscrates, npm, pypi
total_downloads4,703,979
monthly_downloads4,292,266
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?

62Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
4.5/22.5Commit distributiontop contributor authored 80% of commits
13.5/13.5Contributor breadth28 contributors
10/10OpenSSF Scorecard: Contributorsproject has 7 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled28
top_contributor_share0.802
How it's scored
33.6/42Issue resolution80% of issues closed
22.4/30PR acceptance357/479 decided PRs merged
13/13Newcomer PR acceptance4/4 first-time contributors' PRs merged in 30d
9/15OpenSSF Scorecard: Code-ReviewFound 12/19 approved changesets -- score normalized to 6
Inputs used
merged_prs357
open_issues26
closed_issues104
prs_merged_7d1
prs_decided_7d1
prs_merged_30d4
prs_decided_30d4
issue_closed_ratio0.8
closed_unmerged_prs122
first_time_authors_30d4
first_time_prs_merged_30d4
first_time_prs_decided_30d4
How it's scored
10/30Ownership backingpersonal (user) account
0/20Verified domainnot applicable to user accounts
8.8/25Owner reach16 followers of alex-pinkus
18.6/25Track record7 public repos, account ~6 yr old
Inputs used
followers16
owner_typeUser
is_verified
owner_loginalex-pinkus
public_repos7
account_age_days2,356
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable3 package(s) on crates, npm, pypi
35/35Publish recencylatest publish 87 days ago
20/20Version history23 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagestree-sitter-swift, tree-sitter-swift, tree-sitter-swift
ecosystemscrates, npm, pypi
any_deprecatedno
min_days_since_publish87

Engineering Quality

Are baseline engineering and documentation practices in place?

74Good · 19% of overall
How it's scored
24/24CI workflows10 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests28 out of 28 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-swift
10/10Repository description
10/10Topics3 topics
10/10Wiki
Inputs used
topicsparser, swift, tree-sitter
has_wikiyes
homepage
docs_sitehttps://docs.rs/tree-sitter-swift
has_readmeyes
has_docs_dirno
has_descriptionyes

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-Artifactsno binaries found in the repo
0/7.5Branch-Protectionno data
2.5/2.5CI-Tests28 out of 28 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
4.5/7.5Code-ReviewFound 12/19 approved changesets -- score normalized to 6
2.5/2.5Contributorsproject has 7 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained16 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
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
0/7.5Vulnerabilities28 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate4.3
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 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
advisories28
affected_packages7
assessed_packages126
unassessed_packages5
affected_by_severityhigh 6, moderate 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 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.

52Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
14.4/40Legible commit history27 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.27
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_swift/py.typed
10/10Reproducible environmentlockfile
10/10Demonstrated agent practice5 of the last 100 commits agent-authored or agent-credited
0/8Automated maintenanceno automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesgo.sum, package-lock.json
has_dockerfileno
typed_languageno
bootstrap_filesMakefile
has_devcontainerno
has_linter_configno
typecheck_configsbindings/python/tree_sitter_swift/py.typed
agent_commit_share0.05
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_swift/py.typed)
53/55Manageable file sizes1/28 source files over 60KB
Inputs used
primary_languageJavaScript
largest_source_bytes73,144
source_files_sampled28
oversized_source_files1

Key facts

219GitHub stars
28contributors
44commits, last 12 months
2days since last push
23releases
1bus factor
26open 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-14: GitHub restricted the stargazers API to repository admins, so it can no longer be collected. The repository has 219 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 ★ / 96 ⇿
215Stars
96Forks
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.

0408012016020024021591102021-082024-022026-08
Major 0Minor 6Patch 14

Each point covers 5 days.

OpenSSF Scorecard 4.3 / 10
4.3aggregate

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:28 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-Tests28 out of 28 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
6Code-ReviewFound 12/19 approved changesets -- score normalized to 6
10Contributorsproject has 7 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained16 commit(s) and 5 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 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-languagedirect
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.ioccindirect
crates.iotree-sitterindirect
Gogithub.com/mattn/go-pointer0.0.1indirect
npm..0.7.3indirect
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
PyPIsetuptoolsindirect
PyPItree-sitterindirect
Dependency advisories 7

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: 7 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.1indirecthigh55.0.9
cross-spawn7.0.3indirecthigh17.0.5
glob10.3.10indirecthigh111.1.0
minimatch9.0.3indirecthigh310.2.3
tar6.2.0indirecthigh137.5.21
tar-fs2.1.1indirecthigh33.1.1
ip-address9.0.5indirectmoderate210.3.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 statisticscrates.io, npm, PyPI.