Public record
Software health reportschema 0.27.0 · metrics 2.5.0 · 2026-07-30 22:49 UTC

TomasVotruba / cognitive-complexity

PHPStan rules to measure cognitive complexity of your classes and methods

PHPMIT★ 166 stars⑂ 3 forkssince Dec 2022View on GitHub ↗

TomasVotruba/cognitive-complexity holds a health index of 54 out of 100, placing it in the Moderate band. It scores highest on Sustainability & Governance (66/100) and lowest on AI Readiness (33/100). It was last updated 52 days ago. A single contributor accounts for most of its recent work.

54
overall / 100
Moderate

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

54
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 53 is calibrated to 54 on the published index scale (record calibration 2026-08-02).

Ownership

Tomas VotrubaPersonal account
1,635 followers230 public repossince Jul 2011@rectorphp

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
Packagisttomasvotruba/cognitive-complexity1.2.0205,1072252 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

44Weak · 21% of overall
How it's scored
18/36Push recency — last push 52 days ago
1.4/36Commit cadence — 2/52 weeks with commits
4.3/18Commit volume — 2 commits in the last year
1/10OpenSSF Scorecard: Maintained — 1 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 1
Inputs used
commits_last_year2
human_commit_share1
days_since_last_push52
active_weeks_last_year2
How it's scored
16.2/27Ships releases — 16 version tags (no GitHub releases)
36/36Release recency — latest release 52 days ago
12.6/27Release cadence — a release every ~131.5 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count16
latest_release_tag1.2.0
releases_from_tagsyes
days_since_latest_release52
mean_days_between_releases131.5
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

55Moderate · 17% of overall
How it's scored
36/60Stars — 166 stars
2.5/25Forks — 3 forks
1.7/15Watchers — 3 watchers
Inputs used
forks3
stars166
watchers3
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno
How it's scored
70.8/80Monthly downloads — 205,107 downloads/month across packagist
15/20Registry dependents — 180 packages depend on it
Inputs used
packagestomasvotruba/cognitive-complexity
dependents180
ecosystemspackagist
total_downloads5,802,519
monthly_downloads205,107

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

66Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
3.2/22.5Commit distribution — top contributor authored 86% of commits
4.1/13.5Contributor breadth — 3 contributors
10/10OpenSSF Scorecard: Contributors — project has 4 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled3
top_contributor_share0.857
How it's scored
42/42Issue resolution — 100% of issues closed
24.5/30PR acceptance — 9/11 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
1.5/15OpenSSF Scorecard: Code-Review — Found 5/30 approved changesets -- score normalized to 1
Inputs used
merged_prs9
open_issues0
closed_issues7
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio1
closed_unmerged_prs2
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
Excluded from scoring (no data or not applicable): newcomer_pr_acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
23.1/25Owner reach — 1,635 followers of TomasVotruba
25/25Track record — 230 public repos, account ~15 yr old
Inputs used
followers1,635
owner_typeUser
is_verified
owner_loginTomasVotruba
public_repos230
account_age_days5,490
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on packagist
35/35Publish recency — latest publish 52 days ago
20/20Version history — 22 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagestomasvotruba/cognitive-complexity
ecosystemspackagist
any_deprecatedno
min_days_since_publish52

Engineering Quality

Are baseline engineering and documentation practices in place?

60Moderate · 19% of overall
How it's scored
24/24CI workflows — 1 workflow(s)
24/24Tests present
16/16Linter config — phpstan.neon
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
4/20OpenSSF Scorecard: CI-Tests — 2 out of 9 merged PRs checked by a CI test -- score normalized to 2
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
0/10Topics
0/10Wiki
Inputs used
topics
has_wikino
homepage
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

38Weak · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
0.5/2.5CI-Tests — 2 out of 9 merged PRs checked by a CI test -- score normalized to 2
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-Review — Found 5/30 approved changesets -- score normalized to 1
2.5/2.5Contributors — project has 4 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
0.8/7.5Maintained — 1 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 1
0/5Packaging — no data
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 — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate3.8
Excluded from scoring (no data or not applicable): branch_protection, packaging, signed_releases. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

33At Risk · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
13.7/40Legible commit history — 9 of 35 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
legible_history_share0.257
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config — phpstan.neon
0/11Static type checking
0/10Reproducible environment
5.7/10Demonstrated agent practice — 1 of the last 35 commits agent-authored or agent-credited
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfiles
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configyes
typecheck_configs
agent_commit_share0.029
toolchain_manifests
dependency_bot_commit_share0
How it's scored
0/45Type-checkable code — PHP without a type-check config
55/55Manageable file sizes — 0/28 source files over 60KB
Inputs used
primary_languagePHP
largest_source_bytes4,378
source_files_sampled28
oversized_source_files0

Key facts

166GitHub stars
3contributors
2commits, last 12 months
52days since last push
16releases
1bus factor
0open issues
Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • No resolved dependencies carried a version and a supported ecosystem

More detail

Star and fork history 0 ★ / 3 ⇿
0Stars
3Forks
8Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

12233312023-022024-082026-03
Major 1Minor 2Patch 5

Each point covers 3 days.

OpenSSF Scorecard 3.8 / 10
3.8aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-07-30 22:49 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-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
2CI-Tests2 out of 9 merged PRs checked by a CI test -- score normalized to 2
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 5/30 approved changesets -- score normalized to 1
10Contributorsproject has 4 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
1Maintained1 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 1
n/aPackagingpackaging 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
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 1
RegistryPackageVersion constraintManifest
Packagistnikic/php-parser^5.3composer.json
All dependencies 12

Full resolved dependency set from the GitHub dependency graph: 1 direct and 11 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Packagistnikic/php-parserdirect
Packagistphpindirect
Packagistphp-parallel-lint/php-parallel-lintindirect
Packagistphpstan/extension-installerindirect
Packagistphpstan/phpstanindirect
Packagistphpstan/phpstan-deprecation-rulesindirect
Packagistphpunit/phpunitindirect
Packagistrector/rectorindirect
Packagistsymplify/easy-coding-standardindirect
Packagisttomasvotruba/type-coverageindirect
Packagisttomasvotruba/unused-publicindirect
Packagisttracy/tracyindirect
Dependency advisories not assessed

Advisory matching could not run for this report: No resolved dependencies carried a version and a supported ecosystem

Raw JSON report machine-readable
{
  "data": {
    "repo": {
      "topics": [],
      "is_fork": false,
      "size_kb": 128,
      "has_wiki": false,
      "homepage": null,
      "languages": {
        "PHP": 40035
      },
      "pushed_at": "2026-06-08T08:23:07Z",
      "created_at": "2022-12-23T12:16:31Z",
      "owner_type": "User",
      "updated_at": "2026-07-29T22:05:03Z",
      "description": "PHPStan rules to measure cognitive complexity of your classes and methods",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "MIT",
      "default_branch": "main",
      "license_spdx_raw": "MIT",
      "primary_language": "PHP",
      "significant_languages": [
        "PHP"
      ]
    },
    "owner": {
      "blog": "https://tomasvotruba.com",
      "name": "Tomas Votruba",
      "type": "User",
      "login": "TomasVotruba",
      "company": "@rectorphp",
      "location": "Prague, Czech Republic",
      "followers": 1635,
      "avatar_url": "https://avatars.githubusercontent.com/u/924196?v=4",
      "created_at": "2011-07-19T00:36:18Z",
      "is_verified": null,
      "public_repos": 230,
      "account_age_days": 5490
    },
    "license": {
      "state": "standard",
      "spdx_id": "MIT",
      "raw_spdx": "MIT",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "1.2.0",
          "kind": "minor",
          "published_at": "2026-06-08T08:16:55Z"
        },
        {
          "tag": "1.1.1",
          "kind": "patch",
          "published_at": "2026-05-25T12:12:55Z"
        },
        {
          "tag": "1.1.0",
          "kind": "minor",
          "published_at": "2026-03-30T14:54:38Z"
        },
        {
          "tag": "1.0.0",
          "kind": "major",
          "published_at": "2024-12-13T10:28:54Z"
        },
        {
          "tag": "0.2.3",
          "kind": "patch",
          "published_at": "2024-01-03T13:13:16Z"
        },
        {
          "tag": "0.2.2",
          "kind": "patch",
          "published_at": "2023-09-08T09:56:00Z"
        },
        {
          "tag": "0.2.1",
          "kind": "patch",
          "published_at": "2023-09-08T09:52:59Z"
        },
        {
          "tag": "0.2.0",
          "kind": "minor",
          "published_at": "2023-09-08T09:47:00Z"
        },
        {
          "tag": "0.1.2",
          "kind": "patch",
          "published_at": "2023-09-08T09:46:50Z"
        },
        {
          "tag": "0.1.1",
          "kind": "patch",
          "published_at": "2023-03-12T10:18:06Z"
        },
        {
          "tag": "0.1.0",
          "kind": "minor",
          "published_at": "2023-03-12T10:16:16Z"
        },
        {
          "tag": "0.0.5",
          "kind": "patch",
          "published_at": "2022-12-29T13:35:06Z"
        },
        {
          "tag": "0.0.4",
          "kind": "patch",
          "published_at": "2022-12-29T13:30:55Z"
        },
        {
          "tag": "0.0.3",
          "kind": "patch",
          "published_at": "2022-12-29T13:29:56Z"
        },
        {
          "tag": "0.0.2",
          "kind": "patch",
          "published_at": "2022-12-29T13:25:21Z"
        },
        {
          "tag": "0.0.1",
          "kind": "patch",
          "published_at": "2022-12-23T12:48:03Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "b95cac90113161b6063919bcb5aa3a51ce2aedcf",
          "body": null,
          "is_bot": false,
          "headline": "Remove PHP 7.4 downgrade build step and workflows (#18)",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2026-06-08T08:16:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fb82dcb0870afb5b690de48415386e9b969b4f8e",
          "body": "* Fix type error when running inside PHPStan's phar context\n\nWhen cognitive-complexity creates its own NodeTraverser during PHPStan\nanalysis, the phar-bundled php-parser may pass non-Node values (e.g. int)\nto enterNode()/leaveNode(). Add type guards to handle this gracefully.\n\nFixes #14\n\n* fix: repl\n[…]\ned-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>\n\n---------\n\nCo-authored-by: Satoshi Fujinaga <s.fujinaga@daytonajp.com>\nCo-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>",
          "is_bot": false,
          "headline": "Fix type error when running inside PHPStan phar context (#15)",
          "author_name": "Satoshi Fujinaga",
          "author_login": "SatoshiFujinaga",
          "committed_at": "2026-03-30T14:53:06Z",
          "body_truncated": true,
          "is_coding_agent": true
        },
        {
          "oid": "9337cda7f048c69bf05fb1f939faddf57421066c",
          "body": null,
          "is_bot": false,
          "headline": "image",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2024-12-26T20:18:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "22b4217e26411c6d6404b37184368d303bffcf3a",
          "body": null,
          "is_bot": false,
          "headline": "fix links",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2024-12-26T20:17:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "bb32aca0d3ecd25252d48199b6c000674cfaa357",
          "body": "* add few phpstan extensions\r\n\r\n* Bump to PHP 8.3\r\n\r\n* kiss ci",
          "is_bot": false,
          "headline": "Bump dev dependencies, bump to PHP 8.3 (#11)",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2024-12-13T10:26:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d73a34abe4f1e0e23a5d29816696bf9b1c5f4590",
          "body": "* Raise min PHP version to 7.4\r\n\r\n* Update to PHPStan 2.x and Rector 2.x\r\n\r\n* PHPStan upgrade-guide: checkGenericClassInNonGenericObjectType\r\n\r\n* Fix alwaysTrue errors\r\n\r\n* Fix RuleTestCase parameter types\r\n\r\n* Remove use of `ParametersAcceptorSelector::selectSingle()`\r\n\r\n* Fix remaining PHPStan errors\r\n\r\n* Use `ParserFactory->createForHostVersion()`\r\n\r\n* Fix PHP 7.2 leftovers",
          "is_bot": false,
          "headline": "Update to PHPStan 2.x and Rector 2.x (#9)",
          "author_name": "Markus Staab",
          "author_login": "staabm",
          "committed_at": "2024-12-13T10:04:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1c9472cf852e2272c3cba072f4082b4586487041",
          "body": "* Added Rule error identifiers\r\n\r\n* Declare nikic/php-parser v4 dependency\r\n\r\n* Doing instanceof PHPStan\\Type\\TypeWithClassName is error-prone and deprecated.\r\n\r\nUse Type::getObjectClassNames() or Type::getObjectClassReflections() instead.",
          "is_bot": false,
          "headline": "Added Rule error identifiers (#10)",
          "author_name": "Markus Staab",
          "author_login": "staabm",
          "committed_at": "2024-12-12T23:21:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "03625042d25bec949fd3c71b56b8b8e9d491eee4",
          "body": null,
          "is_bot": false,
          "headline": "Add ClassDependencyTree rule (#6)",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2024-01-03T13:07:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6de2d139f9aa79e85749b33235a2dac1ba9ddedd",
          "body": null,
          "is_bot": false,
          "headline": "Create LICENSE (#5)",
          "author_name": "Markus Staab",
          "author_login": "staabm",
          "committed_at": "2023-12-15T10:00:54Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "051a84a20ede207ed775dd901b071f29814508c1",
          "body": null,
          "is_bot": false,
          "headline": "remove nette utils from build package too",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-09-08T09:55:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "583989925796c2ffca9808f7d7c307c4b2664ea3",
          "body": null,
          "is_bot": false,
          "headline": "remove nette/utils dependency, to ease downgrade",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-09-08T09:52:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "380afa54f5a3128576d2022b864b1ae50c668e8a",
          "body": null,
          "is_bot": false,
          "headline": "skip error constants",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-09-08T09:46:15Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6db1753e9bce9cbfd8cc9c03907e49372217b0e5",
          "body": "…grading issues",
          "is_bot": false,
          "headline": "upgrade to PHPUnit 10, apply Rector, build only 1 version to avoid up…",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-09-08T09:44:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c5be1ca591c8242437e9a7cf81e2e8b11e0814c7",
          "body": null,
          "is_bot": false,
          "headline": "misc",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-03-12T10:18:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "21128fe305204d1339c367738b2f410803798290",
          "body": null,
          "is_bot": false,
          "headline": "misc",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-03-12T10:17:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ab2444579491312de93a3d8d8be4877808e59934",
          "body": null,
          "is_bot": false,
          "headline": "remove mb",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-03-12T10:16:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "80918e7dfbca66e898fd775afae6a94b5b8d61e0",
          "body": null,
          "is_bot": false,
          "headline": "msc",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-03-12T10:15:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "77a860e2e30660bb6089b8f8cf7c71f72d13d7e4",
          "body": null,
          "is_bot": false,
          "headline": "make default values 40 and 9, more realistic to projects",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-03-12T10:15:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ea0fa94ccfb523593748cfabf2fb87e4e491a9f0",
          "body": "Co-authored-by: GitHub Action <action@github.com>",
          "is_bot": false,
          "headline": "[ci] add rector (#4)",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2023-02-27T20:39:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5918600c0c06a1165ad7f60200f481ebfb665605",
          "body": null,
          "is_bot": false,
          "headline": "link extension installer (#2)",
          "author_name": "Markus Staab",
          "author_login": "staabm",
          "committed_at": "2023-02-10T13:14:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f3cc97aea084d22a748fd5851de4cbac83b3cc8c",
          "body": null,
          "is_bot": false,
          "headline": "add sponsor button",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-29T18:41:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "738a2fd385ce8189b4b351e6c6d772aee83d47ef",
          "body": null,
          "is_bot": false,
          "headline": "notes",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-29T14:21:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d14c2619ba8e932e82d941792198e0f9ce41001f",
          "body": null,
          "is_bot": false,
          "headline": "fix phpstorm paths bugs",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-29T13:35:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "458929793f192a8c1fa707fd104bfa4248fbfc23",
          "body": null,
          "is_bot": false,
          "headline": "explicit",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-29T13:34:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5b143fcd12976fbfd37452d0a34f5e4fc59fe538",
          "body": null,
          "is_bot": false,
          "headline": "fix",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-29T13:30:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "aae80561d0d3f83dc8d0e2a9412ffc9b37cba484",
          "body": null,
          "is_bot": false,
          "headline": "make downgrade code look nice too",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-29T13:29:56Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "425121047b8b118ffe8fdd95e38ca9f07487fe47",
          "body": null,
          "is_bot": false,
          "headline": "simpler",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-29T13:25:21Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7f6c49f2c2d5d40fdd2a55323641918074565c3c",
          "body": null,
          "is_bot": false,
          "headline": "copy explicit",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-29T13:23:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8bcea10e37e54b16ea84d9f82b9420372a7e743e",
          "body": null,
          "is_bot": false,
          "headline": "readme",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-28T16:29:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e335fdd481c243ac354c42b0c02d9c9205e9ff3d",
          "body": null,
          "is_bot": false,
          "headline": "fix build composer",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-23T12:48:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "52b7dc7236b00e40fb9756d35df5061c29c669e4",
          "body": null,
          "is_bot": false,
          "headline": "apply rector",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-23T12:47:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c91a1466ec13e47f5d2ae70f3990e78d3360a4af",
          "body": null,
          "is_bot": false,
          "headline": "cs",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-23T12:46:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d64a5e83a09c07f2d5b9b51d3c43cea55b520c21",
          "body": null,
          "is_bot": false,
          "headline": "tests",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-23T12:45:15Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "cc4af30d78018492d6a6e9b9839e9b76e2c09877",
          "body": null,
          "is_bot": false,
          "headline": "cs",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-23T12:43:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d4d36c88310a2d0f63403d1465cc27c13d32937a",
          "body": null,
          "is_bot": false,
          "headline": "init",
          "author_name": "Tomas Votruba",
          "author_login": "TomasVotruba",
          "committed_at": "2022-12-23T12:38:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 16,
      "commits_last_year": 2,
      "latest_release_at": "2026-06-08T08:16:55Z",
      "latest_release_tag": "1.2.0",
      "releases_from_tags": true,
      "days_since_last_push": 52,
      "active_weeks_last_year": 2,
      "days_since_latest_release": 52,
      "mean_days_between_releases": 131.5
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "has_description": true,
      "has_contributing": false,
      "health_percentage": 42,
      "has_issue_template": false,
      "has_code_of_conduct": false,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": [
        {
          "name": "tomasvotruba/cognitive-complexity",
          "exists": true,
          "license": "MIT",
          "keywords": [],
          "ecosystem": "packagist",
          "matches_repo": true,
          "registry_url": "https://packagist.org/packages/tomasvotruba/cognitive-complexity",
          "is_deprecated": false,
          "latest_version": "1.2.0",
          "repository_url": "https://github.com/TomasVotruba/cognitive-complexity",
          "versions_count": 22,
          "total_downloads": 5802519,
          "dependents_count": 180,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": 205107,
          "first_published_at": null,
          "latest_published_at": "2026-06-08T08:16:55Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 52
        }
      ]
    },
    "popularity": {
      "forks": 3,
      "stars": 166,
      "watchers": 3,
      "fork_history": {
        "days": [
          {
            "date": "2023-02-10",
            "count": 1
          },
          {
            "date": "2025-11-04",
            "count": 1
          },
          {
            "date": "2026-03-24",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 3,
        "total_forks": 3
      },
      "star_history": null,
      "open_issues_and_prs": 0
    },
    "ai_readiness": {
      "has_nix": false,
      "example_dirs": [],
      "has_llms_txt": false,
      "has_dockerfile": false,
      "has_mcp_signal": false,
      "bootstrap_files": [],
      "api_schema_files": [],
      "has_devcontainer": false,
      "typecheck_configs": [],
      "toolchain_manifests": [],
      "largest_source_bytes": 4378,
      "source_files_sampled": 28,
      "oversized_source_files": 0,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "composer.json"
      ],
      "advisories": {
        "error": "No resolved dependencies carried a version and a supported ecosystem",
        "scope": "repository_graph",
        "source": null,
        "findings": [],
        "collected": false,
        "malicious": [],
        "truncated": false,
        "by_severity": {},
        "advisory_count": 0,
        "affected_count": 0,
        "assessed_count": 0,
        "malicious_count": 0,
        "assessed_package": null,
        "unassessed_count": 12,
        "direct_affected_count": 0
      },
      "ecosystems": [
        "packagist"
      ],
      "dependencies": [
        {
          "name": "nikic/php-parser",
          "manifest": "composer.json",
          "ecosystem": "packagist",
          "version_constraint": "^5.3"
        }
      ],
      "all_dependencies": {
        "error": null,
        "source": "github-sbom",
        "packages": [
          {
            "name": "nikic/php-parser",
            "direct": true,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "php",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "php-parallel-lint/php-parallel-lint",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "phpstan/extension-installer",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "phpstan/phpstan",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "phpstan/phpstan-deprecation-rules",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "phpunit/phpunit",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "rector/rector",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "symplify/easy-coding-standard",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "tomasvotruba/type-coverage",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "tomasvotruba/unused-public",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          },
          {
            "name": "tracy/tracy",
            "direct": false,
            "version": null,
            "ecosystem": "packagist"
          }
        ],
        "collected": true,
        "truncated": false,
        "total_count": 12,
        "direct_count": 1,
        "indirect_count": 11
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 0,
        "merged_prs": 9,
        "open_issues": 0,
        "closed_ratio": 1,
        "closed_issues": 7,
        "closed_unmerged_prs": 2
      },
      "bus_factor": 1,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "TomasVotruba",
          "commits": 30,
          "avatar_url": "https://avatars.githubusercontent.com/u/924196?v=4"
        },
        {
          "type": "User",
          "login": "staabm",
          "commits": 4,
          "avatar_url": "https://avatars.githubusercontent.com/u/120441?v=4"
        },
        {
          "type": "User",
          "login": "SatoshiFujinaga",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/38089943?v=4"
        }
      ],
      "contributors_sampled": 3,
      "top_contributor_share": 0.857
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "code_analysis.yaml"
      ],
      "has_docs_dir": false,
      "linter_configs": [
        "phpstan.neon"
      ],
      "has_editorconfig": true,
      "has_linter_config": true,
      "has_precommit_config": false
    },
    "security_signals": {
      "lockfiles": [],
      "scorecard": {
        "checks": [
          {
            "name": "Binary-Artifacts",
            "score": 10,
            "reason": "no binaries found in the repo",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
          },
          {
            "name": "Branch-Protection",
            "score": null,
            "reason": "internal 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",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": 2,
            "reason": "2 out of 9 merged PRs checked by a CI test -- score normalized to 2",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
          },
          {
            "name": "CII-Best-Practices",
            "score": 0,
            "reason": "no effort to earn an OpenSSF best practices badge detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
          },
          {
            "name": "Code-Review",
            "score": 1,
            "reason": "Found 5/30 approved changesets -- score normalized to 1",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 4 contributing companies or organizations",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
          },
          {
            "name": "Dangerous-Workflow",
            "score": 10,
            "reason": "no dangerous workflow patterns detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
          },
          {
            "name": "Dependency-Update-Tool",
            "score": 0,
            "reason": "no update tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
          },
          {
            "name": "Fuzzing",
            "score": 0,
            "reason": "project is not fuzzed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
          },
          {
            "name": "License",
            "score": 10,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 1,
            "reason": "1 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 1",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": null,
            "reason": "packaging workflow not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": 0,
            "reason": "dependency not pinned by hash detected -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 0,
            "reason": "SAST tool is not run on all commits -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
          },
          {
            "name": "Security-Policy",
            "score": 0,
            "reason": "security policy file not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
          },
          {
            "name": "Signed-Releases",
            "score": null,
            "reason": "no releases found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
          },
          {
            "name": "Token-Permissions",
            "score": 0,
            "reason": "detected GitHub workflow tokens with excessive permissions",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
          },
          {
            "name": "Vulnerabilities",
            "score": 10,
            "reason": "0 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "b95cac90113161b6063919bcb5aa3a51ce2aedcf",
        "ran_at": "2026-07-30T22:49:10Z",
        "aggregate_score": 3.8,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": false
    },
    "contribution_flow": {
      "collected": true,
      "ci_last_run_at": "2026-06-08T08:17:25Z",
      "oldest_open_prs": [],
      "last_merged_pr_at": "2026-06-08T08:16:55Z",
      "ci_last_conclusion": "SUCCESS",
      "oldest_open_issues": []
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/TomasVotruba/cognitive-complexity",
    "host": "github.com",
    "name": "cognitive-complexity",
    "owner": "TomasVotruba"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "moderate",
      "name": "Overall health",
      "note": "The weighted overall 53 is calibrated to 54 on the published index scale (record calibration 2026-08-02).",
      "notes": [
        {
          "code": "overall_calibration",
          "params": {
            "raw": 53,
            "calibrated": 54,
            "calibration": "2026-08-02"
          }
        }
      ],
      "value": 54,
      "inputs": {
        "security": 38,
        "vitality": 44,
        "community": 55,
        "governance": 66,
        "calibration": "2026-08-02",
        "engineering": 60,
        "ai_readiness": 33,
        "weighted_overall_raw": 53
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "weak",
        "name": "Vitality",
        "value": 44,
        "weight": 0.21,
        "metrics": [
          {
            "key": "development_activity",
            "band": "at_risk",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 25,
            "inputs": {
              "commits_last_year": 2,
              "human_commit_share": 1,
              "days_since_last_push": 52,
              "active_weeks_last_year": 2
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 52 days ago",
                "points": 18,
                "status": "partial",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 52
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "2/52 weeks with commits",
                "points": 1.4,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 2
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "2 commits in the last year",
                "points": 4.3,
                "status": "partial",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 2
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "1 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 1",
                "points": 1,
                "status": "partial",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "good",
            "name": "Release discipline",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 72,
            "inputs": {
              "releases_count": 16,
              "latest_release_tag": "1.2.0",
              "releases_from_tags": true,
              "days_since_latest_release": 52,
              "mean_days_between_releases": 131.5
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "16 version tags (no GitHub releases)",
                "points": 16.2,
                "status": "partial",
                "details": [
                  {
                    "code": "version_tags_no_releases",
                    "params": {
                      "count": 16
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 52 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 52
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~131.5 days",
                "points": 12.6,
                "status": "partial",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 131.5
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "openssf_scorecard_signed_releases",
                "name": "OpenSSF Scorecard: Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              }
            ]
          },
          {
            "key": "abandonment",
            "band": "exceptional",
            "name": "Abandonment",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "cap": null,
              "state": "maintained",
              "guards": [],
              "signals": [],
              "red_flag": false,
              "multiplier_pct": 100,
              "declared_reason": null,
              "unverified_reason": null,
              "unanswered_open_prs": null,
              "unanswered_open_issues": null,
              "days_since_last_merged_pr": null,
              "days_since_last_human_commit": 57,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "last human commit 57 days ago",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_maintained",
                    "params": {
                      "days": 57
                    }
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "moderate",
        "name": "Community & Adoption",
        "value": 55,
        "weight": 0.17,
        "metrics": [
          {
            "key": "popularity",
            "band": "weak",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "forks": 3,
              "stars": 166,
              "watchers": 3,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "166 stars",
                "points": 36,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 166
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "3 forks",
                "points": 2.5,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 3
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "3 watchers",
                "points": 1.7,
                "status": "partial",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 3
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "moderate",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 50,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "readme_badges": null,
              "has_contributing": false,
              "has_issue_template": false,
              "has_code_of_conduct": false,
              "readme_badge_services": [],
              "has_pull_request_template": false
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 22.5,
                "status": "met",
                "details": [],
                "max_points": 22.5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "recognized license (MIT)",
                "points": 22.5,
                "status": "met",
                "details": [
                  {
                    "code": "license_standard",
                    "params": {}
                  },
                  {
                    "code": "license_spdx",
                    "params": {
                      "spdx": "MIT"
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributing_guide",
                "name": "CONTRIBUTING guide",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "code_of_conduct",
                "name": "Code of conduct",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 13.5
              },
              {
                "key": "issue_template",
                "name": "Issue template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.2
              },
              {
                "key": "pr_template",
                "name": "PR template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.3
              }
            ]
          },
          {
            "key": "ecosystem_adoption",
            "band": "excellent",
            "name": "Ecosystem adoption (downloads)",
            "note": null,
            "notes": [],
            "value": 86,
            "inputs": {
              "packages": [
                "tomasvotruba/cognitive-complexity"
              ],
              "dependents": 180,
              "ecosystems": "packagist",
              "total_downloads": 5802519,
              "monthly_downloads": 205107
            },
            "components": [
              {
                "key": "monthly_downloads",
                "name": "Monthly downloads",
                "detail": "205,107 downloads/month across packagist",
                "points": 70.8,
                "status": "partial",
                "details": [
                  {
                    "code": "downloads_monthly",
                    "params": {
                      "count": 205107,
                      "ecosystems": "packagist"
                    }
                  }
                ],
                "max_points": 80
              },
              {
                "key": "registry_dependents",
                "name": "Registry dependents",
                "detail": "180 packages depend on it",
                "points": 15,
                "status": "partial",
                "details": [
                  {
                    "code": "registry_dependents",
                    "params": {
                      "count": 180
                    }
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "good",
        "name": "Sustainability & Governance",
        "value": 66,
        "weight": 0.23,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "at_risk",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 26,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 3,
              "top_contributor_share": 0.857
            },
            "components": [
              {
                "key": "bus_factor",
                "name": "Bus factor",
                "detail": "1 contributor(s) cover half of all commits",
                "points": 9,
                "status": "partial",
                "details": [
                  {
                    "code": "bus_factor",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 54
              },
              {
                "key": "commit_distribution",
                "name": "Commit distribution",
                "detail": "top contributor authored 86% of commits",
                "points": 3.2,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 86
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "3 contributors",
                "points": 4.1,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 3
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 4 contributing companies or organizations",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "good",
            "name": "Issue & PR responsiveness",
            "note": "Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "newcomer_pr_acceptance"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 78,
            "inputs": {
              "merged_prs": 9,
              "open_issues": 0,
              "closed_issues": 7,
              "prs_merged_7d": null,
              "prs_decided_7d": null,
              "prs_merged_30d": null,
              "prs_decided_30d": null,
              "issue_closed_ratio": 1,
              "closed_unmerged_prs": 2,
              "first_time_authors_30d": null,
              "first_time_prs_merged_30d": null,
              "first_time_prs_decided_30d": null
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "100% of issues closed",
                "points": 42,
                "status": "met",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 100
                    }
                  }
                ],
                "max_points": 42
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "9/11 decided PRs merged",
                "points": 24.5,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 9,
                      "decided": 11
                    }
                  }
                ],
                "max_points": 30
              },
              {
                "key": "newcomer_pr_acceptance",
                "name": "Newcomer PR acceptance",
                "detail": "no first-time contributor's PR decided in 30d",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_newcomer_prs",
                    "params": {
                      "days": 30
                    }
                  }
                ],
                "max_points": 13
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 5/30 approved changesets -- score normalized to 1",
                "points": 1.5,
                "status": "partial",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "good",
            "name": "Ownership & stewardship",
            "note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "verified_domain"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 73,
            "inputs": {
              "followers": 1635,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "TomasVotruba",
              "public_repos": 230,
              "account_age_days": 5490
            },
            "components": [
              {
                "key": "ownership_backing",
                "name": "Ownership backing",
                "detail": "personal (user) account",
                "points": 10,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_personal",
                    "params": {}
                  }
                ],
                "max_points": 30
              },
              {
                "key": "verified_domain",
                "name": "Verified domain",
                "detail": "not applicable to user accounts",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_applicable_to_user_accounts",
                    "params": {}
                  }
                ],
                "max_points": 20
              },
              {
                "key": "owner_reach",
                "name": "Owner reach",
                "detail": "1,635 followers of TomasVotruba",
                "points": 23.1,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 1635,
                      "login": "TomasVotruba"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "230 public repos, account ~15 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 230
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 15
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "exceptional",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "tomasvotruba/cognitive-complexity"
              ],
              "ecosystems": "packagist",
              "any_deprecated": false,
              "min_days_since_publish": 52
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on packagist",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "packagist"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 52 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 52
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "22 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 22
                    }
                  }
                ],
                "max_points": 20
              },
              {
                "key": "not_deprecated",
                "name": "Not deprecated",
                "detail": "active, not deprecated or yanked",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "package_not_deprecated",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
      },
      {
        "key": "engineering",
        "band": "moderate",
        "name": "Engineering Quality",
        "value": 60,
        "weight": 0.19,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "good",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 74,
            "inputs": {
              "has_ci": true,
              "has_tests": true,
              "has_editorconfig": true,
              "has_linter_config": true,
              "has_precommit_config": false
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "1 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 24
              },
              {
                "key": "tests_present",
                "name": "Tests present",
                "detail": null,
                "points": 24,
                "status": "met",
                "details": [],
                "max_points": 24
              },
              {
                "key": "linter_config",
                "name": "Linter config",
                "detail": "phpstan.neon",
                "points": 16,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "phpstan.neon"
                    }
                  }
                ],
                "max_points": 16
              },
              {
                "key": "pre_commit_hooks",
                "name": "Pre-commit hooks",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 9.6
              },
              {
                "key": "editorconfig",
                "name": ".editorconfig",
                "detail": null,
                "points": 6.4,
                "status": "met",
                "details": [],
                "max_points": 6.4
              },
              {
                "key": "openssf_scorecard_ci_tests",
                "name": "OpenSSF Scorecard: CI-Tests",
                "detail": "2 out of 9 merged PRs checked by a CI test -- score normalized to 2",
                "points": 4,
                "status": "partial",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "weak",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "topics": [],
              "has_wiki": false,
              "homepage": null,
              "has_readme": true,
              "has_docs_dir": false,
              "has_description": true
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 30,
                "status": "met",
                "details": [],
                "max_points": 30
              },
              {
                "key": "documentation_directory",
                "name": "Documentation directory",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "weak",
        "name": "Security",
        "value": 38,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "weak",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "branch_protection",
                    "packaging",
                    "signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 38,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 15,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 3,
              "scorecard_aggregate": 3.8
            },
            "components": [
              {
                "key": "binary_artifacts",
                "name": "Binary-Artifacts",
                "detail": "no binaries found in the repo",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "branch_protection",
                "name": "Branch-Protection",
                "detail": "internal 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",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "2 out of 9 merged PRs checked by a CI test -- score normalized to 2",
                "points": 0.5,
                "status": "partial",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "cii_best_practices",
                "name": "CII-Best-Practices",
                "detail": "no effort to earn an OpenSSF best practices badge detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "code_review",
                "name": "Code-Review",
                "detail": "Found 5/30 approved changesets -- score normalized to 1",
                "points": 0.8,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 4 contributing companies or organizations",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "dangerous_workflow",
                "name": "Dangerous-Workflow",
                "detail": "no dangerous workflow patterns detected",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "dependency_update_tool",
                "name": "Dependency-Update-Tool",
                "detail": "no update tool detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "fuzzing",
                "name": "Fuzzing",
                "detail": "project is not fuzzed",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "license file detected",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "1 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 1",
                "points": 0.8,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow not detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "SAST tool is not run on all commits -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "security_policy",
                "name": "Security-Policy",
                "detail": "security policy file not detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "signed_releases",
                "name": "Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "token_permissions",
                "name": "Token-Permissions",
                "detail": "detected GitHub workflow tokens with excessive permissions",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "vulnerabilities",
                "name": "Vulnerabilities",
                "detail": "0 existing vulnerabilities detected",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              }
            ]
          },
          {
            "key": "high_risk_jurisdiction_exposure",
            "band": "exceptional",
            "name": "High-Risk Jurisdiction Exposure",
            "note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
            "notes": [
              {
                "code": "jurisdiction_evidence_limits",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": false,
              "exposures": [],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "commit_weight_rule": {
                "min_commits": 50,
                "min_commit_share": 0.1
              },
              "review_only_matches": 0,
              "below_threshold_exposures": [],
              "assessed_self_published_locations": 9
            },
            "components": [
              {
                "key": "policy_exposure_multiplier",
                "name": "Policy exposure multiplier",
                "detail": "no confirmed policy-scope location match",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "jurisdiction_no_match",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
      },
      {
        "key": "ai_readiness",
        "band": "at_risk",
        "name": "AI Readiness",
        "value": 33,
        "weight": 0.04,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "critical",
            "name": "Agent context & guidance",
            "note": null,
            "notes": [],
            "value": 14,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": 0.257,
              "agent_instruction_files": [],
              "agent_instruction_max_bytes": null
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": "no CLAUDE.md / AGENTS.md / editor rules",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_instructions",
                    "params": {}
                  }
                ],
                "max_points": 45
              },
              {
                "key": "machine_readable_docs_llms_txt",
                "name": "Machine-readable docs (llms.txt)",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "legible_commit_history",
                "name": "Legible commit history",
                "detail": "9 of 35 human commits state their intent (structured subject or explanatory body)",
                "points": 13.7,
                "status": "partial",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 9,
                      "sampled": 35
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "weak",
            "name": "Verify loop (build / test / typecheck)",
            "note": null,
            "notes": [],
            "value": 39,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [],
              "has_dockerfile": false,
              "typed_language": false,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": true,
              "typecheck_configs": [],
              "agent_commit_share": 0.029,
              "toolchain_manifests": [],
              "dependency_bot_commit_share": 0
            },
            "components": [
              {
                "key": "one_command_bootstrap",
                "name": "One-command bootstrap",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "automated_tests",
                "name": "Automated tests",
                "detail": null,
                "points": 22,
                "status": "met",
                "details": [],
                "max_points": 22
              },
              {
                "key": "lint_format_config",
                "name": "Lint / format config",
                "detail": "phpstan.neon",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "phpstan.neon"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "1 of the last 35 commits agent-authored or agent-credited",
                "points": 5.7,
                "status": "partial",
                "details": [
                  {
                    "code": "agent_authored_commits",
                    "params": {
                      "count": 1,
                      "sampled": 35
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "no automated dependency updates observed",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_dependency_automation",
                    "params": {}
                  }
                ],
                "max_points": 8
              },
              {
                "key": "openssf_scorecard_pinned_dependencies",
                "name": "OpenSSF Scorecard: Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "ai_code_legibility",
            "band": "moderate",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 55,
            "inputs": {
              "primary_language": "PHP",
              "largest_source_bytes": 4378,
              "source_files_sampled": 28,
              "oversized_source_files": 0
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "PHP without a type-check config",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_typecheck_config_language",
                    "params": {
                      "language": "PHP"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "0/28 source files over 60KB",
                "points": 55,
                "status": "met",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 28,
                      "oversized": 0
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight: agent tooling is a real maintenance signal, but its absence must never gate the top of the scale (calibration saturates at raw 91, so 100/100 remains reachable with AI Readiness at zero)."
      }
    ],
    "classification": {
      "top": [
        "library"
      ],
      "labels": [
        "library"
      ],
      "scores": {
        "library": 6
      },
      "primary": "library",
      "evidence": [
        {
          "tier": "distribution",
          "label": "library",
          "source": "registry:packagist",
          "weight": 6
        }
      ],
      "artifacts": [],
      "confidence": "medium",
      "host_extension": false,
      "runs_as_process": false,
      "consumed_by_code": true
    },
    "metrics_version": "2.5.0"
  },
  "warnings": [
    "Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token",
    "No resolved dependencies carried a version and a supported ecosystem"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-30T22:49:20.160003Z",
  "schema_version": "0.27.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/t/TomasVotruba/cognitive-complexity.svg",
  "full_name": "TomasVotruba/cognitive-complexity",
  "license_state": "standard",
  "license_spdx": "MIT"
}

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.5.0, schema v0.27.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsPackagist.