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

natemcmaster / CommandLineUtils

Command line parsing and utilities for .NET

C#Apache-2.0★ 2,273 星标⑂ 260 复刻始于 2017年8月在 GitHub 上查看 ↗
类型命令行工具如何判定

natemcmaster/CommandLineUtils 的健康指数为 100 分中的 81 分,处于「优秀」区间。 其得分最高的类别是Community & Adoption(88/100),最低的是Vitality(51/100)。 最近一次更新在 71 天前。 近期的大部分工作由 1 位贡献者完成。

81
总分 / 100
优秀

软件健康指数

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

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

评分画像

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

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

所有权

Nate McMaster个人账户
1,471 关注者49 个公开仓库始于 2012年11月@anthropics

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
NuGetMcMaster.Extensions.CommandLineUtils5.1.0-33158 天前commandlineparsing
NuGetMcMaster.Extensions.Hosting.CommandLine5.1.0-23158 天前commandlineparsinghosting

按类别列示的指标

活力

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

51中等 · 占总体的 21%
评分方式
18/36推送新近度 — 最近一次推送于 71 天前
6.2/36提交节奏 — 52 周中有 9 周有提交
16.9/18提交量 — 最近一年 75 次提交
0/10OpenSSF Scorecard:Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
所用输入
commits_last_year75
human_commit_share0.92
days_since_last_push71
active_weeks_last_year9

发布纪律

67良好
评分方式
27/27有发布版本 — 已发布 55 个发布版本
27/36发布时效 — 最近一次发布版本于 158 天前
12.6/27发布节奏 — 约每 173.4 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — Project has not signed or included provenance with any releases.
所用输入
releases_count55
latest_release_tagv5.1.0
releases_from_tags否
days_since_latest_release158
mean_days_between_releases173.4

社区与采用

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

88优秀 · 占总体的 17%
评分方式
54.4/60星标 — 2,273 个星标
20.1/25复刻 — 260 个复刻
9.9/15关注者 — 62 位关注者
所用输入
forks260
stars2,273
watchers62
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_badges0
has_contributing是
has_issue_template否
has_code_of_conduct是
readme_badge_services—
has_pull_request_template否
评分方式
78/80累计下载量 — nuget 合计历史 31,759,804 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packagesMcMaster.Extensions.CommandLineUtils, McMaster.Extensions.Hosting.CommandLine
dependents—
ecosystemsnuget
total_downloads31,759,804
monthly_downloads—
unverified_packages_excluded—
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

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

69良好 · 占总体的 23%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
9.6/22.5提交分布 — 头号贡献者编写了 57% 的提交
13.5/13.5贡献者广度 — 95 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 27 contributing companies or organizations
所用输入
bus_factor1
contributors_sampled95
top_contributor_share0.572
评分方式
41.6/42议题解决 — 99% 的议题已关闭
20.8/30PR 接受 — 已裁定的 PR 中 199/287 已合并
0/13Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决
1.5/15OpenSSF Scorecard:Code-Review — Found 2/15 approved changesets -- score normalized to 1
所用输入
merged_prs199
open_issues3
closed_issues319
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.991
closed_unmerged_prs88
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
22.8/25所有者影响力 — natemcmaster 有 1,471 位关注者
24.4/25既往记录 — 49 个公开仓库,账户约 13 年
所用输入
followers1,471
owner_typeUser
is_verified—
owner_loginnatemcmaster
public_repos49
account_age_days5,061
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — nuget 上有 2 个软件包
35/35发布时效 — 最近一次发布于 158 天前
20/20版本历史 — 33 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packagesMcMaster.Extensions.CommandLineUtils, McMaster.Extensions.Hosting.CommandLine
ecosystemsnuget
any_deprecated否
min_days_since_publish158

工程质量

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

79良好 · 占总体的 19%

工程实践

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

文档

90优秀
评分方式
30/30README
25/25文档目录
15/15文档 / 主页站点 — https://natemcmaster.github.io/CommandLineUtils/
10/10仓库描述
10/10主题标签 — 3 个主题标签
0/10Wiki
所用输入
topicsdotnet, command-line, dotnet-core
has_wiki否
homepagehttps://natemcmaster.github.io/CommandLineUtils/
docs_sitehttps://natemcmaster.github.io/CommandLineUtils/
has_readme是
has_docs_dir是
has_description是

安全

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

58中等 · 占总体的 16%

安全态势

47薄弱
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — 无数据
2.2/2.5CI-Tests — 11 out of 12 merged PRs checked by a CI test -- score normalized to 9
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-Review — Found 2/15 approved changesets -- score normalized to 1
2.5/2.5Contributors — project has 27 contributing companies or organizations
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
0/7.5Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
5/5Packaging — packaging workflow detected
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
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate4.7
已排除计分(无数据或不适用):Branch-Protection。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告 — 没有直接依赖携带已知公告
0/25间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告 — 没有公告带有发布日期
所用输入
sourceosv
advisories7
affected_packages2
assessed_packages50
unassessed_packages0
affected_by_severityhigh 2
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 50 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

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

80优秀 · 占总体的 4%
评分方式
45/45代理指令 — CLAUDE.md
0/15机器可读文档(llms.txt)
37.1/40可读的提交历史 — 92 次人类提交中有 64 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt否
llms_txt_url—
legible_history_share0.696
agent_instruction_filesCLAUDE.md
agent_instruction_max_bytes6,959
评分方式
12.6/18一条命令的引导启动 — docs/samples/aot-sample/aot-sample.csproj, docs/samples/attributes/Attributes.csproj, docs/samples/custom-attribute/CustomAttribute.csproj(工具链约定,无任务运行器)
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查 — C#(静态类型)
0/10可复现环境
10/10已体现的代理实践 — 最近 100 次提交中有 30 次由代理编写或署名代理
8/8自动化维护 — 最近 100 次提交中有 8 次为自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix否
has_tests是
lockfiles—
has_dockerfile否
typed_language是
bootstrap_files—
has_devcontainer否
has_linter_config否
typecheck_configs—
agent_commit_share0.3
toolchain_manifestsdocs/samples/aot-sample/aot-sample.csproj, docs/samples/attributes/Attributes.csproj, docs/samples/custom-attribute/CustomAttribute.csproj, docs/samples/custom-conventions/CustomConvention.csproj, docs/samples/dependency-injection/custom/CustomServices.csproj, docs/samples/dependency-injection/generic-host/GenericHostDI.csproj, docs/samples/dependency-injection/keyed/KeyedServices.csproj, docs/samples/dependency-injection/standard/StandardServices.csproj, docs/samples/generic-host/AttributeApi/AttributeApi.csproj, docs/samples/generic-host/BuilderApi/BuilderApi.csproj, docs/samples/helloworld-async-attributes/AsyncAttributes.csproj, docs/samples/helloworld-async/AsyncBuilderApi.csproj, docs/samples/helloworld-attributes/HelloWorldAttributes.csproj, docs/samples/helloworld/HelloWorld.csproj, docs/samples/interactive-prompts/Prompt.csproj, docs/samples/pager/Pager.csproj, docs/samples/passthru-args/attributes/AttributesPassThru.csproj, docs/samples/passthru-args/builder-api/BuilderApiPassThru.csproj, docs/samples/response-file-parsing/attributes/RspAttributes.csproj, docs/samples/response-file-parsing/builder-api/RspBuilderApi.csproj, docs/samples/subcommands/builder-api/BuilderApiSubcommands.csproj, docs/samples/subcommands/inheritance/InheritanceSubcommands.csproj, docs/samples/subcommands/nested-types/NestedTypeSubcommands.csproj, docs/samples/validation/attributes/ValidationAttributes.csproj, docs/samples/validation/builder-api/ValidationBuilderApi.csproj, src/CommandLineUtils.Generators/McMaster.Extensions.CommandLineUtils.Generators.csproj, src/CommandLineUtils/McMaster.Extensions.CommandLineUtils.csproj, src/Hosting.CommandLine/McMaster.Extensions.Hosting.CommandLine.csproj, test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj, test/GeneratorBugReproduction/GeneratorBugReproduction.csproj, test/Hosting.CommandLine.Tests/McMaster.Extensions.Hosting.CommandLine.Tests.csproj
dependency_bot_commit_share0.08
评分方式
45/45可类型检查的代码 — C#(静态类型)
54.8/55可控的文件大小 — 采样的 280 个源文件中有 1 个超过 60KB
所用输入
primary_languageC#
largest_source_bytes67,748
source_files_sampled280
oversized_source_files1
评分方式
0/40API 模式(OpenAPI/GraphQL/proto) — 不适用于此类软件
0/20MCP 服务器 — 不适用于此类软件
40/40可运行示例 — samples
所用输入
example_dirssamples
has_mcp_signal否
api_schema_files—
interfaces_expected_of—
已排除计分(无数据或不适用):API 模式(OpenAPI/GraphQL/proto), MCP 服务器。 其余权重已重新归一化。

关键数据

2,273GitHub 星标
95贡献者
75最近 12 个月提交数
71距最近推送天数
55发布版本数
1巴士系数(bus factor)
3开放议题
—软件包生态系统数

数据采集警告

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

更多细节

Star 与 Fork 历史 0 ★ / 260 ⇿
0Star
260Fork
55发布

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

05010015020025030025752017-092022-012026-06
主版本 4次版本 9修订 20

每个点涵盖 9 天。

OpenSSF Scorecard 4.7 / 10
4.7综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-09-11 02:20 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
9CI-Tests11 out of 12 merged PRs checked by a CI test -- score normalized to 9
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 2/15 approved changesets -- score normalized to 1
10Contributorsproject has 27 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
10Vulnerabilities0 existing vulnerabilities detected
直接依赖 7
注册表软件包版本约束清单文件
NuGetMicrosoft.CodeAnalysis.CSharp5.0.0src/CommandLineUtils.Generators/McMaster.Extensions.CommandLineUtils.Generators.csproj
NuGetMicrosoft.SourceLink.GitHub10.0.201src/CommandLineUtils/McMaster.Extensions.CommandLineUtils.csproj
NuGetMicrosoft.CodeAnalysis.PublicApiAnalyzers4.14.0src/CommandLineUtils/McMaster.Extensions.CommandLineUtils.csproj
NuGetMicrosoft.Extensions.Hosting.Abstractions10.0.5src/Hosting.CommandLine/McMaster.Extensions.Hosting.CommandLine.csproj
NuGetMicrosoft.Extensions.Logging.Abstractions10.0.5src/Hosting.CommandLine/McMaster.Extensions.Hosting.CommandLine.csproj
NuGetMicrosoft.SourceLink.GitHub10.0.201src/Hosting.CommandLine/McMaster.Extensions.Hosting.CommandLine.csproj
NuGetMicrosoft.CodeAnalysis.PublicApiAnalyzers4.14.0src/Hosting.CommandLine/McMaster.Extensions.Hosting.CommandLine.csproj
全部依赖 50

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

注册表软件包版本关系
NuGetMicrosoft.CodeAnalysis.CSharp5.0.0直接
NuGetMicrosoft.CodeAnalysis.PublicApiAnalyzers4.14.0直接
NuGetMicrosoft.Extensions.Hosting.Abstractions10.0.5直接
NuGetMicrosoft.Extensions.Logging.Abstractions10.0.5直接
NuGetMicrosoft.SourceLink.GitHub10.0.201直接
NuGetcoverlet.collector8.0.1间接
NuGetFluentAssertions8.9.0间接
NuGetMcMaster.Extensions.CommandLineUtils3.0.0间接
NuGetMcMaster.Extensions.CommandLineUtils3.1.0间接
NuGetMcMaster.Extensions.Xunit0.1.0间接
NuGetMicrosoft.AspNetCore.App.Runtime.linux-x6410.0.5间接
NuGetMicrosoft.DotNet.ILCompiler10.0.5间接
NuGetMicrosoft.Extensions.Configuration10.0.5间接
NuGetMicrosoft.Extensions.Configuration.Abstractions10.0.5间接
NuGetMicrosoft.Extensions.Configuration.Binder10.0.5间接
NuGetMicrosoft.Extensions.Configuration.CommandLine10.0.5间接
NuGetMicrosoft.Extensions.Configuration.EnvironmentVariables10.0.5间接
NuGetMicrosoft.Extensions.Configuration.FileExtensions10.0.5间接
NuGetMicrosoft.Extensions.Configuration.Json10.0.5间接
NuGetMicrosoft.Extensions.Configuration.UserSecrets10.0.5间接
NuGetMicrosoft.Extensions.DependencyInjection10.0.5间接
NuGetMicrosoft.Extensions.DependencyInjection.Abstractions10.0.5间接
NuGetMicrosoft.Extensions.Diagnostics10.0.5间接
NuGetMicrosoft.Extensions.Diagnostics.Abstractions10.0.5间接
NuGetMicrosoft.Extensions.FileProviders.Abstractions10.0.5间接
NuGetMicrosoft.Extensions.FileProviders.Physical10.0.5间接
NuGetMicrosoft.Extensions.FileSystemGlobbing10.0.5间接
NuGetMicrosoft.Extensions.Hosting10.0.5间接
NuGetMicrosoft.Extensions.Logging10.0.5间接
NuGetMicrosoft.Extensions.Logging.Configuration10.0.5间接
NuGetMicrosoft.Extensions.Logging.Console10.0.5间接
NuGetMicrosoft.Extensions.Logging.Debug10.0.5间接
NuGetMicrosoft.Extensions.Logging.EventLog10.0.5间接
NuGetMicrosoft.Extensions.Logging.EventSource10.0.5间接
NuGetMicrosoft.Extensions.Options10.0.5间接
NuGetMicrosoft.Extensions.Options.ConfigurationExtensions10.0.5间接
NuGetMicrosoft.Extensions.Primitives10.0.5间接
NuGetMicrosoft.NET.ILLink.Tasks10.0.5间接
NuGetMicrosoft.NET.Test.Sdk18.3.0间接
NuGetMicrosoft.NETCore.App.Runtime.linux-x6410.0.5间接
NuGetMicrosoft.NETCore.App.Runtime.NativeAOT.linux-x6410.0.5间接
NuGetMoq4.20.72间接
NuGetruntime.linux-x64.Microsoft.DotNet.ILCompiler10.0.5间接
NuGetSystem.Diagnostics.DiagnosticSource10.0.5间接
NuGetSystem.Diagnostics.EventLog10.0.5间接
NuGetSystem.IO.Pipelines10.0.5间接
NuGetSystem.Text.Encodings.Web10.0.5间接
NuGetSystem.Text.Json10.0.5间接
NuGetxunit2.9.3间接
NuGetxunit.runner.visualstudio3.1.5间接
依赖安全公告 2

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

软件包版本关系严重程度公告数修复版本
Microsoft.AspNetCore.App.Runtime.linux-x6410.0.5间接高310.0.9
Microsoft.NETCore.App.Runtime.linux-x6410.0.5间接高410.0.11

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

原始 JSON 报告 机器可读

反馈

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

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

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

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

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