{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:06.016249Z","repo":{"ref":{"host":"github.com","owner":"leafo","name":"scssphp"},"default_branch":"master","clone_url":"https://github.com/leafo/scssphp.git","html_url":"https://github.com/leafo/scssphp","description":"SCSS compiler written in PHP","stars":1330,"forks":209,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":2183,"primary_language":"PHP","license_spdx":"MIT","created_at":"2012-07-29T20:55:31Z","pushed_at":"2019-09-13T13:43:10Z","security_policy_url":null,"distribution":{"owner_created_at":"2008-06-26T20:56:57Z","owner_type":"User","release_assets":[]}},"commit_sha":"b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9","profile":{"lines_by_language":{"PHP":13994,"Ruby":4238,"Shell":25},"files_by_category":{"other":116,"source":30,"test":10,"config":5,"docs":2},"source_lines":13047,"test_lines":5210},"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":66.1,"confidence":0.9,"coverage":1.0,"label":"adequate","breakdown":{"complexity":47.1,"duplication":72.5,"lint":100.0,"testing":75.9,"docs":65.0,"type_safety":null,"process":20.0},"summary":"Code quality is adequate: test-to-source ratio 0.40, CI runs tests; 25% of function code in complex or long functions; 5% duplicated lines. Weakest area: process."},"security":{"score":69.4,"confidence":0.85,"coverage":1.0,"label":"weak","breakdown":{"secrets":100.0,"sast":88.0,"dependencies":null,"ci_actions":null,"posture":0.0,"scorecard":25.0},"summary":"Security posture is weak: 5 high-severity SAST findings. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"ok","tool_version":"scorecard v5.6.0","metrics":{"aggregate":2.6,"check:Maintained":0.0,"check:Binary-Artifacts":10.0,"check:Code-Review":4.0,"check:CII-Best-Practices":0.0,"check:Security-Policy":0.0,"check:Fuzzing":0.0,"check:License":10.0,"check:Branch-Protection":0.0,"check:SAST":0.0},"findings":[],"evidence":[{"kind":"scorecard-check","description":"Scorecard Maintained: 0/10 (0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0)","ref":"Maintained","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Binary-Artifacts: 10/10 (no binaries found in the repo)","ref":"Binary-Artifacts","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":0.0},{"kind":"scorecard-check","description":"Scorecard Code-Review: 4/10 (Found 5/11 approved changesets -- score normalized to 4)","ref":"Code-Review","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":0.6},{"kind":"scorecard-check","description":"Scorecard CII-Best-Practices: 0/10 (no effort to earn an OpenSSF best practices badge detected)","ref":"CII-Best-Practices","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Security-Policy: 0/10 (security policy file not detected)","ref":"Security-Policy","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Fuzzing: 0/10 (project is not fuzzed)","ref":"Fuzzing","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":1.0},{"kind":"scorecard-check","description":"Scorecard License: 10/10 (license file detected)","ref":"License","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":0.0},{"kind":"scorecard-check","description":"Scorecard Branch-Protection: 0/10 (branch protection not enabled on development/release branches)","ref":"Branch-Protection","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":1.0},{"kind":"scorecard-check","description":"Scorecard SAST: 0/10 (SAST tool is not run on all commits -- score normalized to 0)","ref":"SAST","url":"https://scorecard.dev/viewer/?uri=github.com/leafo/scssphp","weight":1.0}],"data":{"date":"2026-11-09","commit":"b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9","matches_head":true},"error":null},{"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":989.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":41183.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2012-06":{"loc":2080,"attributed_loc":0},"2012-07":{"loc":2507,"attributed_loc":0},"2012-08":{"loc":149,"attributed_loc":0},"2012-10":{"loc":89,"attributed_loc":0},"2012-11":{"loc":462,"attributed_loc":0},"2012-12":{"loc":3,"attributed_loc":0},"2013-01":{"loc":1,"attributed_loc":0},"2013-02":{"loc":127,"attributed_loc":0},"2013-03":{"loc":264,"attributed_loc":0},"2013-04":{"loc":168,"attributed_loc":0},"2013-05":{"loc":320,"attributed_loc":0},"2013-06":{"loc":10,"attributed_loc":0},"2013-07":{"loc":1,"attributed_loc":0},"2013-08":{"loc":6,"attributed_loc":0},"2013-09":{"loc":2,"attributed_loc":0},"2013-10":{"loc":11,"attributed_loc":0},"2013-12":{"loc":33,"attributed_loc":0},"2014-01":{"loc":17,"attributed_loc":0},"2014-03":{"loc":87,"attributed_loc":0},"2014-04":{"loc":3,"attributed_loc":0},"2014-05":{"loc":32,"attributed_loc":0},"2014-07":{"loc":839,"attributed_loc":0},"2014-08":{"loc":11345,"attributed_loc":0},"2014-10":{"loc":2,"attributed_loc":0},"2014-11":{"loc":0,"attributed_loc":0},"2014-12":{"loc":68,"attributed_loc":0},"2015-01":{"loc":3,"attributed_loc":0},"2015-02":{"loc":1,"attributed_loc":0},"2015-04":{"loc":39,"attributed_loc":0},"2015-05":{"loc":211,"attributed_loc":0},"2015-06":{"loc":10493,"attributed_loc":0},"2015-07":{"loc":384,"attributed_loc":0},"2015-08":{"loc":1395,"attributed_loc":0},"2015-09":{"loc":1072,"attributed_loc":0},"2015-10":{"loc":358,"attributed_loc":0},"2015-11":{"loc":2252,"attributed_loc":0},"2015-12":{"loc":1279,"attributed_loc":0},"2016-01":{"loc":14,"attributed_loc":0},"2016-02":{"loc":68,"attributed_loc":0},"2016-06":{"loc":55,"attributed_loc":0},"2016-07":{"loc":148,"attributed_loc":0},"2016-08":{"loc":3,"attributed_loc":0},"2016-09":{"loc":33,"attributed_loc":0},"2016-11":{"loc":113,"attributed_loc":0},"2017-01":{"loc":52,"attributed_loc":0},"2017-02":{"loc":13,"attributed_loc":0},"2017-03":{"loc":8,"attributed_loc":0},"2017-08":{"loc":1,"attributed_loc":0},"2017-09":{"loc":1,"attributed_loc":0},"2017-10":{"loc":31,"attributed_loc":0},"2017-11":{"loc":580,"attributed_loc":0},"2017-12":{"loc":523,"attributed_loc":0},"2018-02":{"loc":51,"attributed_loc":0},"2018-03":{"loc":1,"attributed_loc":0},"2018-04":{"loc":13,"attributed_loc":0},"2018-05":{"loc":28,"attributed_loc":0},"2018-06":{"loc":40,"attributed_loc":0},"2018-07":{"loc":6,"attributed_loc":0},"2018-08":{"loc":17,"attributed_loc":0},"2018-09":{"loc":54,"attributed_loc":0},"2018-10":{"loc":376,"attributed_loc":0},"2019-03":{"loc":48,"attributed_loc":0},"2019-04":{"loc":775,"attributed_loc":0},"2019-05":{"loc":1113,"attributed_loc":0},"2019-06":{"loc":905,"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":505.0,"flagged_units":0.0,"pre_ai_era_bursts":4.0,"pre_ai_era_measured_loc":41183.0,"pre_ai_era_burst_loc":19297.0,"measured_loc":41183.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":1473.75,"median_loc_per_hour":58.453502895424094,"pr_timed_units":6.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":53.0,"flagged_releases":0.0,"max_loc_per_day":6120.0},"findings":[],"evidence":[],"data":{"releases":[{"from":"v0.0.1","to":"v0.0.2","loc":94,"days":0.89,"loc_per_day":105.4,"flagged":false},{"from":"v0.0.2","to":"v0.0.4","loc":431,"days":95.58,"loc_per_day":4.5,"flagged":false},{"from":"v0.0.4","to":"v0.0.5","loc":559,"days":128.36,"loc_per_day":4.4,"flagged":false},{"from":"v0.0.5","to":"v0.0.7","loc":472,"days":73.4,"loc_per_day":6.4,"flagged":false},{"from":"v0.0.7","to":"v0.0.8","loc":75,"days":115.37,"loc_per_day":0.7,"flagged":false},{"from":"v0.0.8","to":"v0.0.9","loc":50,"days":98.02,"loc_per_day":0.5,"flagged":false},{"from":"v0.0.9","to":"v0.0.10","loc":106,"days":112.12,"loc_per_day":0.9,"flagged":false},{"from":"v0.0.10","to":"v0.0.11","loc":227,"days":81.08,"loc_per_day":2.8,"flagged":false},{"from":"v0.0.11","to":"v0.0.12","loc":57,"days":1.9,"loc_per_day":30.0,"flagged":false},{"from":"v0.0.12","to":"v0.0.13","loc":673,"days":28.78,"loc_per_day":23.4,"flagged":false},{"from":"v0.0.13","to":"v0.0.14","loc":18,"days":0.38,"loc_per_day":47.5,"flagged":false},{"from":"v0.0.14","to":"v0.0.15","loc":13,"days":0.39,"loc_per_day":33.0,"flagged":false},{"from":"v0.0.15","to":"v0.1.0","loc":10957,"days":4.52,"loc_per_day":2422.8,"flagged":false},{"from":"v0.1.0","to":"v0.1.1","loc":77,"days":2.79,"loc_per_day":27.6,"flagged":false},{"from":"v0.1.1","to":"v0.1.2","loc":127,"days":280.74,"loc_per_day":0.5,"flagged":false},{"from":"v0.1.2","to":"v0.1.3","loc":11,"days":11.15,"loc_per_day":1.0,"flagged":false},{"from":"v0.1.3","to":"v0.1.4","loc":124,"days":1.74,"loc_per_day":71.3,"flagged":false},{"from":"v0.1.4","to":"v0.1.5","loc":255,"days":0.04,"loc_per_day":6120.0,"flagged":false},{"from":"v0.1.5","to":"v0.1.6","loc":9229,"days":20.52,"loc_per_day":449.8,"flagged":false},{"from":"v0.1.6","to":"v0.1.7","loc":1338,"days":8.95,"loc_per_day":149.5,"flagged":false},{"from":"v0.1.7","to":"v0.1.8","loc":206,"days":16.52,"loc_per_day":12.5,"flagged":false},{"from":"v0.1.8","to":"v0.1.9","loc":190,"days":14.09,"loc_per_day":13.5,"flagged":false},{"from":"v0.1.9","to":"v0.1.10","loc":205,"days":22.01,"loc_per_day":9.3,"flagged":false},{"from":"v0.1.10","to":"v0.2.0","loc":1078,"days":1.98,"loc_per_day":545.6,"flagged":false},{"from":"v0.2.0","to":"v0.2.1","loc":240,"days":11.48,"loc_per_day":20.9,"flagged":false},{"from":"v0.2.1","to":"v0.3.0","loc":99,"days":0.91,"loc_per_day":108.9,"flagged":false},{"from":"v0.3.0","to":"v0.3.1","loc":7,"days":5.03,"loc_per_day":1.4,"flagged":false},{"from":"v0.3.1","to":"v0.3.2","loc":585,"days":22.61,"loc_per_day":25.9,"flagged":false},{"from":"v0.3.2","to":"v0.3.3","loc":446,"days":19.03,"loc_per_day":23.4,"flagged":false},{"from":"v0.3.3","to":"v0.4.0","loc":1802,"days":16.89,"loc_per_day":106.7,"flagged":false},{"from":"v0.4.0","to":"v0.5.0","loc":180,"days":1.6,"loc_per_day":112.6,"flagged":false},{"from":"v0.5.0","to":"v0.5.1","loc":90,"days":0.71,"loc_per_day":126.0,"flagged":false},{"from":"v0.5.1","to":"v0.6.0","loc":285,"days":22.32,"loc_per_day":12.8,"flagged":false},{"from":"v0.6.0","to":"v0.6.1","loc":295,"days":9.09,"loc_per_day":32.4,"flagged":false},{"from":"v0.6.1","to":"v0.6.2","loc":574,"days":3.61,"loc_per_day":158.9,"flagged":false},{"from":"v0.6.2","to":"v0.6.3","loc":51,"days":29.17,"loc_per_day":1.7,"flagged":false},{"from":"v0.6.3","to":"v0.6.4","loc":34,"days":152.81,"loc_per_day":0.2,"flagged":false},{"from":"v0.6.4","to":"v0.6.5","loc":53,"days":4.71,"loc_per_day":11.2,"flagged":false},{"from":"v0.6.5","to":"v0.6.6","loc":185,"days":82.42,"loc_per_day":2.2,"flagged":false},{"from":"v0.6.6","to":"v0.6.7","loc":166,"days":165.15,"loc_per_day":1.0,"flagged":false},{"from":"v0.6.7","to":"v0.7.1","loc":23,"days":232.45,"loc_per_day":0.1,"flagged":false},{"from":"v0.7.1","to":"v0.7.2","loc":30,"days":1.24,"loc_per_day":24.2,"flagged":false},{"from":"v0.7.2","to":"v0.7.3","loc":1087,"days":66.0,"loc_per_day":16.5,"flagged":false},{"from":"v0.7.3","to":"v0.7.4","loc":16,"days":1.12,"loc_per_day":14.3,"flagged":false},{"from":"v0.7.4","to":"v0.7.5","loc":51,"days":50.07,"loc_per_day":1.0,"flagged":false},{"from":"v0.7.5","to":"v0.7.6","loc":42,"days":104.01,"loc_per_day":0.4,"flagged":false},{"from":"v0.7.6","to":"v0.7.7","loc":45,"days":58.96,"loc_per_day":0.8,"flagged":false},{"from":"v0.7.7","to":"v0.7.8","loc":1020,"days":276.7,"loc_per_day":3.7,"flagged":false},{"from":"v0.7.8","to":"v0.8.0","loc":492,"days":7.99,"loc_per_day":61.5,"flagged":false},{"from":"v0.8.0","to":"v0.8.1","loc":312,"days":6.96,"loc_per_day":44.8,"flagged":false},{"from":"v0.8.1","to":"v0.8.2","loc":3,"days":0.08,"loc_per_day":38.3,"flagged":false},{"from":"v0.8.2","to":"v0.8.3","loc":972,"days":21.87,"loc_per_day":44.4,"flagged":false},{"from":"v0.8.3","to":"v0.8.4","loc":933,"days":18.23,"loc_per_day":51.2,"flagged":false}]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":13047.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":9.0,"findings_high":5.0,"findings_medium":4.0,"findings_low":0.0,"weighted_findings":4.75,"scanned_lines":13047.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/php.lang.security.weak-crypto","severity":"high","message":"Detected usage of weak crypto function. Consider using stronger alternatives. [confidence low]","path":"example/Server.php","line":103,"fingerprint":"php.lang.security.weak-crypto:example/Server.php:103"},{"rule_id":"opengrep/php.lang.security.weak-crypto","severity":"high","message":"Detected usage of weak crypto function. Consider using stronger alternatives. [confidence low]","path":"example/Server.php","line":212,"fingerprint":"php.lang.security.weak-crypto:example/Server.php:212"},{"rule_id":"opengrep/php.lang.security.weak-crypto","severity":"high","message":"Detected usage of weak crypto function. Consider using stronger alternatives. [confidence low]","path":"src/Cache.php","line":161,"fingerprint":"php.lang.security.weak-crypto:src/Cache.php:161"},{"rule_id":"opengrep/php.lang.security.weak-crypto","severity":"high","message":"Detected usage of weak crypto function. Consider using stronger alternatives. [confidence low]","path":"src/Compiler.php","line":206,"fingerprint":"php.lang.security.weak-crypto:src/Compiler.php:206"},{"rule_id":"opengrep/php.lang.security.weak-crypto","severity":"high","message":"Detected usage of weak crypto function. Consider using stronger alternatives. [confidence low]","path":"src/Parser.php","line":158,"fingerprint":"php.lang.security.weak-crypto:src/Parser.php:158"},{"rule_id":"opengrep/php.lang.security.unserialize-use","severity":"medium","message":"Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers). [confidence low]","path":"example/Server.php","line":135,"fingerprint":"php.lang.security.unserialize-use:example/Server.php:135"},{"rule_id":"opengrep/php.lang.security.unserialize-use","severity":"medium","message":"Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers). [confidence low]","path":"src/Cache.php","line":109,"fingerprint":"php.lang.security.unserialize-use:src/Cache.php:109"},{"rule_id":"opengrep/php.lang.security.unlink-use","severity":"medium","message":"Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to. [confidence low]","path":"src/Cache.php","line":236,"fingerprint":"php.lang.security.unlink-use:src/Cache.php:236"},{"rule_id":"opengrep/php.lang.security.unserialize-use","severity":"medium","message":"Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers). [confidence low]","path":"src/Compiler.php","line":459,"fingerprint":"php.lang.security.unserialize-use:src/Compiler.php:459"}],"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.02,"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":393.0,"function_nloc":6768.0,"mean_ccn":5.24,"p90_ccn":10.0,"complex_functions":15.0,"long_functions":6.0,"many_param_functions":0.0,"risky_nloc_share":0.2507},"findings":[],"evidence":[{"kind":"complex-function","description":"Parser::parseChunk in src/Parser.php: complexity 132, 310 lines","ref":"src/Parser.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Parser.php#L307","weight":1.0},{"kind":"complex-function","description":"Compiler::compileChild in src/Compiler.php: complexity 106, 307 lines","ref":"src/Compiler.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Compiler.php#L2049","weight":1.0},{"kind":"complex-function","description":"Compiler::reduce in src/Compiler.php: complexity 64, 136 lines","ref":"src/Compiler.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Compiler.php#L2553","weight":1.0},{"kind":"complex-function","description":"Parser::selectorSingle in src/Parser.php: complexity 54, 143 lines","ref":"src/Parser.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Parser.php#L2324","weight":0.9},{"kind":"complex-function","description":"Parser::value in src/Parser.php: complexity 41, 101 lines","ref":"src/Parser.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Parser.php#L1442","weight":0.6833333333333333},{"kind":"complex-function","description":"Compiler::compileValue in src/Compiler.php: complexity 33, 104 lines","ref":"src/Compiler.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Compiler.php#L3224","weight":0.55},{"kind":"complex-function","description":"Compiler::compileMediaQuery in src/Compiler.php: complexity 28, 91 lines","ref":"src/Compiler.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Compiler.php#L1768","weight":0.4666666666666667},{"kind":"complex-function","description":"Compiler::applyArguments in src/Compiler.php: complexity 27, 91 lines","ref":"src/Compiler.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Compiler.php#L4412","weight":0.45},{"kind":"complex-function","description":"Compiler::matchExtends in src/Compiler.php: complexity 23, 75 lines","ref":"src/Compiler.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Compiler.php#L527","weight":0.38333333333333336},{"kind":"complex-function","description":"Compiler::compile in src/Compiler.php: complexity 22, 76 lines","ref":"src/Compiler.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Compiler.php#L203","weight":0.36666666666666664}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":7239.0,"duplicated_lines":387.0,"duplicated_share":0.0535,"files":30.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: src/Block.php:1 and src/Cache.php:1","ref":"src/Block.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Block.php#L1","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Block.php:37 and src/Node.php:27","ref":"src/Block.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Block.php#L37","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Compiler.php:853 and src/Compiler.php:1304","ref":"src/Compiler.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Compiler.php#L853","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Exception/CompilerException.php:1 and src/Exception/ParserException.php:1","ref":"src/Exception/CompilerException.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Exception/CompilerException.php#L1","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Formatter.php:147 and src/Formatter/Compressed.php:56","ref":"src/Formatter.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Formatter.php#L147","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Formatter.php:195 and src/Formatter/Nested.php:128","ref":"src/Formatter.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Formatter.php#L195","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Formatter/Compact.php:1 and src/Formatter/Compressed.php:1","ref":"src/Formatter/Compact.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Formatter/Compact.php#L1","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Formatter/Compressed.php:25 and src/Formatter/Crunched.php:25","ref":"src/Formatter/Compressed.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Formatter/Compressed.php#L25","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Formatter/Debug.php:31 and src/Formatter/Nested.php:36","ref":"src/Formatter/Debug.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Formatter/Debug.php#L31","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/Formatter/Expanded.php:25 and src/Formatter/Nested.php:30","ref":"src/Formatter/Expanded.php","url":"https://github.com/leafo/scssphp/blob/b9cdea3e42c3bcb1a9faafd04ccce4e8ec860ad9/src/Formatter/Expanded.php#L25","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":13047.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":0.7987,"check:ci_present":1.0,"check:ci_runs_tests":1.0,"check:ci_runs_lint":0.0,"check:tests_cochange":0.0885,"test_lines":5210.0,"source_lines":13047.0,"test_ratio":0.3993,"ci_files":1.0,"cochange_share":0.0221,"cochange_commits":226.0},"findings":[],"evidence":[{"kind":"ci","description":"CI config: .travis.yml","ref":".travis.yml","url":null,"weight":0.0},{"kind":"ci","description":"CI runs tests (phpunit)","ref":null,"url":null,"weight":0.0}],"data":{"test_commands":["phpunit"],"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":0.0,"check:changelog":0.0,"readme_lines":29.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0},{"kind":"docs","description":"LICENSE.md","ref":"LICENSE.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":[]}