{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-4+qual-2+sec-2","generated_at":"2026-11-13T23:41:35.438225Z","repo":{"ref":{"host":"github.com","owner":"zouxiaohang","name":"TinySTL"},"default_branch":"master","clone_url":"https://github.com/zouxiaohang/TinySTL.git","html_url":"https://github.com/zouxiaohang/TinySTL","description":"TinySTL is a subset of STL(cut some containers and algorithms) and also a superset of STL(add some other containers and algorithms)","stars":2489,"forks":655,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":641,"primary_language":"C++","license_spdx":null,"created_at":"2014-09-16T00:25:25Z","pushed_at":"2018-10-27T04:26:50Z","security_policy_url":null,"distribution":{"owner_created_at":"2013-01-19T07:06:41Z","owner_type":"User","release_assets":[]}},"commit_sha":"b6bde62f4539241a2ddc7577d39ba61925a132fa","profile":{"lines_by_language":{"C":7072,"C++":3495},"files_by_category":{"source":91,"binary":6,"docs":3,"other":3,"config":2},"source_lines":10567,"test_lines":0},"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":null},"summary":"No AI attribution or AI-consistent velocity signals detected."},"quality":{"score":56.7,"confidence":0.9,"coverage":1.0,"label":"weak","breakdown":{"complexity":99.0,"duplication":62.3,"lint":100.0,"testing":0.0,"docs":40.0,"type_safety":null,"process":null},"summary":"Code quality is weak: test-to-source ratio 0.00, no CI test run detected; 0% of function code in complex or long functions; 8% duplicated lines. Weakest area: testing."},"security":{"score":80.3,"confidence":0.85,"coverage":1.0,"label":"adequate","breakdown":{"secrets":100.0,"sast":95.9,"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":486.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":17276.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2014-09":{"loc":2377,"attributed_loc":0},"2014-10":{"loc":3465,"attributed_loc":0},"2014-11":{"loc":968,"attributed_loc":0},"2014-12":{"loc":1745,"attributed_loc":0},"2015-01":{"loc":6287,"attributed_loc":0},"2015-02":{"loc":1224,"attributed_loc":0},"2015-03":{"loc":1095,"attributed_loc":0},"2015-08":{"loc":42,"attributed_loc":0},"2015-09":{"loc":2,"attributed_loc":0},"2015-11":{"loc":57,"attributed_loc":0},"2015-12":{"loc":6,"attributed_loc":0},"2016-02":{"loc":3,"attributed_loc":0},"2016-03":{"loc":1,"attributed_loc":0},"2016-05":{"loc":4,"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":172.0,"flagged_units":0.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":17276.0,"pre_ai_era_burst_loc":0.0,"measured_loc":17276.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":436.3274115889092,"median_loc_per_hour":41.910220862415144,"pr_timed_units":0.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":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":10567.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":5.0,"findings_high":0.0,"findings_medium":5.0,"findings_low":0.0,"weighted_findings":1.25,"scanned_lines":10567.0,"parse_errors":17.0},"findings":[{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"TinySTL/Algorithm.h","line":24,"fingerprint":"c.lang.security.insecure-use-memset:TinySTL/Algorithm.h:24"},{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"TinySTL/Algorithm.h","line":28,"fingerprint":"c.lang.security.insecure-use-memset:TinySTL/Algorithm.h:28"},{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"TinySTL/Algorithm.h","line":42,"fingerprint":"c.lang.security.insecure-use-memset:TinySTL/Algorithm.h:42"},{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"TinySTL/Algorithm.h","line":48,"fingerprint":"c.lang.security.insecure-use-memset:TinySTL/Algorithm.h:48"},{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"TinySTL/UFSet.h","line":49,"fingerprint":"c.lang.security.insecure-use-memset:TinySTL/UFSet.h:49"}],"evidence":[],"data":{"rulesets":["c"]},"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":1.0,"signed_commit_share":0.0,"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":1034.0,"function_nloc":6244.0,"mean_ccn":1.68,"p90_ccn":3.0,"complex_functions":1.0,"long_functions":0.0,"many_param_functions":0.0,"risky_nloc_share":0.0032},"findings":[],"evidence":[{"kind":"complex-function","description":"TinySTL::suffix_array::calSuffix in TinySTL/SuffixArray.h: complexity 16, 20 lines","ref":"TinySTL/SuffixArray.h","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/SuffixArray.h#L63","weight":0.26666666666666666}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":7883.0,"duplicated_lines":621.0,"duplicated_share":0.0788,"files":91.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/AVLTree.h:35 and TinySTL/BinarySearchTree.h:36","ref":"TinySTL/AVLTree.h","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/AVLTree.h#L35","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Algorithm.h:250 and TinySTL/Algorithm.h:270","ref":"TinySTL/Algorithm.h","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Algorithm.h#L250","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Detail/AVLTree.impl.h:8 and TinySTL/Detail/BinarySearchTree.impl.h:8","ref":"TinySTL/Detail/AVLTree.impl.h","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Detail/AVLTree.impl.h#L8","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Detail/Bitmap.impl.h:47 and TinySTL/Detail/Bitmap.impl.h:85","ref":"TinySTL/Detail/Bitmap.impl.h","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Detail/Bitmap.impl.h#L47","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Detail/List.impl.h:290 and TinySTL/Detail/List.impl.h:312","ref":"TinySTL/Detail/List.impl.h","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Detail/List.impl.h#L290","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Detail/String.cpp:109 and TinySTL/String.h:235","ref":"TinySTL/Detail/String.cpp","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Detail/String.cpp#L109","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Detail/String.cpp:226 and TinySTL/Detail/String.cpp:277","ref":"TinySTL/Detail/String.cpp","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Detail/String.cpp#L226","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Detail/Vector.impl.h:115 and TinySTL/Detail/Vector.impl.h:130","ref":"TinySTL/Detail/Vector.impl.h","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Detail/Vector.impl.h#L115","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Queue.h:12 and TinySTL/Queue.h:57","ref":"TinySTL/Queue.h","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Queue.h#L12","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: TinySTL/Test/AVLTreeTest.cpp:5 and TinySTL/Test/BinarySearchTreeTest.cpp:5","ref":"TinySTL/Test/AVLTreeTest.cpp","url":"https://github.com/zouxiaohang/TinySTL/blob/b6bde62f4539241a2ddc7577d39ba61925a132fa/TinySTL/Test/AVLTreeTest.cpp#L5","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":10567.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":10567.0,"test_ratio":0.0,"ci_files":0.0,"cochange_share":0.0,"cochange_commits":245.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":499.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":[]}