公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-09-12 02:55 UTC

ehabterra / apispec

APISpec - Generate OpenAPI 3.1 specs from Go code with intelligent framework detection and call graph analysis. Supports Gin, Echo, Chi, Fiber, and net/http.

GoApache-2.0★ 85 星标⑂ 5 复刻始于 2025年6月在 GitHub 上查看 ↗
类型库应用程序如何判定

ehabterra/apispec 的健康指数为 100 分中的 84 分,处于「优秀」区间。 其得分最高的类别是Engineering Quality(90/100),最低的是Security(53/100)。 最近一次更新在今天。 近期的大部分工作由 1 位贡献者完成。

84
总分 / 100
优秀

软件健康指数

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

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

评分画像

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

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

所有权

Ehab Terra个人账户
16 关注者36 个公开仓库始于 2016年5月

该仓库由个人账户拥有。相较于组织支持的项目,单一所有者项目的延续性风险更高。

软件包生态系统

注册表软件包版本月下载量版本数最近发布
Gogithub.com/ehabterra/apispecv0.5.8-3114 天前

按类别列示的指标

活力

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

89优秀 · 占总体的 21%
评分方式
36/36推送新近度 — 最近一次推送于 0 天前
23.5/36提交节奏 — 52 周中有 34 周有提交
18/18提交量 — 最近一年 962 次提交
10/10OpenSSF Scorecard:Maintained — 30 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year962
human_commit_share1
days_since_last_push0
active_weeks_last_year34

发布纪律

90优秀
评分方式
27/27有发布版本 — 已发布 24 个发布版本
36/36发布时效 — 最近一次发布版本于 14 天前
27/27发布节奏 — 约每 5.6 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — Project has not signed or included provenance with any releases.
所用输入
releases_count24
latest_release_tagv0.5.8
releases_from_tags否
days_since_latest_release14
mean_days_between_releases5.6

社区与采用

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

59中等 · 占总体的 17%
评分方式
31.2/60星标 — 85 个星标
5/25复刻 — 5 个复刻
0/15关注者 — 1 位关注者
所用输入
forks5
stars85
watchers1
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

85优秀
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(Apache-2.0)
18/18CONTRIBUTING 指南
13.5/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme是
has_license是
readme_badges8
has_contributing是
has_issue_template否
has_code_of_conduct是
readme_badge_servicespkg.go.dev, shields.io
has_pull_request_template否

可持续性与治理

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

57中等 · 占总体的 23%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
2.2/22.5提交分布 — 头号贡献者编写了 90% 的提交
6.8/13.5贡献者广度 — 5 位贡献者
6/10OpenSSF Scorecard:Contributors — project has 2 contributing companies or organizations -- score normalized to 6
所用输入
bus_factor1
contributors_sampled5
top_contributor_share0.902
评分方式
29.4/42议题解决 — 70% 的议题已关闭
29.2/30PR 接受 — 已裁定的 PR 中 307/315 已合并
0/13Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-Review — Found 0/11 approved changesets -- score normalized to 0
所用输入
merged_prs307
open_issues47
closed_issues109
prs_merged_7d13
prs_decided_7d13
prs_merged_30d59
prs_decided_30d59
issue_closed_ratio0.699
closed_unmerged_prs8
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
8.8/25所有者影响力 — ehabterra 有 16 位关注者
23.4/25既往记录 — 36 个公开仓库,账户约 10 年
所用输入
followers16
owner_typeUser
is_verified—
owner_loginehabterra
public_repos36
account_age_days3,756
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — go 上有 1 个软件包
35/35发布时效 — 最近一次发布于 14 天前
20/20版本历史 — 31 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packagesgithub.com/ehabterra/apispec
ecosystemsgo
any_deprecated否
min_days_since_publish14

工程质量

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

90优秀 · 占总体的 19%

工程实践

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

文档

100卓越
评分方式
30/30README
25/25文档目录
15/15文档 / 主页站点 — https://apispec.ehabterra.com
10/10仓库描述
10/10主题标签 — 13 个主题标签
10/10Wiki
所用输入
topicsapi-documentation, chi, echo, fiber, gin, go, openapi, openapi-generator, static-analysis, swagger, apispec, openapi3, openapi31
has_wiki是
homepagehttps://apispec.ehabterra.com
docs_sitehttps://apispec.ehabterra.com
has_readme是
has_docs_dir是
has_description是

安全

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

53中等 · 占总体的 16%

安全态势

41薄弱
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
2.2/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 10 out of 10 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
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.5许可证 — license file detected
7.5/7.5Maintained — 30 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — 无数据
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 — 54 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate4.1
已排除计分(无数据或不适用):Packaging。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告 — 没有直接依赖携带已知公告
0/25间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告 — 没有公告带有发布日期
所用输入
sourceosv
advisories0
affected_packages0
assessed_packages9
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 9 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

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

86优秀 · 占总体的 4%
评分方式
45/45代理指令 — CLAUDE.md
0/15机器可读文档(llms.txt)
40/40可读的提交历史 — 100 次人类提交中有 94 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt否
llms_txt_url—
legible_history_share0.94
agent_instruction_filesCLAUDE.md
agent_instruction_max_bytes15,832
评分方式
18/18一条命令的引导启动 — Makefile
22/22自动化测试
11/11Lint / 格式化配置 — .golangci.yml
11/11静态类型检查 — Go(静态类型)
10/10可复现环境 — lockfile
4/10已体现的代理实践 — 最近 100 次提交中有 2 次由代理编写或署名代理
5/8自动化维护 — 已配置依赖自动化,但在抽样提交中未观察到
0/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix否
has_tests是
lockfilesgo.sum
has_dockerfile否
typed_language是
bootstrap_filesMakefile
has_devcontainer否
has_linter_config是
typecheck_configs—
agent_commit_share0.02
toolchain_manifestsgo.mod, test_cgo_demo/go.mod, test_cgo_mixed/go.mod, testdata/anonymous_struct/go.mod, testdata/another_chi_router/go.mod, testdata/array_untyped_schemas/go.mod, testdata/auth_chi_with/go.mod, testdata/auth_credential_param/go.mod, testdata/auth_echo_group/go.mod, testdata/auth_echo_keylookup/go.mod, testdata/auth_echo_var_wrapper/go.mod, testdata/auth_fiber_group/go.mod, testdata/auth_fiber_keylookup/go.mod, testdata/auth_gin_perroute/go.mod, testdata/auth_mux_subrouter/go.mod, testdata/auth_nethttp_wrap/go.mod, testdata/barren_subtree/go.mod, testdata/body_source/go.mod, testdata/bodyless_status/go.mod, testdata/branch_status_scope/go.mod, testdata/branched_status_constructor/go.mod, testdata/call_body/go.mod, testdata/catchall_routes/go.mod, testdata/chained_wrapper/go.mod, testdata/chi/go.mod, testdata/chi_method_handle/go.mod, testdata/chi_middleware_recv_shadow/go.mod, testdata/chi_receiver_name_collision/go.mod, testdata/cli_action_cross_package/go.mod, testdata/cli_action_routes/go.mod, testdata/cli_entrypoint_routes/go.mod, testdata/closure_operation_ids/go.mod, testdata/cobra_entrypoint_routes/go.mod, testdata/complex_chi_router/go.mod, testdata/concat_path/go.mod, testdata/cross_framework_mount/go.mod, testdata/cross_package_constructor_status/go.mod, testdata/cyclic_graph/go.mod, testdata/dense_graph/go.mod, testdata/downstream_client_not_response/go.mod, testdata/dynamic_mount_prefix/go.mod, testdata/echo/go.mod, testdata/echo_handler_factory/go.mod, testdata/enum_alias_ambiguity/go.mod, testdata/enum_split_const_blocks/go.mod, testdata/enum_validation/go.mod, testdata/error_named_domain_type/go.mod, testdata/external_type_refs/go.mod, testdata/fiber/go.mod, testdata/fiber_constraints/go.mod, testdata/foreign_type_qualification/go.mod, testdata/form_value_params/go.mod, testdata/functional_options/go.mod, testdata/generic/go.mod, testdata/generic_handler_adapter/go.mod, testdata/generic_structs/go.mod, testdata/gin/go.mod, testdata/group_arg_inline/go.mod, testdata/group_closure_instances/go.mod, testdata/handler_doc_comments/go.mod, testdata/handler_through_wrapper/go.mod, testdata/handler_wrapper_attribution/go.mod, testdata/handler_wrapper_attribution_chi/go.mod, testdata/helper_response_body/go.mod, testdata/http_catchall_anchor/go.mod, testdata/http_host_pattern/go.mod, testdata/implicit_status/go.mod, testdata/interface_field_schema/go.mod, testdata/interface_request_body/go.mod, testdata/interface_response/go.mod, testdata/map_literal_envelope/go.mod, testdata/mapper_field_status/go.mod, testdata/method_switch/go.mod, testdata/method_switch_closure/go.mod, testdata/method_switch_method/go.mod, testdata/mixed_chi_nethttp/go.mod, testdata/mixed_gin_mux/go.mod, testdata/mock_named_handlers/go.mod, testdata/module_prefix_packages/go.mod, testdata/mount_via_helper/go.mod, testdata/multi_hop_value_type/go.mod, testdata/multipart_upload/go.mod, testdata/multipart_upload_gin/go.mod, testdata/mux/go.mod, testdata/mux_path_params/go.mod, testdata/named_underlying_types/go.mod, testdata/nested_selector/go.mod, testdata/nested_slice_field/go.mod, testdata/nil_response_body/go.mod, testdata/one_type_one_component/go.mod, testdata/param_name_resolution/go.mod, testdata/param_name_sources/go.mod, testdata/pattern_caller_scope/go.mod, testdata/receiver_field_path/go.mod, testdata/recursive_types/go.mod, testdata/renderer_content_types/go.mod, testdata/renderer_content_types_gin/go.mod, testdata/request_body_source_provenance/go.mod, testdata/request_body_var_decoder/go.mod, testdata/response_header_param/go.mod, testdata/response_writer_provenance/go.mod, testdata/route_table/go.mod, testdata/router_mount_options/go.mod, testdata/schema/go.mod, testdata/schema_doc_comments/go.mod, testdata/secondary_framework_params/go.mod, testdata/servemux/go.mod, testdata/shared_body_helper/go.mod, testdata/shared_handler_ids/go.mod, testdata/skipped_package_type/go.mod, testdata/status_via_constructor/go.mod, testdata/status_via_constructor_closure/go.mod, testdata/status_via_helper_chain/go.mod, testdata/status_without_body/go.mod, testdata/unmatched_router/go.mod, testdata/validation_tags/go.mod, testdata/variable_path/go.mod, testdata/variadic_wrapper/go.mod, testdata/wrapped_response/go.mod, testdata/wrapper_nil_payload/go.mod, testdata/wrapper_router/go.mod, testdata/write_sink_marshal/go.mod
dependency_bot_commit_share0
评分方式
45/45可类型检查的代码 — Go(静态类型)
53.9/55可控的文件大小 — 采样的 574 个源文件中有 12 个超过 60KB
所用输入
primary_languageGo
largest_source_bytes157,521
source_files_sampled574
oversized_source_files12

关键数据

85GitHub 星标
5贡献者
962最近 12 个月提交数
0距最近推送天数
24发布版本数
1巴士系数(bus factor)
47开放议题
Go软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

Star 与 Fork 历史 0 ★ / 5 ⇿
0Star
5Fork
15发布

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

12345512025-102026-032026-09
主版本 0次版本 2修订 13
OpenSSF Scorecard 4.1 / 10
4.1综合

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

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests10 out of 10 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
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
10Maintained30 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not 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
0Vulnerabilities54 existing vulnerabilities detected
直接依赖 8
注册表软件包版本约束清单文件
Gogithub.com/stretchr/testifyv1.12.1go.mod
Gogolang.org/x/modv0.40.0go.mod
Gogolang.org/x/toolsv0.49.0go.mod
Gogopkg.in/yaml.v3v3.0.1go.mod
Gogithub.com/wamuir/graftv0.10.0test_cgo_demo/go.mod
Gogithub.com/davidbyttow/govips/v2v2.16.0test_cgo_demo/go.mod
Gogithub.com/wamuir/graftv0.10.0test_cgo_mixed/go.mod
Gogithub.com/davidbyttow/govips/v2v2.16.0test_cgo_mixed/go.mod
全部依赖 9

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

注册表软件包版本关系
Gogithub.com/davidbyttow/govips/v2v2.16.0直接
Gogithub.com/stretchr/testifyv1.12.1直接
Gogithub.com/wamuir/graftv0.10.0直接
Gogolang.org/x/modv0.40.0直接
Gogolang.org/x/toolsv0.49.0直接
Gogopkg.in/yaml.v3v3.0.1直接
Gogithub.com/google/go-cmpv0.7.0间接
Gogo.yaml.in/yaml/v3v3.0.5间接
Gogolang.org/x/syncv0.22.0间接
依赖安全公告 0

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

没有已知公告影响已评估的依赖。

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

原始 JSON 报告 机器可读

反馈

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

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

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

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

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