{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:05.721338Z","repo":{"ref":{"host":"github.com","owner":"jzuras","name":"EnphaseMaui"},"default_branch":"main","clone_url":"https://github.com/jzuras/EnphaseMaui.git","html_url":"https://github.com/jzuras/EnphaseMaui","description":null,"stars":0,"forks":0,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":1543,"primary_language":"C#","license_spdx":null,"created_at":"2025-07-17T18:37:19Z","pushed_at":"2025-08-10T20:32:27Z","security_policy_url":null,"distribution":{"owner_created_at":"2023-04-12T01:53:35Z","owner_type":"User","release_assets":[]}},"commit_sha":"0a91f6b09a5743e6c06c9f5965e8707fd7c9956a","profile":{"lines_by_language":{"JavaScript":30662,"C#":2074},"files_by_category":{"other":111,"source":54,"vendored":23,"binary":15,"config":13,"docs":7},"source_lines":32736,"test_lines":0},"pillars":{"ai_provenance":{"score":0.0,"confidence":0.41,"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":null,"style_index":0.061},"summary":"No AI attribution or AI-consistent velocity signals detected."},"quality":{"score":35.8,"confidence":0.9,"coverage":1.0,"label":"poor","breakdown":{"complexity":57.0,"duplication":0.3,"lint":100.0,"testing":0.0,"docs":40.0,"type_safety":null,"process":null},"summary":"Code quality is poor: test-to-source ratio 0.00, no CI test run detected; 19% of function code in complex or long functions; 95% duplicated lines. Weakest area: testing."},"security":{"score":85.5,"confidence":0.85,"coverage":1.0,"label":"strong","breakdown":{"secrets":100.0,"sast":100.0,"dependencies":null,"ci_actions":null,"posture":20.0,"scorecard":null},"summary":"Security posture is strong: 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":3.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":32814.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2025-07":{"loc":32778,"attributed_loc":0},"2025-08":{"loc":36,"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":1.0,"flagged_units":0.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":0.0,"pre_ai_era_burst_loc":0.0,"measured_loc":36.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":1.2619525209838556,"median_loc_per_hour":0.0,"pr_timed_units":1.0,"excluded_import_loc":2268.0},"findings":[],"evidence":[],"data":{"flagged_loc_by_commit":{},"excluded_import_commits":["58fb866da450dc42429e1ea5706e8193954188be"]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":32736.0,"index":0.061,"count:narrated_steps":2.0,"per_kloc:narrated_steps":0.061,"files:narrated_steps":1.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":[{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: // Step 1: Login to get session_id","ref":"MauiEnphaseMonitor.OAuth/Components/Pages/OAuth.razor.cs:37","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/Components/Pages/OAuth.razor.cs#L37","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: // Step 2: Get token using session_id","ref":"MauiEnphaseMonitor.OAuth/Components/Pages/OAuth.razor.cs:63","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/Components/Pages/OAuth.razor.cs#L63","weight":0.0}],"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":32736.0,"parse_errors":0.0},"findings":[],"evidence":[],"data":{"rulesets":["javascript","csharp"]},"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":1.0,"check:lockfiles":1.0,"signed_commit_share":0.6667,"unpinned_manifests":0.0},"findings":[],"evidence":[],"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":3082.0,"function_nloc":26931.0,"mean_ccn":2.41,"p90_ccn":5.0,"complex_functions":17.0,"long_functions":4.0,"many_param_functions":0.0,"risky_nloc_share":0.1875},"findings":[],"evidence":[{"kind":"complex-function","description":"preventOverflow in MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js: complexity 42, 97 lines","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L3015","weight":0.7},{"kind":"complex-function","description":"preventOverflow in MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js: complexity 42, 97 lines","ref":"MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L3015","weight":0.7},{"kind":"complex-function","description":"mapToStyles in MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js: complexity 33, 75 lines","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L2178","weight":0.55},{"kind":"complex-function","description":"mapToStyles in MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js: complexity 33, 75 lines","ref":"MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L2178","weight":0.55},{"kind":"complex-function","description":"EnvoyLocalApiService::GetCurrentEnergyMetricsInternalAsync in MauiEnphaseMonitor.Shared/Services/EnvoyLocalApiService.cs: complexity 23, 64 lines","ref":"MauiEnphaseMonitor.Shared/Services/EnvoyLocalApiService.cs","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.Shared/Services/EnvoyLocalApiService.cs#L65","weight":0.38333333333333336},{"kind":"complex-function","description":"flip in MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js: complexity 22, 75 lines","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L2745","weight":0.36666666666666664},{"kind":"complex-function","description":"flip in MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js: complexity 22, 75 lines","ref":"MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L2745","weight":0.36666666666666664},{"kind":"complex-function","description":"clearMenus in MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js: complexity 17, 27 lines","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L3813","weight":0.2833333333333333},{"kind":"complex-function","description":"detectOverflow in MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js: complexity 17, 46 lines","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L2640","weight":0.2833333333333333},{"kind":"complex-function","description":"clearMenus in MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js: complexity 17, 27 lines","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js#L1970","weight":0.2833333333333333}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":22447.0,"duplicated_lines":21404.0,"duplicated_share":0.9535,"files":54.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.CorsProxy.Shared/Models/LiveData.cs:5 and MauiEnphaseMonitor.Shared/Models/EnvoyDataModels.cs:13","ref":"MauiEnphaseMonitor.CorsProxy.Shared/Models/LiveData.cs","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.CorsProxy.Shared/Models/LiveData.cs#L5","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.CorsProxy.Shared/Models/Panel.cs:5 and MauiEnphaseMonitor.Shared/Models/EnvoyDataModels.cs:5","ref":"MauiEnphaseMonitor.CorsProxy.Shared/Models/Panel.cs","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.CorsProxy.Shared/Models/Panel.cs#L5","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js:2 and MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js:2","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L2","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js:13 and MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js:9","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L13","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js:873 and MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js:4692","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L873","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js:6271 and MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.js:4451","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L6271","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js:2 and MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js:2","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js#L2","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js:117 and MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.js:140","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js#L117","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.js:2 and MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.js:2","ref":"MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.OAuth/wwwroot/lib/bootstrap/dist/js/bootstrap.js#L2","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js:1125 and MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js:1121","ref":"MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js","url":"https://github.com/jzuras/EnphaseMaui/blob/0a91f6b09a5743e6c06c9f5965e8707fd7c9956a/MauiEnphaseMonitor.Wasm/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js#L1125","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":32736.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":0.0,"check:test_ratio":0.0,"check:ci_present":0.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":0.0,"test_lines":0.0,"source_lines":32736.0,"test_ratio":0.0,"ci_files":0.0,"cochange_share":0.0,"cochange_commits":2.0},"findings":[],"evidence":[],"data":{"test_commands":[],"lint_commands":[]},"error":null},{"analyzer":"qual-docs","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:readme":1.0,"check:license":0.0,"check:contributing":0.0,"check:changelog":0.0,"readme_lines":60.0},"findings":[],"evidence":[{"kind":"docs","description":"ReadMe.md","ref":"ReadMe.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":[]}