公开记录
软件健康报告模式 0.15.0 · 指标 2.10.0 · 2026-07-19 20:57 UTC

prewk / result

Result object for PHP inspired by Rust

PHP自定义许可证★ 121 星标⑂ 13 复刻始于 2017年4月在 GitHub 上查看 ↗
类型如何判定

prewk/result 的健康指数为 100 分中的 41 分,处于「薄弱」区间。 其得分最高的类别是Sustainability & Governance(57/100),最低的是Vitality(24/100)。 最近一次更新在 334 天前。 近期的大部分工作由 1 位贡献者完成。

41
总分 / 100
薄弱

软件健康指数

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

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

评分画像

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

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

所有权

Oskar Thornblad个人账户
38 关注者72 个公开仓库始于 2011年2月

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布
Packagistprewk/result4.1.016,91220334 天前

按类别列示的指标

活力

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

24存在风险 · 占总体的 21%
评分方式
3.6/36推送新近度最近一次推送于 334 天前
0.7/36提交节奏52 周中有 1 周有提交
2.7/18提交量最近一年 1 次提交
0/10OpenSSF Scorecard:Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
所用输入
commits_last_year1
human_commit_share
days_since_last_push334
active_weeks_last_year1

发布纪律

50中等
评分方式
16.2/27有发布版本20 个版本标签(无 GitHub 发布版本)
16.2/36发布时效最近一次发布版本于 334 天前
12.6/27发布节奏约每 301.2 天发布一次
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count20
latest_release_tag4.1.0
releases_from_tags
days_since_latest_release334
mean_days_between_releases301.2
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

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

50中等 · 占总体的 17%
评分方式
33.7/60星标121 个星标
9/25复刻13 个复刻
3.9/15关注者6 位关注者
所用输入
forks13
stars121
watchers6
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

44薄弱
评分方式
22.5/22.5README
16.9/22.5许可证存在许可证文件,但不是可识别的许可证
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template
评分方式
56.4/80月度下载量packagist 合计每月 16,912 次下载
6.7/20注册表被依赖数9 个软件包依赖它
所用输入
packagesprewk/result
dependents9
ecosystemspackagist
total_downloads960,997
monthly_downloads16,912
unverified_packages_excluded

可持续性与治理

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

57中等 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
6.4/22.5提交分布头号贡献者编写了 71% 的提交
8.1/13.5贡献者广度6 位贡献者
0/10OpenSSF Scorecard:Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
所用输入
bus_factor1
contributors_sampled6
top_contributor_share0.714
评分方式
42/42议题解决100% 的议题已关闭
13.1/30PR 接受已裁定的 PR 中 14/32 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
6/15OpenSSF Scorecard:Code-ReviewFound 12/30 approved changesets -- score normalized to 4
所用输入
merged_prs14
open_issues0
closed_issues3
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio1
closed_unmerged_prs18
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
10/30所有权背书个人(用户)账户
0/20已验证域名不适用于个人账户
11.4/25所有者影响力prewk 有 38 位关注者
25/25既往记录72 个公开仓库,账户约 15 年
所用输入
followers38
owner_typeUser
is_verified
owner_loginprewk
public_repos72
account_age_days5,621
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析packagist 上有 1 个软件包
26/35发布时效最近一次发布于 334 天前
20/20版本历史20 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagesprewk/result
ecosystemspackagist
any_deprecated
min_days_since_publish334

工程质量

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

53中等 · 占总体的 19%

工程实践

48薄弱
评分方式
24/24CI 工作流1 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
0/6.4.editorconfig
0/20OpenSSF Scorecard:CI-Tests1 out of 14 merged PRs checked by a CI test -- score normalized to 0
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

60中等
评分方式
30/30README
0/25文档目录
0/15文档 / 主页站点
10/10仓库描述
10/10主题标签3 个主题标签
10/10Wiki
所用输入
topicsphp, rust, datastructures
has_wiki
homepage
docs_site
has_readme
has_docs_dir
has_description

安全

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

32存在风险 · 占总体的 16%

安全态势

32存在风险
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
2.2/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
0/2.5CI-Tests1 out of 14 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
3/7.5Code-ReviewFound 12/30 approved changesets -- score normalized to 4
0/2.5Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
0/10Dangerous-Workflow无数据
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.2/2.5许可证license file detected
0/7.5Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packaging无数据
0/5Pinned-Dependencies无数据
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releases无数据
0/7.5Token-Permissions无数据
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated13
scorecard_versionv5.5.0
checks_inconclusive5
scorecard_aggregate3.2
已排除计分(无数据或不适用):Dangerous-Workflow, Packaging, Pinned-Dependencies, Signed-Releases, Token-Permissions。 其余权重已重新归一化。

AI 就绪度

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

43薄弱 · 占总体的 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自动化测试
0/11Lint / 格式化配置
0/11静态类型检查
10/10可复现环境lockfile
0/10已体现的代理实践无数据
5/8自动化维护已配置依赖自动化,但在抽样提交中未观察到
0/10OpenSSF Scorecard:Pinned-Dependencies无数据
所用输入
has_nix
has_tests
lockfilescomposer.lock
has_dockerfile
typed_language
bootstrap_filesMakefile
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share
toolchain_manifests
dependency_bot_commit_share0
已排除计分(无数据或不适用):已体现的代理实践, OpenSSF Scorecard:Pinned-Dependencies。 其余权重已重新归一化。
评分方式
0/45可类型检查的代码PHP,未配置类型检查
55/55可控的文件大小采样的 11 个源文件中有 0 个超过 60KB
所用输入
primary_languagePHP
largest_source_bytes8,987
source_files_sampled11
oversized_source_files0

关键数据

121GitHub 星标
6贡献者
1最近 12 个月提交数
334距最近推送天数
20发布版本数
1巴士系数(bus factor)
0开放议题
Packagist软件包生态系统数

更多细节

OpenSSF Scorecard 3.2 / 10
3.2综合

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

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
0CI-Tests1 out of 14 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
4Code-ReviewFound 12/30 approved changesets -- score normalized to 4
0Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
不适用Dangerous-Workflowno workflows found
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
不适用Packagingpackaging workflow not detected
不适用Pinned-Dependenciesno dependencies found
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
不适用Signed-Releasesno releases found
不适用Token-PermissionsNo tokens found
10Vulnerabilities0 existing vulnerabilities detected
直接依赖 1
注册表软件包版本约束清单文件
Packagistprewk/option>= 1.3.0composer.json
全部依赖 78

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

注册表软件包版本关系
Packagistprewk/option2.1.1直接
Packagistamphp/amp2.6.4间接
Packagistamphp/byte-stream1.8.2间接
Packagistcolinodell/json52.3.0间接
Packagistcomposer/package-versions-deprecated1.11.99.5间接
Packagistcomposer/pcre3.1.3间接
Packagistcomposer/semver3.4.0间接
Packagistcomposer/xdebug-handler3.0.5间接
Packagistdnoegel/php-xdg-base-dir0.1.1间接
Packagistdoctrine/deprecations1.1.3间接
Packagistergebnis/composer-normalize2.42.0间接
Packagistergebnis/json1.2.0间接
Packagistergebnis/json-normalizer4.5.0间接
Packagistergebnis/json-pointer3.4.0间接
Packagistergebnis/json-printer3.5.0间接
Packagistergebnis/json-schema-validator4.2.0间接
Packagistfelixfbecker/advanced-json-rpc3.2.1间接
Packagistfelixfbecker/language-server-protocol1.5.2间接
Packagistfidry/cpu-core-counter1.1.0间接
Packagistinfection/abstract-testframework-adapter0.5.0间接
Packagistinfection/extension-installer0.1.2间接
Packagistinfection/include-interceptor0.2.5间接
Packagistinfection/infection0.27.11间接
Packagistjustinrainbow/json-schema5.2.13间接
Packagistlocalheinz/diff1.1.1间接
Packagistmyclabs/deep-copy1.11.1间接
Packagistnetresearch/jsonmapper4.4.1间接
Packagistnikic/php-parser4.19.1间接
Packagistondram/ci-detector4.2.0间接
Packagistphar-io/manifest2.0.4间接
Packagistphar-io/version3.2.1间接
Packagistphpdocumentor/reflection-common2.2.0间接
Packagistphpdocumentor/reflection-docblock5.4.0间接
Packagistphpdocumentor/type-resolver1.8.2间接
Packagistphpstan/phpdoc-parser1.29.0间接
Packagistphpunit/php-code-coverage10.1.14间接
Packagistphpunit/php-file-iterator4.1.0间接
Packagistphpunit/php-invoker4.0.0间接
Packagistphpunit/php-text-template3.0.1间接
Packagistphpunit/php-timer6.0.0间接
Packagistphpunit/phpunit10.5.15间接
Packagistpsalm/plugin-phpunit0.19.0间接
Packagistpsr/container2.0.2间接
Packagistpsr/log3.0.0间接
Packagistsanmai/later0.1.4间接
Packagistsanmai/pipeline6.10间接
Packagistsebastian/cli-parser2.0.1间接
Packagistsebastian/code-unit2.0.0间接
Packagistsebastian/code-unit-reverse-lookup3.0.0间接
Packagistsebastian/comparator5.0.1间接
Packagistsebastian/complexity3.2.0间接
Packagistsebastian/diff5.1.1间接
Packagistsebastian/environment6.1.0间接
Packagistsebastian/exporter5.1.2间接
Packagistsebastian/global-state6.0.2间接
Packagistsebastian/lines-of-code2.0.2间接
Packagistsebastian/object-enumerator5.0.0间接
Packagistsebastian/object-reflector3.0.0间接
Packagistsebastian/recursion-context5.0.0间接
Packagistsebastian/type4.0.0间接
Packagistsebastian/version4.0.1间接
Packagistspatie/array-to-xml3.3.0间接
Packagistsymfony/console6.4.7间接
Packagistsymfony/deprecation-contracts3.5.0间接
Packagistsymfony/filesystem6.4.7间接
Packagistsymfony/finder6.4.7间接
Packagistsymfony/polyfill-ctype1.29.0间接
Packagistsymfony/polyfill-intl-grapheme1.29.0间接
Packagistsymfony/polyfill-intl-normalizer1.29.0间接
Packagistsymfony/polyfill-mbstring1.29.0间接
Packagistsymfony/process6.4.7间接
Packagistsymfony/service-contracts3.5.0间接
Packagistsymfony/string6.4.7间接
Packagistsymplify/easy-coding-standard12.1.14间接
Packagistthecodingmachine/safe2.5.0间接
Packagisttheseer/tokenizer1.2.3间接
Packagistvimeo/psalm5.24.0间接
Packagistwebmozart/assert1.11.0间接
原始 JSON 报告 机器可读

反馈

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

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

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

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

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