公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-09-19 22:59 UTC

mdn / tree-sitter-mdn

MDN's macro grammar for tree-sitter

JavaScriptMIT★ 4 星标⑂ 4 复刻始于 2025年5月在 GitHub 上查看 ↗
类型如何判定

mdn/tree-sitter-mdn 的健康指数为 100 分中的 83 分,处于「优秀」区间。 其得分最高的类别是Vitality(90/100),最低的是Community & Adoption(42/100)。 最近一次更新在 2 天前。 近期的大部分工作由 1 位贡献者完成。

83
总分 / 100
优秀

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

83
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 70 经校准后在公布的指数量表上为 83(记录校准 2026-08-02)。

所有权

13,215 关注者134 个公开仓库始于 2014年5月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
Gogithub.com/mdn/tree-sitter-mdnv0.1.7-612 天前
crates.iotree-sitter-mdn0.1.7930812 天前incrementalmdnparsingtree-sittertext-editors

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

90优秀 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 2 天前
30.5/36提交节奏52 周中有 44 周有提交
18/18提交量最近一年 140 次提交
10/10OpenSSF Scorecard:Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year140
human_commit_share0.16
days_since_last_push2
active_weeks_last_year44

发布纪律

83优秀
评分方式
27/27有发布版本已发布 6 个发布版本
36/36发布时效最近一次发布版本于 12 天前
19.8/27发布节奏约每 61.2 天发布一次
0/10OpenSSF Scorecard:Signed-ReleasesProject has not signed or included provenance with any releases.
所用输入
releases_count6
latest_release_tagv0.1.7
releases_from_tags
days_since_latest_release12
mean_days_between_releases61.2

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

42薄弱 · 占总体的 17%
评分方式
7.7/60星标4 个星标
4/25复刻4 个复刻
0/15关注者2 位关注者
所用输入
forks4
stars4
watchers2
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

72良好
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(MIT)
0/18CONTRIBUTING 指南
13.5/13.5行为准则
0/7.2议题模板
6.3/6.3PR 模板
所用输入
has_readme
has_license
readme_badges0
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template
评分方式
39.6/80月度下载量crates, go 合计每月 930 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packagesgithub.com/mdn/tree-sitter-mdn, tree-sitter-mdn
dependents
ecosystemscrates, go
total_downloads9,876
monthly_downloads930
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

62中等 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
7/22.5提交分布头号贡献者编写了 69% 的提交
5.4/13.5贡献者广度4 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 3 contributing companies or organizations -- score normalized to 10
所用输入
bus_factor1
contributors_sampled4
top_contributor_share0.69
评分方式
0/42议题解决0% 的议题已关闭
27.8/30PR 接受已裁定的 PR 中 139/150 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
15/15OpenSSF Scorecard:Code-Reviewall changesets reviewed
所用输入
merged_prs139
open_issues1
closed_issues0
prs_merged_7d0
prs_decided_7d0
prs_merged_30d4
prs_decided_30d4
issue_closed_ratio0
closed_unmerged_prs11
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
0/20已验证域名
25/25所有者影响力mdn 有 13,215 位关注者
25/25既往记录134 个公开仓库,账户约 12 年
所用输入
followers13,215
owner_typeOrganization
is_verified
owner_loginmdn
public_repos134
account_age_days4,512
评分方式
25/25已发布且可解析crates, go 上有 2 个软件包
35/35发布时效最近一次发布于 12 天前
20/20版本历史8 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagesgithub.com/mdn/tree-sitter-mdn, tree-sitter-mdn
ecosystemscrates, go
any_deprecated
min_days_since_publish12

工程质量

基础的工程与文档实践是否到位?

76良好 · 占总体的 19%

工程实践

90优秀
评分方式
24/24CI 工作流5 个工作流
24/24存在测试
16/16Linter 配置eslint.config.mjs
0/9.6Pre-commit 钩子
6.4/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

55中等
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点https://docs.rs/tree-sitter-mdn
10/10仓库描述
0/10主题标签
0/10Wiki
所用输入
topics
has_wiki
homepage
docs_sitehttps://docs.rs/tree-sitter-mdn
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

79良好 · 占总体的 16%

安全态势

74良好
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protection无数据
2.5/2.5CI-Tests30 out of 30 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 3 contributing companies or organizations -- score normalized to 10
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
7.5/7.5Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
3.5/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 7
5/5SASTSAST tool is run on all commits
5/5Security-Policysecurity policy file 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/7.5Vulnerabilities2 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate7.4
已排除计分(无数据或不适用):Branch-Protection。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
0/25间接依赖不含已知公告在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告没有公告带有发布日期
所用输入
sourceosv
advisories2
affected_packages1
assessed_packages156
unassessed_packages0
affected_by_severityhigh 1
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 156 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

56中等 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
0/40可读的提交历史无数据
所用输入
has_llms_txt
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
已排除计分(无数据或不适用):可读的提交历史。 其余权重已重新归一化。
评分方式
18/18一条命令的引导启动Makefile
22/22自动化测试
11/11Lint / 格式化配置eslint.config.mjs
11/11静态类型检查bindings/python/tree_sitter_mdn/py.typed
10/10可复现环境lockfile
0/10已体现的代理实践最近 100 次提交中没有代理编写的提交
8/8自动化维护最近 100 次提交中有 84 次为自动依赖更新
7/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 7
所用输入
has_nix
has_tests
lockfilesCargo.lock, package-lock.json
has_dockerfile
typed_language
bootstrap_filesMakefile
has_devcontainer
has_linter_config
typecheck_configsbindings/python/tree_sitter_mdn/py.typed
agent_commit_share0
toolchain_manifestsCargo.toml, go.mod
dependency_bot_commit_share0.84
评分方式
27/45可类型检查的代码JavaScript,已配置类型检查(bindings/python/tree_sitter_mdn/py.typed)
55/55可控的文件大小采样的 22 个源文件中有 0 个超过 60KB
所用输入
primary_languageJavaScript
largest_source_bytes42,331
source_files_sampled22
oversized_source_files0

关键数据

4GitHub 星标
4贡献者
140最近 12 个月提交数
2距最近推送天数
6发布版本数
1巴士系数(bus factor)
1开放议题
crates.io, Go, npm, PyPI软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • Could not fetch npm package 'tree-sitter-mdn' from its registry
  • Could not fetch pypi package 'tree-sitter-mdn' from its registry

更多细节

Star 与 Fork 历史 0 ★ / 4 ⇿
0Star
4Fork
4发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

1223344412025-062025-122026-07
主版本 0次版本 0修订 4

每个点涵盖 2 天。

OpenSSF Scorecard 7.4 / 10
7.4综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-09-19 22:59 UTC

10Binary-Artifactsno binaries found in the repo
不适用Branch-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-Tests30 out of 30 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 3 contributing companies or organizations -- score normalized to 10
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
7Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 7
10SASTSAST tool is run on all commits
10Security-Policysecurity policy file detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
8Vulnerabilities2 existing vulnerabilities detected
直接依赖 2
注册表软件包版本约束清单文件
crates.iotree-sitter-language0.1Cargo.toml
Gogithub.com/tree-sitter/go-tree-sitterv0.24.0go.mod
全部依赖 156

来自 GitHub 依赖图的完整解析依赖集合:2 个直接依赖与 154 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
crates.iotree-sitter-language0.1.8直接
Gogithub.com/tree-sitter/go-tree-sitter0.24.0直接
crates.ioaho-corasick1.1.3间接
crates.iocc1.4.5间接
crates.ioequivalent1.0.2间接
crates.iofind-msvc-tools0.1.12间接
crates.iohashbrown0.15.3间接
crates.ioindexmap2.9.0间接
crates.ioitoa1.0.15间接
crates.iomemchr2.7.4间接
crates.ioproc-macro21.0.95间接
crates.ioquote1.0.40间接
crates.ioregex1.13.1间接
crates.ioregex-automata0.4.18间接
crates.ioregex-syntax0.8.11间接
crates.ioserde1.0.228间接
crates.ioserde_core1.0.228间接
crates.ioserde_derive1.0.228间接
crates.ioserde_json1.0.151间接
crates.ioshlex2.0.1间接
crates.iostreaming-iterator0.1.9间接
crates.iosyn2.0.101间接
crates.iotree-sitter0.27.0间接
crates.iounicode-ident1.0.18间接
crates.iozmij1.0.12间接
npm@cacheable/memory2.2.0间接
npm@cacheable/utils2.5.0间接
npm@es-joy/jsdoccomment0.50.2间接
npm@eslint-community/eslint-utils4.9.0间接
npm@eslint-community/regexpp4.12.2间接
npm@eslint/config-array0.23.5间接
npm@eslint/config-helpers0.7.0间接
npm@eslint/core1.2.1间接
npm@eslint/object-schema3.0.5间接
npm@eslint/plugin-kit0.7.3间接
npm@humanfs/core0.19.2间接
npm@humanfs/node0.16.8间接
npm@humanfs/types0.15.0间接
npm@humanwhocodes/module-importer1.0.1间接
npm@humanwhocodes/retry0.4.3间接
npm@keyv/bigmap1.3.1间接
npm@keyv/serialize1.1.1间接
npm@types/esrecurse4.3.1间接
npm@types/estree1.0.8间接
npm@types/json-schema7.0.15间接
npm@typescript-eslint/types8.56.1间接
npmacorn8.16.0间接
npmacorn-jsx5.3.2间接
npmajv6.14.0间接
npmare-docs-informative0.0.2间接
npmb4a1.7.3间接
npmbalanced-match4.0.4间接
npmbare-events2.7.0间接
npmbare-fs4.4.5间接
npmbare-os3.6.2间接
npmbare-path3.0.0间接
npmbare-stream2.7.0间接
npmbare-url2.2.2间接
npmbase64-js1.5.1间接
npmbl4.1.0间接
npmbrace-expansion5.0.7间接
npmbuffer5.7.1间接
npmcacheable2.5.0间接
npmchownr1.1.4间接
npmcomment-parser1.4.1间接
npmcross-spawn7.0.6间接
npmdebug4.4.1间接
npmdeep-is0.1.4间接
npmend-of-stream1.4.4间接
npmescape-string-regexp4.0.0间接
npmeslint10.10.0间接
npmeslint-config-treesitter1.0.2间接
npmeslint-plugin-jsdoc50.8.0间接
npmeslint-scope9.1.2间接
npmeslint-visitor-keys3.4.3间接
npmeslint-visitor-keys4.2.1间接
npmeslint-visitor-keys5.0.1间接
npmespree10.4.0间接
npmespree11.2.0间接
npmesquery1.7.0间接
npmesrecurse4.3.0间接
npmestraverse5.3.0间接
npmesutils2.0.3间接
npmevents-universal1.0.1间接
npmfast-deep-equal3.1.3间接
npmfast-fifo1.3.2间接
npmfast-json-stable-stringify2.1.0间接
npmfast-levenshtein2.0.6间接
npmfile-entry-cache11.1.5间接
npmfind-up5.0.0间接
npmflat-cache6.1.23间接
npmflatted3.4.4间接
npmfs-constants1.0.0间接
npmglob-parent6.0.2间接
npmglobals17.12.0间接
npmhashery1.5.1间接
npmhookified1.15.1间接
npmhookified2.2.0间接
npmieee7541.2.1间接
npmignore5.3.2间接
npmimurmurhash0.1.4间接
npminherits2.0.4间接
npmis-extglob2.1.1间接
npmis-glob4.0.3间接
npmisexe2.0.0间接
npmjsdoc-type-pratt-parser4.1.0间接
npmjson-schema-traverse0.4.1间接
npmjson-stable-stringify-without-jsonify1.0.1间接
npmkeyv5.6.0间接
npmlevn0.4.1间接
npmlocate-path6.0.0间接
npmminimatch10.2.5间接
npmminimist1.2.8间接
npmmkdirp-classic0.5.3间接
npmms2.1.3间接
npmnatural-compare1.4.0间接
npmnode-abi3.75.0间接
npmnode-addon-api8.9.2间接
npmnode-gyp-build4.8.4间接
npmnpm-run-path3.1.0间接
npmonce1.4.0间接
npmoptionator0.9.4间接
npmp-limit3.1.0间接
npmp-locate5.0.0间接
npmparse-imports-exports0.2.4间接
npmparse-statements1.0.11间接
npmpath-exists4.0.0间接
npmpath-key3.1.1间接
npmprebuildify6.0.1间接
npmprelude-ls1.2.1间接
npmpump3.0.2间接
npmpunycode2.3.1间接
npmqified0.10.1间接
npmreadable-stream3.6.2间接
npmsafe-buffer5.2.1间接
npmsemver7.7.2间接
npmshebang-command2.0.0间接
npmshebang-regex3.0.0间接
npmspdx-exceptions2.5.0间接
npmspdx-expression-parse4.0.0间接
npmspdx-license-ids3.0.23间接
npmstreamx2.23.0间接
npmstring_decoder1.3.0间接
npmtar-fs2.1.4间接
npmtar-fs3.1.3间接
npmtar-stream2.2.0间接
npmtar-stream3.1.7间接
npmtext-decoder1.2.3间接
npmtree-sitter-cli0.27.0间接
npmtype-check0.4.0间接
npmuri-js4.4.1间接
npmutil-deprecate1.0.2间接
npmwhich2.0.2间接
npmword-wrap1.2.5间接
npmwrappy1.0.2间接
npmyocto-queue0.1.0间接
依赖安全公告 1

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 156 个包,其中也包含从不交付的开发与测试版本固定:1 个存在已知公告,0 个为直接依赖。

软件包版本关系严重程度公告数修复版本
brace-expansion5.0.7间接25.0.9

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.34.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计Go, crates.io.