{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:07.863954Z","repo":{"ref":{"host":"github.com","owner":"sstalle","name":"php7cc"},"default_branch":"master","clone_url":"https://github.com/sstalle/php7cc.git","html_url":"https://github.com/sstalle/php7cc","description":"PHP 7 Compatibility Checker","stars":1508,"forks":121,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":279,"primary_language":"PHP","license_spdx":"MIT","created_at":"2015-07-25T15:08:22Z","pushed_at":"2018-03-20T19:30:35Z","security_policy_url":null,"distribution":{"owner_created_at":"2013-08-30T18:53:46Z","owner_type":"User","release_assets":[{"name":"php7cc.phar","size":2033400,"download_count":13975,"release_tag":"1.2.1","url":"https://github.com/sstalle/php7cc/releases/download/1.2.1/php7cc.phar"},{"name":"php7cc.phar","size":2038073,"download_count":218,"release_tag":"1.2.0","url":"https://github.com/sstalle/php7cc/releases/download/1.2.0/php7cc.phar"},{"name":"php7cc.phar","size":1939369,"download_count":18163,"release_tag":"1.1.0","url":"https://github.com/sstalle/php7cc/releases/download/1.1.0/php7cc.phar"},{"name":"php7cc.phar","size":2843116,"download_count":809,"release_tag":"1.0.2","url":"https://github.com/sstalle/php7cc/releases/download/1.0.2/php7cc.phar"},{"name":"php7cc.phar","size":2725493,"download_count":825,"release_tag":"1.0.1","url":"https://github.com/sstalle/php7cc/releases/download/1.0.1/php7cc.phar"},{"name":"php7cc.phar","size":2654231,"download_count":54,"release_tag":"1.0.0","url":"https://github.com/sstalle/php7cc/releases/download/1.0.0/php7cc.phar"}]}},"commit_sha":"d20fa7d7d381fed050b5d18a094103fc41fa2911","profile":{"lines_by_language":{"PHP":8799},"files_by_category":{"source":99,"other":66,"test":32,"config":7,"docs":4},"source_lines":5539,"test_lines":3260},"pillars":{"ai_provenance":{"score":0.0,"confidence":0.65,"coverage":1.0,"label":"none-detected","breakdown":{"attributed_share":0.0,"suspected_share":0.0,"estimated_share":0.0,"ai_artifacts":0.0,"flagged_work_units":0.0,"flagged_releases":0.0,"style_index":0.0},"summary":"No AI attribution or AI-consistent velocity signals detected."},"quality":{"score":86.3,"confidence":0.9,"coverage":1.0,"label":"strong","breakdown":{"complexity":82.7,"duplication":95.4,"lint":100.0,"testing":69.9,"docs":100.0,"type_safety":null,"process":null},"summary":"Code quality is strong: test-to-source ratio 0.59, no CI test run detected; 6% of function code in complex or long functions; 1% duplicated lines. Weakest area: testing."},"security":{"score":81.8,"confidence":0.85,"coverage":1.0,"label":"adequate","breakdown":{"secrets":100.0,"sast":100.0,"dependencies":null,"ci_actions":null,"posture":0.0,"scorecard":null},"summary":"Security posture is adequate: no high-impact findings. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no published OpenSSF Scorecard result for this repo"},{"analyzer":"sec-registry","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no registry dependencies declared"},{"analyzer":"ai-attribution","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"commits":156.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":10215.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2015-07":{"loc":2099,"attributed_loc":0},"2015-08":{"loc":3595,"attributed_loc":0},"2015-09":{"loc":97,"attributed_loc":0},"2015-10":{"loc":9,"attributed_loc":0},"2015-12":{"loc":38,"attributed_loc":0},"2016-02":{"loc":113,"attributed_loc":0},"2016-03":{"loc":31,"attributed_loc":0},"2016-04":{"loc":427,"attributed_loc":0},"2016-05":{"loc":526,"attributed_loc":0},"2016-06":{"loc":357,"attributed_loc":0},"2016-07":{"loc":117,"attributed_loc":0},"2017-05":{"loc":147,"attributed_loc":0},"2017-06":{"loc":13,"attributed_loc":0},"2017-07":{"loc":368,"attributed_loc":0},"2017-08":{"loc":2277,"attributed_loc":0},"2017-09":{"loc":0,"attributed_loc":0},"2017-10":{"loc":1,"attributed_loc":0},"2018-03":{"loc":0,"attributed_loc":0}}},"error":null},{"analyzer":"ai-artifacts","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"artifacts":0.0,"workflow_agents":0.0,"tools_configured":0.0},"findings":[],"evidence":[],"data":{"artifacts":[],"workflows":[],"tools":[]},"error":null},{"analyzer":"ai-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"work_units":73.0,"flagged_units":0.0,"pre_ai_era_bursts":1.0,"pre_ai_era_measured_loc":10215.0,"pre_ai_era_burst_loc":2277.0,"measured_loc":10215.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":569.25,"median_loc_per_hour":44.76262245666918,"pr_timed_units":17.0,"excluded_import_loc":0.0},"findings":[],"evidence":[],"data":{"flagged_loc_by_commit":{},"excluded_import_commits":[]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"releases":0.0,"flagged_releases":0.0,"max_loc_per_day":0.0},"findings":[],"evidence":[],"data":{"releases":[]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":5539.0,"index":0.0,"count:narrated_steps":0.0,"per_kloc:narrated_steps":0.0,"files:narrated_steps":0.0,"count:placeholder":0.0,"per_kloc:placeholder":0.0,"files:placeholder":0.0,"count:emoji_in_code":0.0,"per_kloc:emoji_in_code":0.0,"files:emoji_in_code":0.0,"count:assistant_voice":0.0,"per_kloc:assistant_voice":0.0,"files:assistant_voice":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-secrets","pillar":"security","status":"ok","tool_version":"gitleaks 8.30.1","metrics":{"secrets_current":0.0,"secrets_history":0.0,"secrets_nonprod":0.0,"secrets_low_confidence":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":0.0,"findings_high":0.0,"findings_medium":0.0,"findings_low":0.0,"weighted_findings":0.0,"scanned_lines":5539.0,"parse_errors":0.0},"findings":[],"evidence":[],"data":{"rulesets":["php"]},"error":null},{"analyzer":"sec-deps","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-actions","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-posture","pillar":"security","status":"ok","tool_version":null,"metrics":{"check:security_policy":0.0,"check:dependency_updates":0.0,"check:signed_commits":0.0,"check:lockfiles":0.0,"signed_commit_share":0.0,"unpinned_manifests":1.0},"findings":[],"evidence":[{"kind":"posture","description":"composer.json has no lockfile alongside it (unpinned dependencies)","ref":"composer.json","url":null,"weight":0.3}],"data":{},"error":null},{"analyzer":"sec-distribution","pillar":"security","status":"ok","tool_version":null,"metrics":{"signals":0.0,"binary_assets":0.0,"suspicious":0.0},"findings":[],"evidence":[],"data":{"signals":[],"suspicious":false,"unusual_traction":false,"metadata":true},"error":null},{"analyzer":"qual-complexity","pillar":"quality","status":"ok","tool_version":"lizard 1.25.1","metrics":{"functions":278.0,"function_nloc":2242.0,"mean_ccn":2.29,"p90_ccn":5.0,"complex_functions":1.0,"long_functions":1.0,"many_param_functions":0.0,"risky_nloc_share":0.0633},"findings":[],"evidence":[{"kind":"complex-function","description":"FuncGetArgsVisitor::getModifiedVariableNames in src/NodeVisitor/FuncGetArgsVisitor.php: complexity 16, 33 lines","ref":"src/NodeVisitor/FuncGetArgsVisitor.php","url":"https://github.com/sstalle/php7cc/blob/d20fa7d7d381fed050b5d18a094103fc41fa2911/src/NodeVisitor/FuncGetArgsVisitor.php#L121","weight":0.26666666666666666},{"kind":"complex-function","description":"ContainerBuilder::buildContainer in src/Infrastructure/ContainerBuilder.php: complexity 4, 109 lines","ref":"src/Infrastructure/ContainerBuilder.php","url":"https://github.com/sstalle/php7cc/blob/d20fa7d7d381fed050b5d18a094103fc41fa2911/src/Infrastructure/ContainerBuilder.php#L153","weight":0.06666666666666667}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":2689.0,"duplicated_lines":21.0,"duplicated_share":0.0078,"files":99.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: src/NodeVisitor/PasswordHashSaltVisitor.php:15 and src/NodeVisitor/SessionSetSaveHandlerVisitor.php:14","ref":"src/NodeVisitor/PasswordHashSaltVisitor.php","url":"https://github.com/sstalle/php7cc/blob/d20fa7d7d381fed050b5d18a094103fc41fa2911/src/NodeVisitor/PasswordHashSaltVisitor.php#L15","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":0.0,"weighted_findings":0.0,"scanned_lines":5539.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":1.0,"check:test_ratio":1.0,"check:ci_present":1.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":0.9901,"test_lines":3260.0,"source_lines":5539.0,"test_ratio":0.5886,"ci_files":1.0,"cochange_share":0.2475,"cochange_commits":101.0},"findings":[],"evidence":[{"kind":"ci","description":"CI config: .travis.yml","ref":".travis.yml","url":null,"weight":0.0}],"data":{"test_commands":[],"lint_commands":[]},"error":null},{"analyzer":"qual-docs","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:readme":1.0,"check:license":1.0,"check:contributing":1.0,"check:changelog":1.0,"readme_lines":151.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0},{"kind":"docs","description":"LICENSE","ref":"LICENSE","url":null,"weight":0.0},{"kind":"docs","description":"CONTRIBUTING.md","ref":"CONTRIBUTING.md","url":null,"weight":0.0},{"kind":"docs","description":"CHANGELOG.md","ref":"CHANGELOG.md","url":null,"weight":0.0}],"data":{},"error":null},{"analyzer":"qual-type-safety","pillar":"quality","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null}],"flags":[]}