Java grammar for tree-sitter
tree-sitter/tree-sitter-java 的健康指数为 100 分中的 50 分,处于「中等」区间。 其得分最高的类别是Sustainability & Governance(72/100),最低的是Vitality(24/100)。 最近一次更新在 255 天前。 近期的大部分工作由 2 位贡献者完成。
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 56 经校准后在公布的指数量表上为 59(记录校准 2026-08-02)。
| 注册表 | 软件包 | 版本 | 月下载量 | 版本数 | 最近发布 | 标签 |
|---|---|---|---|---|---|---|
| Go | github.com/tree-sitter/tree-sitter-java | v0.23.5 | - | 17 | 613 天前 | — |
| crates.io | tree-sitter-java | 0.23.5 | 1,404,952 | 11 | 613 天前 | incrementaljavaparsingtree-sittertext-editors |
| npm | tree-sitter-java | 0.23.5 | 970,346 | 12 | 613 天前 | incrementalparsingtree-sitterjava |
| PyPI | tree-sitter-java | 0.23.5 | 23,380,814 | 7 | 613 天前 | incrementalparsingtree-sitterjava |
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
仅有沉默从不构成判定——一个小而完备的库可能多年无需提交。此提示需同时满足两点:长期没有人类提交,且项目明显未履行应尽的义务。自动化提交不计作维护。
弃置状态如何评估| 3.6/36 | 推送新近度 — 最近一次推送于 255 天前 |
| 1.4/36 | 提交节奏 — 52 周中有 2 周有提交 |
| 4.3/18 | 提交量 — 最近一年 2 次提交 |
| 0/10 | OpenSSF Scorecard:Maintained — 0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0 |
| commits_last_year | 2 |
| human_commit_share | 0.96 |
| days_since_last_push | 255 |
| active_weeks_last_year | 2 |
| 27/27 | 有发布版本 — 已发布 6 个发布版本 |
| 7.2/36 | 发布时效 — 最近一次发布版本于 613 天前 |
| 12.6/27 | 发布节奏 — 约每 185.6 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — Project has not signed or included provenance with any releases. |
| releases_count | 6 |
| latest_release_tag | v0.23.5 |
| releases_from_tags | 否 |
| days_since_latest_release | 613 |
| mean_days_between_releases | 185.6 |
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
| 39.5/60 | 星标 — 275 个星标 |
| 17.9/25 | 复刻 — 142 个复刻 |
| 5.6/15 | 关注者 — 11 位关注者 |
| forks | 142 |
| stars | 275 |
| watchers | 11 |
| growth_state | unverified |
| growth_factor_pct | 100 |
| growth_unverified_reason | no_history |
| 22.5/22.5 | README |
| 22.5/22.5 | 许可证 — 可识别的许可证(MIT) |
| 0/18 | CONTRIBUTING 指南 |
| 0/13.5 | 行为准则 |
| 0/7.2 | 议题模板 |
| 0/6.3 | PR 模板 |
| has_readme | 是 |
| has_license | 是 |
| readme_badges | 0 |
| has_contributing | 否 |
| has_issue_template | 否 |
| has_code_of_conduct | 否 |
| readme_badge_services | — |
| has_pull_request_template | 否 |
| 80/80 | 月度下载量 — crates, go, npm, pypi 合计每月 25,756,112 次下载 |
| 0/20 | 注册表被依赖数 — 该生态系统不报告此项 |
| packages | github.com/tree-sitter/tree-sitter-java, tree-sitter-java, tree-sitter-java, tree-sitter-java |
| dependents | — |
| ecosystems | crates, go, npm, pypi |
| total_downloads | 10,443,891 |
| monthly_downloads | 25,756,112 |
| unverified_packages_excluded | — |
项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?
| 25.2/54 | 巴士系数 — 2 位贡献者贡献了半数提交 |
| 14.1/22.5 | 提交分布 — 头号贡献者编写了 38% 的提交 |
| 13.5/13.5 | 贡献者广度 — 33 位贡献者 |
| 10/10 | OpenSSF Scorecard:Contributors — project has 18 contributing companies or organizations |
| bus_factor | 2 |
| contributors_sampled | 33 |
| top_contributor_share | 0.375 |
| 38.5/42 | 议题解决 — 92% 的议题已关闭 |
| 21/30 | PR 接受 — 已裁定的 PR 中 68/97 已合并 |
| 0/13 | Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决 |
| 1.5/15 | OpenSSF Scorecard:Code-Review — Found 3/19 approved changesets -- score normalized to 1 |
| merged_prs | 68 |
| open_issues | 10 |
| closed_issues | 111 |
| prs_merged_7d | 0 |
| prs_decided_7d | 0 |
| prs_merged_30d | 0 |
| prs_decided_30d | 0 |
| issue_closed_ratio | 0.917 |
| closed_unmerged_prs | 29 |
| first_time_authors_30d | 0 |
| first_time_prs_merged_30d | 0 |
| first_time_prs_decided_30d | 0 |
| 30/30 | 所有权背书 — 组织持有 |
| 0/20 | 已验证域名 |
| 24.6/25 | 所有者影响力 — tree-sitter 有 2,654 位关注者 |
| 24.8/25 | 既往记录 — 56 个公开仓库,账户约 10 年 |
| followers | 2,654 |
| owner_type | Organization |
| is_verified | 否 |
| owner_login | tree-sitter |
| public_repos | 56 |
| account_age_days | 3,848 |
| 25/25 | 已发布且可解析 — crates, go, npm, pypi 上有 4 个软件包 |
| 14/35 | 发布时效 — 最近一次发布于 613 天前 |
| 20/20 | 版本历史 — 17 个已发布版本 |
| 20/20 | 未被弃用 — 活跃,未被弃用或撤回 |
| packages | github.com/tree-sitter/tree-sitter-java, tree-sitter-java, tree-sitter-java, tree-sitter-java |
| ecosystems | crates, go, npm, pypi |
| any_deprecated | 否 |
| min_days_since_publish | 613 |
基础的工程与文档实践是否到位?
| 24/24 | CI 工作流 — 3 个工作流 |
| 24/24 | 存在测试 |
| 16/16 | Linter 配置 — eslint.config.mjs |
| 0/9.6 | Pre-commit 钩子 |
| 6.4/6.4 | .editorconfig |
| 0/20 | OpenSSF Scorecard:CI-Tests — 0 out of 10 merged PRs checked by a CI test -- score normalized to 0 |
| has_ci | 是 |
| has_tests | 是 |
| has_editorconfig | 是 |
| has_linter_config | 是 |
| has_precommit_config | 否 |
| 30/30 | README |
| 0/25 | 文档目录 |
| 15/15 | 文档 / 主页站点 — https://docs.rs/tree-sitter-java |
| 10/10 | 仓库描述 |
| 10/10 | 主题标签 — 3 个主题标签 |
| 0/10 | Wiki |
| topics | java, tree-sitter, parser |
| has_wiki | 否 |
| homepage | — |
| docs_site | https://docs.rs/tree-sitter-java |
| has_readme | 是 |
| has_docs_dir | 否 |
| has_description | 是 |
可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?
| 7.5/7.5 | Binary-Artifacts — no binaries found in the repo |
| 3.8/7.5 | Branch-Protection — branch protection is not maximal on development and all release branches |
| 0/2.5 | CI-Tests — 0 out of 10 merged PRs checked by a CI test -- score normalized to 0 |
| 0/2.5 | CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected |
| 0.8/7.5 | Code-Review — Found 3/19 approved changesets -- score normalized to 1 |
| 2.5/2.5 | Contributors — project has 18 contributing companies or organizations |
| 10/10 | Dangerous-Workflow — no dangerous workflow patterns detected |
| 7.5/7.5 | Dependency-Update-Tool — update tool detected |
| 0/5 | Fuzzing — project is not fuzzed |
| 2.5/2.5 | 许可证 — license file detected |
| 0/7.5 | Maintained — 0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0 |
| 0/5 | Packaging — 无数据 |
| 0.5/5 | Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 1 |
| 0/5 | SAST — SAST tool is not run on all commits -- score normalized to 0 |
| 0/5 | Security-Policy — security policy file not detected |
| 0/7.5 | Signed-Releases — Project has not signed or included provenance with any releases. |
| 0/7.5 | Token-Permissions — detected GitHub workflow tokens with excessive permissions |
| 0/7.5 | Vulnerabilities — 21 existing vulnerabilities detected |
| source | openssf_scorecard |
| checks_evaluated | 17 |
| scorecard_version | v5.5.0 |
| checks_inconclusive | 1 |
| scorecard_aggregate | 3.5 |
| 35/35 | 直接依赖不含已知公告 — 没有直接依赖携带已知公告 |
| 0/25 | 间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分 |
| 0/40 | 没有长期未处理的公告 — 没有公告带有发布日期 |
| source | osv |
| advisories | 21 |
| affected_packages | 8 |
| assessed_packages | 140 |
| unassessed_packages | 0 |
| affected_by_severity | critical 1, high 5, moderate 2 |
| direct_affected_packages | 0 |
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
| 0/45 | 代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则 |
| 0/15 | 机器可读文档(llms.txt) |
| 38.9/40 | 可读的提交历史 — 96 次人类提交中有 70 次说明了意图(结构化标题或解释性正文) |
| has_llms_txt | 否 |
| llms_txt_url | — |
| legible_history_share | 0.729 |
| agent_instruction_files | — |
| agent_instruction_max_bytes | — |
| 18/18 | 一条命令的引导启动 — Makefile |
| 22/22 | 自动化测试 |
| 11/11 | Lint / 格式化配置 — eslint.config.mjs |
| 11/11 | 静态类型检查 — bindings/python/tree_sitter_java/py.typed |
| 10/10 | 可复现环境 — lockfile |
| 0/10 | 已体现的代理实践 — 最近 100 次提交中没有代理编写的提交 |
| 8/8 | 自动化维护 — 最近 100 次提交中有 4 次为自动依赖更新 |
| 1/10 | OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 1 |
| has_nix | 否 |
| has_tests | 是 |
| lockfiles | Cargo.lock, go.sum, package-lock.json |
| has_dockerfile | 否 |
| typed_language | 否 |
| bootstrap_files | Makefile |
| has_devcontainer | 否 |
| has_linter_config | 是 |
| typecheck_configs | bindings/python/tree_sitter_java/py.typed |
| agent_commit_share | 0 |
| toolchain_manifests | Cargo.toml, go.mod |
| dependency_bot_commit_share | 0.04 |
| 27/45 | 可类型检查的代码 — JavaScript,已配置类型检查(bindings/python/tree_sitter_java/py.typed) |
| 52.6/55 | 可控的文件大小 — 采样的 23 个源文件中有 1 个超过 60KB |
| primary_language | JavaScript |
| largest_source_bytes | 2,561,266 |
| source_files_sampled | 23 |
| oversized_source_files | 1 |
每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。
每个点涵盖 8 天。
来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。
| 10 | Binary-Artifacts | no binaries found in the repo |
| 5 | Branch-Protection | branch protection is not maximal on development and all release branches |
| 0 | CI-Tests | 0 out of 10 merged PRs checked by a CI test -- score normalized to 0 |
| 0 | CII-Best-Practices | no effort to earn an OpenSSF best practices badge detected |
| 1 | Code-Review | Found 3/19 approved changesets -- score normalized to 1 |
| 10 | Contributors | project has 18 contributing companies or organizations |
| 10 | Dangerous-Workflow | no dangerous workflow patterns detected |
| 10 | Dependency-Update-Tool | update tool detected |
| 0 | Fuzzing | project is not fuzzed |
| 10 | License | license file detected |
| 0 | Maintained | 0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0 |
| 不适用 | Packaging | packaging workflow not detected |
| 1 | Pinned-Dependencies | dependency not pinned by hash detected -- score normalized to 1 |
| 0 | SAST | SAST tool is not run on all commits -- score normalized to 0 |
| 0 | Security-Policy | security policy file not detected |
| 0 | Signed-Releases | Project has not signed or included provenance with any releases. |
| 0 | Token-Permissions | detected GitHub workflow tokens with excessive permissions |
| 0 | Vulnerabilities | 21 existing vulnerabilities detected |
| 注册表 | 软件包 | 版本约束 | 清单文件 |
|---|---|---|---|
| crates.io | tree-sitter-language | 0.1 | Cargo.toml |
| Go | github.com/tree-sitter/go-tree-sitter | v0.24.0 | go.mod |
| npm | node-addon-api | ^8.2.2 | package.json |
| npm | node-gyp-build | ^4.8.2 | package.json |
来自 GitHub 依赖图的完整解析依赖集合:4 个直接依赖与 136 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。
| 注册表 | 软件包 | 版本 | 关系 |
|---|---|---|---|
| crates.io | tree-sitter-language | 0.1.2 | 直接 |
| Go | github.com/tree-sitter/go-tree-sitter | 0.24.0 | 直接 |
| npm | node-addon-api | 8.2.2 | 直接 |
| npm | node-gyp-build | 4.8.2 | 直接 |
| crates.io | aho-corasick | 1.1.3 | 间接 |
| crates.io | cc | 1.2.5 | 间接 |
| crates.io | memchr | 2.7.4 | 间接 |
| crates.io | regex | 1.11.1 | 间接 |
| crates.io | regex-automata | 0.4.9 | 间接 |
| crates.io | regex-syntax | 0.8.5 | 间接 |
| crates.io | shlex | 1.3.0 | 间接 |
| crates.io | streaming-iterator | 0.1.9 | 间接 |
| crates.io | tree-sitter | 0.24.4 | 间接 |
| Go | github.com/mattn/go-pointer | 0.0.1 | 间接 |
| npm | @es-joy/jsdoccomment | 0.49.0 | 间接 |
| npm | @eslint-community/eslint-utils | 4.4.0 | 间接 |
| npm | @eslint-community/regexpp | 4.12.1 | 间接 |
| npm | @eslint/config-array | 0.18.0 | 间接 |
| npm | @eslint/core | 0.7.0 | 间接 |
| npm | @eslint/eslintrc | 3.1.0 | 间接 |
| npm | @eslint/js | 9.14.0 | 间接 |
| npm | @eslint/object-schema | 2.1.4 | 间接 |
| npm | @eslint/plugin-kit | 0.2.0 | 间接 |
| npm | @humanfs/core | 0.19.1 | 间接 |
| npm | @humanfs/node | 0.16.6 | 间接 |
| npm | @humanwhocodes/module-importer | 1.0.1 | 间接 |
| npm | @humanwhocodes/retry | 0.3.1 | 间接 |
| npm | @humanwhocodes/retry | 0.4.1 | 间接 |
| npm | @pkgr/core | 0.1.1 | 间接 |
| npm | @types/estree | 1.0.6 | 间接 |
| npm | @types/json-schema | 7.0.15 | 间接 |
| npm | acorn | 8.14.0 | 间接 |
| npm | acorn-jsx | 5.3.2 | 间接 |
| npm | ajv | 6.12.6 | 间接 |
| npm | ansi-styles | 4.3.0 | 间接 |
| npm | are-docs-informative | 0.0.2 | 间接 |
| npm | argparse | 2.0.1 | 间接 |
| npm | balanced-match | 1.0.2 | 间接 |
| npm | base64-js | 1.5.1 | 间接 |
| npm | bl | 4.1.0 | 间接 |
| npm | brace-expansion | 1.1.11 | 间接 |
| npm | buffer | 5.7.1 | 间接 |
| npm | callsites | 3.1.0 | 间接 |
| npm | chalk | 4.1.2 | 间接 |
| npm | chownr | 1.1.4 | 间接 |
| npm | color-convert | 2.0.1 | 间接 |
| npm | color-name | 1.1.4 | 间接 |
| npm | comment-parser | 1.4.1 | 间接 |
| npm | concat-map | 0.0.1 | 间接 |
| npm | cross-spawn | 7.0.3 | 间接 |
| npm | debug | 4.3.7 | 间接 |
| npm | deep-is | 0.1.4 | 间接 |
| npm | end-of-stream | 1.4.4 | 间接 |
| npm | es-module-lexer | 1.5.4 | 间接 |
| npm | escape-string-regexp | 4.0.0 | 间接 |
| npm | eslint | 9.14.0 | 间接 |
| npm | eslint-config-treesitter | 1.0.2 | 间接 |
| npm | eslint-plugin-jsdoc | 50.4.1 | 间接 |
| npm | eslint-scope | 8.2.0 | 间接 |
| npm | eslint-visitor-keys | 3.4.3 | 间接 |
| npm | eslint-visitor-keys | 4.2.0 | 间接 |
| npm | espree | 10.3.0 | 间接 |
| npm | esquery | 1.6.0 | 间接 |
| npm | esrecurse | 4.3.0 | 间接 |
| npm | estraverse | 5.3.0 | 间接 |
| npm | esutils | 2.0.3 | 间接 |
| npm | fast-deep-equal | 3.1.3 | 间接 |
| npm | fast-json-stable-stringify | 2.1.0 | 间接 |
| npm | fast-levenshtein | 2.0.6 | 间接 |
| npm | file-entry-cache | 8.0.0 | 间接 |
| npm | find-up | 5.0.0 | 间接 |
| npm | flat-cache | 4.0.1 | 间接 |
| npm | flatted | 3.3.1 | 间接 |
| npm | fs-constants | 1.0.0 | 间接 |
| npm | glob-parent | 6.0.2 | 间接 |
| npm | globals | 14.0.0 | 间接 |
| npm | has-flag | 4.0.0 | 间接 |
| npm | ieee754 | 1.2.1 | 间接 |
| npm | ignore | 5.3.2 | 间接 |
| npm | import-fresh | 3.3.0 | 间接 |
| npm | imurmurhash | 0.1.4 | 间接 |
| npm | inherits | 2.0.4 | 间接 |
| npm | is-extglob | 2.1.1 | 间接 |
| npm | is-glob | 4.0.3 | 间接 |
| npm | isexe | 2.0.0 | 间接 |
| npm | js-yaml | 4.1.0 | 间接 |
| npm | jsdoc-type-pratt-parser | 4.1.0 | 间接 |
| npm | json-buffer | 3.0.1 | 间接 |
| npm | json-schema-traverse | 0.4.1 | 间接 |
| npm | json-stable-stringify-without-jsonify | 1.0.1 | 间接 |
| npm | keyv | 4.5.4 | 间接 |
| npm | levn | 0.4.1 | 间接 |
| npm | locate-path | 6.0.0 | 间接 |
| npm | lodash.merge | 4.6.2 | 间接 |
| npm | minimatch | 3.1.2 | 间接 |
| npm | minimist | 1.2.8 | 间接 |
| npm | mkdirp-classic | 0.5.3 | 间接 |
| npm | ms | 2.1.3 | 间接 |
| npm | natural-compare | 1.4.0 | 间接 |
| npm | node-abi | 3.69.0 | 间接 |
| npm | npm-run-path | 3.1.0 | 间接 |
| npm | once | 1.4.0 | 间接 |
| npm | optionator | 0.9.4 | 间接 |
| npm | p-limit | 3.1.0 | 间接 |
| npm | p-locate | 5.0.0 | 间接 |
| npm | parent-module | 1.0.1 | 间接 |
| npm | parse-imports | 2.2.1 | 间接 |
| npm | path-exists | 4.0.0 | 间接 |
| npm | path-key | 3.1.1 | 间接 |
| npm | prebuildify | 6.0.1 | 间接 |
| npm | prelude-ls | 1.2.1 | 间接 |
| npm | pump | 3.0.2 | 间接 |
| npm | punycode | 2.3.1 | 间接 |
| npm | readable-stream | 3.6.2 | 间接 |
| npm | resolve-from | 4.0.0 | 间接 |
| npm | safe-buffer | 5.2.1 | 间接 |
| npm | semver | 7.6.3 | 间接 |
| npm | shebang-command | 2.0.0 | 间接 |
| npm | shebang-regex | 3.0.0 | 间接 |
| npm | slashes | 3.0.12 | 间接 |
| npm | spdx-exceptions | 2.5.0 | 间接 |
| npm | spdx-expression-parse | 4.0.0 | 间接 |
| npm | spdx-license-ids | 3.0.20 | 间接 |
| npm | string_decoder | 1.3.0 | 间接 |
| npm | strip-json-comments | 3.1.1 | 间接 |
| npm | supports-color | 7.2.0 | 间接 |
| npm | synckit | 0.9.2 | 间接 |
| npm | tar-fs | 2.1.1 | 间接 |
| npm | tar-stream | 2.2.0 | 间接 |
| npm | text-table | 0.2.0 | 间接 |
| npm | tree-sitter | 0.21.1 | 间接 |
| npm | tree-sitter-cli | 0.24.4 | 间接 |
| npm | tslib | 2.7.0 | 间接 |
| npm | type-check | 0.4.0 | 间接 |
| npm | uri-js | 4.4.1 | 间接 |
| npm | util-deprecate | 1.0.2 | 间接 |
| npm | which | 2.0.2 | 间接 |
| npm | word-wrap | 1.2.5 | 间接 |
| npm | wrappy | 1.0.2 | 间接 |
| npm | yocto-queue | 0.1.0 | 间接 |
该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 140 个包,其中也包含从不交付的开发与测试版本固定:8 个存在已知公告,0 个为直接依赖。
| 软件包 | 版本 | 关系 | 严重程度 | 公告数 | 修复版本 |
|---|---|---|---|---|---|
| flatted | 3.3.1 | 间接 | 严重 | 2 | 3.4.2 |
| brace-expansion | 1.1.11 | 间接 | 高 | 5 | 5.0.9 |
| cross-spawn | 7.0.3 | 间接 | 高 | 1 | 7.0.5 |
| js-yaml | 4.1.0 | 间接 | 高 | 4 | 4.3.1 |
| minimatch | 3.1.2 | 间接 | 高 | 3 | 10.2.3 |
| tar-fs | 2.1.1 | 间接 | 高 | 3 | 3.1.1 |
| @eslint/plugin-kit | 0.2.0 | 间接 | 中 | 2 | 0.3.4 |
| ajv | 6.12.6 | 间接 | 中 | 1 | 8.18.0 |
公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。