From a399c9a60e6b3d0fe16786c1a9858a1f7a93221a Mon Sep 17 00:00:00 2001 From: Yunus Emre Umar <77045015+emre155@users.noreply.github.com> Date: Sun, 16 Aug 2026 17:00:14 +0300 Subject: [PATCH 1/5] fix(standards/cpp): support functor operator() and type conversion operators in func_start Closes #1752 --- gitgalaxy/standards/language_standards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitgalaxy/standards/language_standards.py b/gitgalaxy/standards/language_standards.py index 6402cf6a8..a60aa4e27 100644 --- a/gitgalaxy/standards/language_standards.py +++ b/gitgalaxy/standards/language_standards.py @@ -3032,7 +3032,7 @@ class PrismConfigSchema(TypedDict): # `(?:[a-zA-Z_]\w*::)*`. Out-of-line operator overload definitions (defined in a # .cpp file, declared in the header) are mainstream, common C++ -- completely # invisible to func_start before this fix. - r"(?![ \t]*#)((?:[a-zA-Z_]\w*::)*[~a-zA-Z_]\w*|(?:[a-zA-Z_]\w*::)*operator[ \t]*[^a-zA-Z_\s(]+|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:new|delete)(?:\[\])?)" + r"(?![ \t]*#)((?:[a-zA-Z_]\w*::)*[~a-zA-Z_]\w*|(?:[a-zA-Z_]\w*::)*operator[ \t]*\(\)|(?:[a-zA-Z_]\w*::)*operator[ \t]*[^a-zA-Z_\s(]+|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:new|delete)(?:\[\])?|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:::)?[a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*(?:[ \t]*[*&]+)?)" # 7. THE PARAMETER BLOCK (Supports vertical gap) # [NESTED PARENTHESIS FIX]: Uses 1-Level Nesting Trick to swallow function pointers without ReDoS. r"[ \t\n]{0,200}(?:ARGS\d+\s*\([^)]*\)|\((?:[^)(]|\([^)]*\))*\)|NOARGS)" From e03e5b9fda22f2d3dde35c2d2673f745dcc5f8b9 Mon Sep 17 00:00:00 2001 From: Yunus Emre Umar <77045015+emre155@users.noreply.github.com> Date: Sun, 16 Aug 2026 18:22:57 +0300 Subject: [PATCH 2/5] fix(standards/cpp): shield operator from return-type consumer in func_start regex When parsing non-primitive conversion operators like MyClass::operator std::string(), the return type loop previously consumed MyClass::operator as a return type prefix, leaving only std::string captured as the function name. Add a negative lookahead to prevent the return type loop from consuming operator identifiers. Addresses part of #1752 --- gitgalaxy/standards/language_standards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitgalaxy/standards/language_standards.py b/gitgalaxy/standards/language_standards.py index a60aa4e27..ea98b7671 100644 --- a/gitgalaxy/standards/language_standards.py +++ b/gitgalaxy/standards/language_standards.py @@ -3018,7 +3018,7 @@ class PrismConfigSchema(TypedDict): # literal `[*&]`, the other forbids consuming past the first # non-whitespace char), so this doesn't reopen the Rule 14 # backtracking gap the surrounding bounds were built to close. - r"(?:(?![ \t]*#)[a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*" + r"(?:(?![ \t]*#)(?!(?:[a-zA-Z_]\w*::)*operator\b)[a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*" r"(?:<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?" r"(?:[ \t]{0,20}[*&]{1,5}[ \t\n]{0,200}|[ \t\n]{1,200})){0,5}" # 5. THE "NOT A FUNCTION" SHIELD @@ -3032,7 +3032,7 @@ class PrismConfigSchema(TypedDict): # `(?:[a-zA-Z_]\w*::)*`. Out-of-line operator overload definitions (defined in a # .cpp file, declared in the header) are mainstream, common C++ -- completely # invisible to func_start before this fix. - r"(?![ \t]*#)((?:[a-zA-Z_]\w*::)*[~a-zA-Z_]\w*|(?:[a-zA-Z_]\w*::)*operator[ \t]*\(\)|(?:[a-zA-Z_]\w*::)*operator[ \t]*[^a-zA-Z_\s(]+|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:new|delete)(?:\[\])?|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:::)?[a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*(?:[ \t]*[*&]+)?)" + r"(?![ \t]*#)((?:[a-zA-Z_]\w*::)*operator[ \t]*\(\)|(?:[a-zA-Z_]\w*::)*operator[ \t]*[^a-zA-Z_\s(]+|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:new|delete)(?:\[\])?|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:::)?[a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*(?:[ \t]*[*&]+)?|(?:[a-zA-Z_]\w*::)*[~a-zA-Z_]\w*)" # 7. THE PARAMETER BLOCK (Supports vertical gap) # [NESTED PARENTHESIS FIX]: Uses 1-Level Nesting Trick to swallow function pointers without ReDoS. r"[ \t\n]{0,200}(?:ARGS\d+\s*\([^)]*\)|\((?:[^)(]|\([^)]*\))*\)|NOARGS)" From fa276765c5ce935304fd267165bb1488748cec0f Mon Sep 17 00:00:00 2001 From: Yunus Emre Umar <77045015+emre155@users.noreply.github.com> Date: Sun, 16 Aug 2026 18:23:11 +0300 Subject: [PATCH 3/5] test(cpp): add regression tests for functor and type conversion operators Addresses part of #1752 --- tests/extraction/languages/test_cpp.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/extraction/languages/test_cpp.py b/tests/extraction/languages/test_cpp.py index e95bf7df9..09c03d9e9 100644 --- a/tests/extraction/languages/test_cpp.py +++ b/tests/extraction/languages/test_cpp.py @@ -60,6 +60,22 @@ "TargetClass& TargetClass::operator=(const TargetClass& other) {", "TargetClass::operator=", ), # out-of-line operator= -- was a real bug, now fixed + ( + "MyClass::operator()() const {", + "MyClass::operator()", + ), # functor operator() + ( + "MyClass::operator bool() const {", + "MyClass::operator bool", + ), # primitive type conversion operator + ( + "MyClass::operator std::string() const {", + "MyClass::operator std::string", + ), # namespace-qualified type conversion operator + ( + "MyClass::operator Foo() const {", + "MyClass::operator Foo", + ), # custom type conversion operator ( "MyClass::MyClass(int x) : field_(x), other_(0) {", "MyClass::MyClass", From c3d8becf229988b5077e776ed42591d1d0e53bb7 Mon Sep 17 00:00:00 2001 From: Joe Esquibel Date: Sun, 16 Aug 2026 21:26:54 -0400 Subject: [PATCH 4/5] fix(cpp): fix argument parsing for operator overloads and update baselines --- gitgalaxy/core/detector.py | 2 +- gitgalaxy/standards/language_standards.py | 4 ++-- tests/tree_sitter_accuracy_baseline_cpp.json | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gitgalaxy/core/detector.py b/gitgalaxy/core/detector.py index 5b12a3627..166ad6d66 100644 --- a/gitgalaxy/core/detector.py +++ b/gitgalaxy/core/detector.py @@ -4445,7 +4445,7 @@ def _extract_name(self, raw_match: str) -> str: # Group 1 now grabs the optional `(Ident::)+` chain immediately # before the `operator` keyword and it's prefixed back on below. op_match = re.search( - r"((?:[a-zA-Z_]\w*::)*)\b(operator\s*(?:\[\s*\]|\(\s*\)|[^a-zA-Z0-9_\s({]+|[a-zA-Z_]\w*(?:\s*\*+)?))", + r"((?:[a-zA-Z_]\w*::)*)\b(operator\s*(?:\[\s*\]|\(\s*\)|(?:::)?[a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*(?:\s*\*+)?|[^a-zA-Z0-9_\s({]+))", match_strip, ) if op_match: diff --git a/gitgalaxy/standards/language_standards.py b/gitgalaxy/standards/language_standards.py index c29eec4b7..ba7a105eb 100644 --- a/gitgalaxy/standards/language_standards.py +++ b/gitgalaxy/standards/language_standards.py @@ -36,7 +36,7 @@ | -------- | ----------- | -------------- | ------------ | --------------- | | Apex | 100.0% | 95.0% | 100.0% | 100.0% | | C | 93.3% | 99.5% | 100.0% | 100.0% | -| Cpp | 92.3% | 96.2% | 98.6% | 92.6% | +| Cpp | 93.4% | 95.7% | 98.6% | 92.6% | | Csharp | 99.2% | 99.8% | 100.0% | 100.0% | | Css | 100.0% | 100.0% | N/A | N/A | | Dart | 96.0% | 97.8% | 100.0% | 100.0% | @@ -3025,7 +3025,7 @@ class PrismConfigSchema(TypedDict): # `(?:[a-zA-Z_]\w*::)*`. Out-of-line operator overload definitions (defined in a # .cpp file, declared in the header) are mainstream, common C++ -- completely # invisible to func_start before this fix. - r"(?![ \t]*#)((?:[a-zA-Z_]\w*::)*operator[ \t]*\(\)|(?:[a-zA-Z_]\w*::)*operator[ \t]*[^a-zA-Z_\s(]+|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:new|delete)(?:\[\])?|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:::)?[a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*(?:[ \t]*[*&]+)?|(?:[a-zA-Z_]\w*::)*[~a-zA-Z_]\w*)" + r"(?![ \t]*#)((?:[a-zA-Z_]\w*::)*operator[ \t]*\(\)|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:::)?[a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*(?:[ \t]*[*&]+)?|(?:[a-zA-Z_]\w*::)*operator[ \t]*[^a-zA-Z_\s(]+|(?:[a-zA-Z_]\w*::)*operator[ \t]+(?:new|delete)(?:\[\])?|(?:[a-zA-Z_]\w*::)*[~a-zA-Z_]\w*)" # 7. THE PARAMETER BLOCK (Supports vertical gap) # [NESTED PARENTHESIS FIX]: Uses 1-Level Nesting Trick to swallow function pointers without ReDoS. r"[ \t\n]{0,200}(?:ARGS\d+\s*\([^)]*\)|\((?:[^)(]|\([^)]*\))*\)|NOARGS)" diff --git a/tests/tree_sitter_accuracy_baseline_cpp.json b/tests/tree_sitter_accuracy_baseline_cpp.json index 5117e554f..b0b916bb1 100644 --- a/tests/tree_sitter_accuracy_baseline_cpp.json +++ b/tests/tree_sitter_accuracy_baseline_cpp.json @@ -1,12 +1,12 @@ { - "args_comparable": 1376, - "args_exact_match": 1202, + "args_comparable": 1392, + "args_exact_match": 1207, "corpus_path": "language-crucible/data/cpp", "extra_classes": 11, - "extra_functions": 55, + "extra_functions": 62, "files_scanned": 29, "found_classes": 138, - "found_functions": 1376, + "found_functions": 1392, "real_classes": 140, "real_functions": 1491 } From e721c44777236d57f39100b98f1b5a0b8a8a19dc Mon Sep 17 00:00:00 2001 From: Joe Esquibel Date: Sun, 16 Aug 2026 21:54:37 -0400 Subject: [PATCH 5/5] test: regenerate golden masters to account for improved cpp operator extraction --- tests/golden_master_audit.json | 398 ++++++++++++++++-------- tests/golden_master_zero_dep_audit.json | 398 ++++++++++++++++-------- 2 files changed, 528 insertions(+), 268 deletions(-) diff --git a/tests/golden_master_audit.json b/tests/golden_master_audit.json index 68f3a793b..509335ce7 100644 --- a/tests/golden_master_audit.json +++ b/tests/golden_master_audit.json @@ -12,8 +12,8 @@ }, "Target Root Name": "data", "Absolute Project Path": "/home/joe/nyx_projects/language-crucible/data", - "Analysis ISO Timestamp": "2026-08-17T01:00:37.886174+00:00", - "Total Scan Duration": "49.08 seconds" + "Analysis ISO Timestamp": "2026-08-17T01:46:26.636411+00:00", + "Total Scan Duration": "51.98 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -196,10 +196,10 @@ } }, "health": { - "avg_cognitive_load": 24.764, + "avg_cognitive_load": 24.768, "avg_safety_score": 38.602, - "avg_tech_debt": 23.321, - "avg_documentation": 21.506 + "avg_tech_debt": 23.322, + "avg_documentation": 21.555 }, "composition": { "xml": { @@ -295,7 +295,7 @@ "cpp": { "files": 33, "loc": 44831, - "impact": 59719.92 + "impact": 59816.32 }, "csharp": { "files": 8, @@ -698,20 +698,20 @@ }, "cpp/godot": { "file_count": 16, - "total_mass": 39639.12, + "total_mass": 39728.82, "avg_exposures": { "cognitive_load": 59.79, "safety_score": 73.56, "tech_debt": 22.49, "verification": 55.29, - "api_exposure": 5.29, + "api_exposure": 5.39, "concurrency": 0.0, "state_flux": 81.22, "dead_code": 2.11, "spec_match": 81.25, "stability": 40.62, "churn": 0.0, - "documentation": 22.77, + "documentation": 24.14, "secrets_risk": 0.0 } }, @@ -2123,11 +2123,11 @@ }, "cpp/mlir": { "file_count": 6, - "total_mass": 4745.24, + "total_mass": 4746.34, "avg_exposures": { - "cognitive_load": 44.92, + "cognitive_load": 44.93, "safety_score": 63.81, - "tech_debt": 65.54, + "tech_debt": 65.7, "verification": 40.98, "api_exposure": 0.27, "concurrency": 0.0, @@ -2142,20 +2142,20 @@ }, "cpp/powertoys": { "file_count": 7, - "total_mass": 2071.5, + "total_mass": 2077.1, "avg_exposures": { - "cognitive_load": 54.44, + "cognitive_load": 55.05, "safety_score": 78.8, "tech_debt": 22.44, - "verification": 35.65, - "api_exposure": 3.24, + "verification": 35.66, + "api_exposure": 3.55, "concurrency": 11.12, "state_flux": 93.43, "dead_code": 1.35, "spec_match": 100.0, "stability": 50.0, "churn": 0.0, - "documentation": 26.9, + "documentation": 30.26, "secrets_risk": 0.0 } }, @@ -14697,7 +14697,7 @@ } }, "cpp/godot": { - "Directory Group Magnitude": 39639.12, + "Directory Group Magnitude": 39728.82, "File Count": 16, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "81.2%", @@ -14708,14 +14708,14 @@ "Error & Exception Exposure": "73.56%", "Tech Debt Exposure": "22.49%", "Testing Exposure": "55.29%", - "API Exposure": "5.29%", + "API Exposure": "5.39%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "81.22%", "Commented Logic Exposure": "2.11%", "Specification Exposure": "81.25%", "Instability Exposure": "40.62%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "22.77%", + "Documentation Exposure": "24.14%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -23981,9 +23981,9 @@ "Identity Proof": "Sibling Anchor (C++)" }, "2. Topological Coordinates": { - "X": -86.95, - "Y": 89.6, - "Z": 3636.76 + "X": -1012.15, + "Y": -126.12, + "Z": 2821.29 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -23995,27 +23995,27 @@ "Total LOC": 945, "Coding LOC": 670, "Documentation LOC": 81, - "Structural Magnitude": 509.2, + "Structural Magnitude": 520.8, "Control Flow Ratio": "12.5%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.47 + "Raw Cognitive Density": 1.46 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "72.31%", + "Cognitive Load Exposure": "72.15%", "Error & Exception Exposure": "88.16%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "9.05%", + "API Exposure": "9.45%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "100.0%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "26.13%", + "Documentation Exposure": "30.84%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -24109,6 +24109,16 @@ "Start Line": 828, "End Line": 828 }, + { + "Function Name": "operator()", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "33.3%", + "Start Line": 179, + "End Line": 187 + }, { "Function Name": "_update_children_cache", "Structural Impact": 2.2, @@ -24119,6 +24129,26 @@ "Start Line": 346, "End Line": 350 }, + { + "Function Name": "operator()", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 191, + "End Line": 191 + }, + { + "Function Name": "operator()", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 195, + "End Line": 195 + }, { "Function Name": "Node::rpc", "Structural Impact": 1.9, @@ -24259,6 +24289,16 @@ "Start Line": 70, "End Line": 71 }, + { + "Function Name": "operator()", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 137, + "End Line": 137 + }, { "Function Name": "operator*", "Structural Impact": 1.1, @@ -24475,13 +24515,13 @@ "Control Flow Branches": 39, "Sequential Logic Declarations": 272, "Function Parameters": 172, - "Function/Method Declarations": 45, + "Function/Method Declarations": 49, "Class/Entity Declarations": 20, "Defensive Programming Constructs": 24, "Type/Safety Bypasses": 1, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 34, + "Exposed API / Public Exports": 38, "State Mutations / Variable Reassignments": 357, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 8, @@ -24622,7 +24662,7 @@ "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "71.87%", "Error & Exception Exposure": "98.77%", - "Tech Debt Exposure": "99.9%", + "Tech Debt Exposure": "99.91%", "Testing Exposure": "80.0%", "API Exposure": "0.0%", "Concurrency Exposure": "0.0%", @@ -25736,7 +25776,7 @@ "End Line": 2371 }, { - "Function Name": "Variant", + "Function Name": "Object::Connection::operator Variant", "Structural Impact": 1.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 0, @@ -25971,7 +26011,7 @@ "Design Short Vars": 36, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 123, + "Orphaned Logic": 124, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -26838,9 +26878,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": -1277.03, - "Y": -157.87, - "Z": 3368.87 + "X": -1277.35, + "Y": -157.94, + "Z": 3368.82 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -26852,7 +26892,7 @@ "Total LOC": 3582, "Coding LOC": 3071, "Documentation LOC": 76, - "Structural Magnitude": 4008.32, + "Structural Magnitude": 4083.32, "Control Flow Ratio": "70.1%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -26861,18 +26901,18 @@ "Raw Cognitive Density": 1.578 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "95.42%", + "Cognitive Load Exposure": "95.41%", "Error & Exception Exposure": "94.73%", "Tech Debt Exposure": "8.42%", "Testing Exposure": "80.0%", - "API Exposure": "11.28%", + "API Exposure": "12.23%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "100.0%", "Commented Logic Exposure": "4.86%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "39.91%", + "Documentation Exposure": "55.28%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -27017,7 +27057,7 @@ "End Line": 3458 }, { - "Function Name": "Transform3D", + "Function Name": "Variant::operator Transform3D", "Structural Impact": 23.1, "Lines of Code (LOC)": 23, "Control Flow Branches": 10, @@ -27027,7 +27067,7 @@ "End Line": 1936 }, { - "Function Name": "Projection", + "Function Name": "Variant::operator Projection", "Structural Impact": 23.1, "Lines of Code (LOC)": 23, "Control Flow Branches": 10, @@ -27087,7 +27127,17 @@ "End Line": 3431 }, { - "Function Name": "Vector4i", + "Function Name": "Variant::operator ::RID", + "Structural Impact": 18.0, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 11, + "Input Parameters": 1, + "Control Flow Ratio": "68.8%", + "Start Line": 2002, + "End Line": 2022 + }, + { + "Function Name": "Variant::operator Vector4i", "Structural Impact": 13.9, "Lines of Code (LOC)": 18, "Control Flow Branches": 12, @@ -27097,7 +27147,7 @@ "End Line": 1872 }, { - "Function Name": "Vector2", + "Function Name": "Variant::operator Vector2", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27107,7 +27157,7 @@ "End Line": 1761 }, { - "Function Name": "Vector2i", + "Function Name": "Variant::operator Vector2i", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27117,7 +27167,7 @@ "End Line": 1779 }, { - "Function Name": "Vector3", + "Function Name": "Variant::operator Vector3", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27127,7 +27177,7 @@ "End Line": 1817 }, { - "Function Name": "Vector3i", + "Function Name": "Variant::operator Vector3i", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27137,7 +27187,7 @@ "End Line": 1835 }, { - "Function Name": "Vector4", + "Function Name": "Variant::operator Vector4", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27177,7 +27227,7 @@ "End Line": 1115 }, { - "Function Name": "Basis", + "Function Name": "Variant::operator Basis", "Structural Impact": 7.5, "Lines of Code (LOC)": 11, "Control Flow Branches": 6, @@ -27187,7 +27237,7 @@ "End Line": 1900 }, { - "Function Name": "Quaternion", + "Function Name": "Variant::operator Quaternion", "Structural Impact": 7.5, "Lines of Code (LOC)": 11, "Control Flow Branches": 6, @@ -27197,7 +27247,7 @@ "End Line": 1912 }, { - "Function Name": "Color", + "Function Name": "Variant::operator Color", "Structural Impact": 7.5, "Lines of Code (LOC)": 11, "Control Flow Branches": 6, @@ -27207,7 +27257,7 @@ "End Line": 1990 }, { - "Function Name": "IPAddress", + "Function Name": "Variant::operator IPAddress", "Structural Impact": 7.5, "Lines of Code (LOC)": 10, "Control Flow Branches": 6, @@ -27257,7 +27307,7 @@ "End Line": 1595 }, { - "Function Name": "Transform2D", + "Function Name": "Variant::operator Transform2D", "Structural Impact": 5.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 4, @@ -27267,7 +27317,7 @@ "End Line": 1978 }, { - "Function Name": "ObjectID", + "Function Name": "Variant::operator ObjectID", "Structural Impact": 5.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 4, @@ -27277,7 +27327,7 @@ "End Line": 1525 }, { - "Function Name": "Rect2", + "Function Name": "Variant::operator Rect2", "Structural Impact": 5.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 4, @@ -27287,7 +27337,7 @@ "End Line": 1789 }, { - "Function Name": "Rect2i", + "Function Name": "Variant::operator Rect2i", "Structural Impact": 5.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 4, @@ -27297,7 +27347,7 @@ "End Line": 1799 }, { - "Function Name": "NodePath", + "Function Name": "Variant::operator NodePath", "Structural Impact": 5.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 4, @@ -27317,7 +27367,7 @@ "End Line": 3473 }, { - "Function Name": "StringName", + "Function Name": "Variant::operator StringName", "Structural Impact": 4.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 3, @@ -27347,7 +27397,7 @@ "End Line": 1127 }, { - "Function Name": "Plane", + "Function Name": "Variant::operator Plane", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27356,6 +27406,26 @@ "Start Line": 1874, "End Line": 1880 }, + { + "Function Name": "Variant::operator ::AABB", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 1882, + "End Line": 1888 + }, + { + "Function Name": "Variant::operator Object *", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2024, + "End Line": 2030 + }, { "Function Name": "Variant::get_validated_object", "Structural Impact": 3.4, @@ -27367,7 +27437,7 @@ "End Line": 2049 }, { - "Function Name": "Dictionary", + "Function Name": "Variant::operator Dictionary", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27377,7 +27447,7 @@ "End Line": 2057 }, { - "Function Name": "Callable", + "Function Name": "Variant::operator Callable", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27387,7 +27457,7 @@ "End Line": 2065 }, { - "Function Name": "Signal", + "Function Name": "Variant::operator Signal", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27407,7 +27477,7 @@ "End Line": 2085 }, { - "Function Name": "Array", + "Function Name": "Variant::operator Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27417,7 +27487,7 @@ "End Line": 2135 }, { - "Function Name": "PackedByteArray", + "Function Name": "Variant::operator PackedByteArray", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27427,7 +27497,7 @@ "End Line": 2143 }, { - "Function Name": "PackedInt32Array", + "Function Name": "Variant::operator PackedInt32Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27437,7 +27507,7 @@ "End Line": 2151 }, { - "Function Name": "PackedInt64Array", + "Function Name": "Variant::operator PackedInt64Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27447,7 +27517,7 @@ "End Line": 2159 }, { - "Function Name": "PackedFloat32Array", + "Function Name": "Variant::operator PackedFloat32Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27457,7 +27527,7 @@ "End Line": 2167 }, { - "Function Name": "PackedFloat64Array", + "Function Name": "Variant::operator PackedFloat64Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27467,7 +27537,7 @@ "End Line": 2175 }, { - "Function Name": "PackedStringArray", + "Function Name": "Variant::operator PackedStringArray", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27477,7 +27547,7 @@ "End Line": 2183 }, { - "Function Name": "PackedVector2Array", + "Function Name": "Variant::operator PackedVector2Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27487,7 +27557,7 @@ "End Line": 2191 }, { - "Function Name": "PackedVector3Array", + "Function Name": "Variant::operator PackedVector3Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27497,7 +27567,7 @@ "End Line": 2199 }, { - "Function Name": "PackedColorArray", + "Function Name": "Variant::operator PackedColorArray", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27507,7 +27577,7 @@ "End Line": 2207 }, { - "Function Name": "PackedVector4Array", + "Function Name": "Variant::operator PackedVector4Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -28197,7 +28267,7 @@ "End Line": 3504 }, { - "Function Name": "int64_t", + "Function Name": "Variant::operator int64_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28207,7 +28277,7 @@ "End Line": 1479 }, { - "Function Name": "int32_t", + "Function Name": "Variant::operator int32_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28217,7 +28287,7 @@ "End Line": 1483 }, { - "Function Name": "int16_t", + "Function Name": "Variant::operator int16_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28227,7 +28297,7 @@ "End Line": 1487 }, { - "Function Name": "int8_t", + "Function Name": "Variant::operator int8_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28237,7 +28307,7 @@ "End Line": 1491 }, { - "Function Name": "Math::int_alt_t", + "Function Name": "Variant::operator Math::int_alt_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28247,7 +28317,7 @@ "End Line": 1495 }, { - "Function Name": "uint64_t", + "Function Name": "Variant::operator uint64_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28257,7 +28327,7 @@ "End Line": 1499 }, { - "Function Name": "uint32_t", + "Function Name": "Variant::operator uint32_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28267,7 +28337,7 @@ "End Line": 1503 }, { - "Function Name": "uint16_t", + "Function Name": "Variant::operator uint16_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28277,7 +28347,7 @@ "End Line": 1507 }, { - "Function Name": "uint8_t", + "Function Name": "Variant::operator uint8_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28287,7 +28357,7 @@ "End Line": 1511 }, { - "Function Name": "Math::uint_alt_t", + "Function Name": "Variant::operator Math::uint_alt_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28297,7 +28367,7 @@ "End Line": 1515 }, { - "Function Name": "char32_t", + "Function Name": "Variant::operator char32_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28306,6 +28376,26 @@ "Start Line": 1527, "End Line": 1529 }, + { + "Function Name": "Variant::operator float", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 1531, + "End Line": 1533 + }, + { + "Function Name": "Variant::operator double", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 1535, + "End Line": 1537 + }, { "Function Name": "operator<", "Structural Impact": 1.1, @@ -28317,7 +28407,7 @@ "End Line": 1555 }, { - "Function Name": "String", + "Function Name": "Variant::operator String", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28362,13 +28452,13 @@ "Control Flow Branches": 1065, "Sequential Logic Declarations": 455, "Function Parameters": 171, - "Function/Method Declarations": 148, + "Function/Method Declarations": 153, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 21, "Type/Safety Bypasses": 1, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 100, + "Exposed API / Public Exports": 148, "State Mutations / Variable Reassignments": 2026, "Commented-out Code (Dead Logic)": 1, "Structured Documentation Blocks": 4, @@ -28484,9 +28574,9 @@ "Identity Proof": "Sibling Anchor (C++)" }, "2. Topological Coordinates": { - "X": -958.7, - "Y": -74.21, - "Z": 2597.21 + "X": -33.48, + "Y": 141.51, + "Z": 3412.53 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -28498,27 +28588,27 @@ "Total LOC": 985, "Coding LOC": 779, "Documentation LOC": 63, - "Structural Magnitude": 511.48, + "Structural Magnitude": 514.58, "Control Flow Ratio": "13.2%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.278 + "Raw Cognitive Density": 1.28 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "72.51%", + "Cognitive Load Exposure": "72.57%", "Error & Exception Exposure": "92.18%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "9.64%", + "API Exposure": "9.84%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "99.91%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "22.01%", + "Documentation Exposure": "23.78%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -28963,7 +29053,7 @@ "End Line": 399 }, { - "Function Name": "T", + "Function Name": "operator T", "Structural Impact": 1.1, "Lines of Code (LOC)": 2, "Control Flow Branches": 0, @@ -28982,6 +29072,16 @@ "Start Line": 872, "End Line": 872 }, + { + "Function Name": "operator()", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 897, + "End Line": 899 + }, { "Function Name": "Variant::_get_obj", "Structural Impact": 1.1, @@ -29008,13 +29108,13 @@ "Control Flow Branches": 42, "Sequential Logic Declarations": 275, "Function Parameters": 217, - "Function/Method Declarations": 48, + "Function/Method Declarations": 49, "Class/Entity Declarations": 16, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 31, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 30, + "Exposed API / Public Exports": 32, "State Mutations / Variable Reassignments": 342, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 4, @@ -257901,15 +258001,15 @@ } }, "cpp/mlir": { - "Directory Group Magnitude": 4745.24, + "Directory Group Magnitude": 4746.34, "File Count": 6, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "44.92%", + "Cognitive Load Exposure": "44.93%", "Error & Exception Exposure": "63.81%", - "Tech Debt Exposure": "65.54%", + "Tech Debt Exposure": "65.7%", "Testing Exposure": "40.98%", "API Exposure": "0.27%", "Concurrency Exposure": "0.0%", @@ -257949,18 +258049,18 @@ "Total LOC": 4731, "Coding LOC": 3850, "Documentation LOC": 414, - "Structural Magnitude": 4198.9, + "Structural Magnitude": 4200.0, "Control Flow Ratio": "44.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.264 + "Raw Cognitive Density": 1.266 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "88.66%", + "Cognitive Load Exposure": "88.72%", "Error & Exception Exposure": "95.0%", - "Tech Debt Exposure": "41.17%", + "Tech Debt Exposure": "42.11%", "Testing Exposure": "80.0%", "API Exposure": "1.64%", "Concurrency Exposure": "0.0%", @@ -258772,6 +258872,16 @@ "Control Flow Ratio": "0.0%", "Start Line": 1064, "End Line": 1066 + }, + { + "Function Name": "operator()", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 3679, + "End Line": 3681 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -258779,7 +258889,7 @@ "Control Flow Branches": 660, "Sequential Logic Declarations": 841, "Function Parameters": 119, - "Function/Method Declarations": 80, + "Function/Method Declarations": 81, "Class/Entity Declarations": 6, "Defensive Programming Constructs": 79, "Type/Safety Bypasses": 0, @@ -258849,7 +258959,7 @@ "Design Short Vars": 27, "Design Long Vars": 27, "Duplicate Logic": 0, - "Orphaned Logic": 51, + "Orphaned Logic": 52, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -259010,9 +259120,9 @@ "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": 6672.69, + "X": 6672.7, "Y": -91.04, - "Z": 2956.46 + "Z": 2956.47 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -259197,7 +259307,7 @@ "2. Topological Coordinates": { "X": 6071.68, "Y": -25.98, - "Z": 2817.04 + "Z": 2817.05 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -259468,7 +259578,7 @@ "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": 6868.47, + "X": 6868.48, "Y": 108.2, "Z": 2504.61 }, @@ -259831,7 +259941,7 @@ "2. Topological Coordinates": { "X": 6440.9, "Y": 102.38, - "Z": 2153.91 + "Z": 2153.9 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -333327,24 +333437,24 @@ } }, "cpp/powertoys": { - "Directory Group Magnitude": 2071.5, + "Directory Group Magnitude": 2077.1, "File Count": 7, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "54.44%", + "Cognitive Load Exposure": "55.05%", "Error & Exception Exposure": "78.8%", "Tech Debt Exposure": "22.44%", - "Testing Exposure": "35.65%", - "API Exposure": "3.24%", + "Testing Exposure": "35.66%", + "API Exposure": "3.55%", "Concurrency Exposure": "11.12%", "State Flux Exposure": "93.43%", "Commented Logic Exposure": "1.35%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "26.9%", + "Documentation Exposure": "30.26%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -335018,9 +335128,9 @@ "Identity Proof": "Ecosystem Consensus Lock (81% Local Dominance)" }, "2. Topological Coordinates": { - "X": 678.12, - "Y": -221.54, - "Z": -3411.09 + "X": 677.21, + "Y": -222.25, + "Z": -3407.76 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -335032,30 +335142,50 @@ "Total LOC": 63, "Coding LOC": 49, "Documentation LOC": 0, - "Structural Magnitude": 11.38, + "Structural Magnitude": 16.98, "Control Flow Ratio": "7.7%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.265 + "Raw Cognitive Density": 0.365 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "10.69%", + "Cognitive Load Exposure": "15.0%", "Error & Exception Exposure": "57.23%", "Tech Debt Exposure": "0.0%", - "Testing Exposure": "2.33%", - "API Exposure": "5.0%", + "Testing Exposure": "2.37%", + "API Exposure": "7.18%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "54.21%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "57.9%", + "Documentation Exposure": "81.43%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ + { + "Function Name": "operator()", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 14, + "End Line": 20 + }, + { + "Function Name": "operator()", + "Structural Impact": 1.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 26, + "End Line": 29 + }, { "Function Name": "operator->", "Structural Impact": 1.2, @@ -335082,13 +335212,13 @@ "Control Flow Branches": 1, "Sequential Logic Declarations": 12, "Function Parameters": 2, - "Function/Method Declarations": 2, + "Function/Method Declarations": 4, "Class/Entity Declarations": 3, "Defensive Programming Constructs": 2, "Type/Safety Bypasses": 0, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 3, + "Exposed API / Public Exports": 5, "State Mutations / Variable Reassignments": 5, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 0, @@ -420155,9 +420285,9 @@ "Identity Proof": "Single Indicator (Ext: .json)" }, "2. Topological Coordinates": { - "X": 6616.13, + "X": 6616.14, "Y": -132.9, - "Z": 3492.14 + "Z": 3492.15 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -420312,7 +420442,7 @@ "Identity Proof": "Single Indicator (Ext: .json)" }, "2. Topological Coordinates": { - "X": 6863.09, + "X": 6863.1, "Y": -120.12, "Z": 2903.33 }, @@ -420469,9 +420599,9 @@ "Identity Proof": "Single Indicator (Ext: .json)" }, "2. Topological Coordinates": { - "X": 6868.28, + "X": 6868.29, "Y": -124.13, - "Z": 3454.3 + "Z": 3454.31 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -427532,7 +427662,7 @@ "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": 7206.07, + "X": 7206.09, "Y": 164.39, "Z": 2506.16 }, diff --git a/tests/golden_master_zero_dep_audit.json b/tests/golden_master_zero_dep_audit.json index 56d9cd490..76c4843d5 100644 --- a/tests/golden_master_zero_dep_audit.json +++ b/tests/golden_master_zero_dep_audit.json @@ -12,8 +12,8 @@ }, "Target Root Name": "data", "Absolute Project Path": "/home/joe/nyx_projects/language-crucible/data", - "Analysis ISO Timestamp": "2026-08-17T01:01:35.985302+00:00", - "Total Scan Duration": "47.9 seconds" + "Analysis ISO Timestamp": "2026-08-17T01:54:24.467293+00:00", + "Total Scan Duration": "49.93 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -196,10 +196,10 @@ } }, "health": { - "avg_cognitive_load": 24.764, + "avg_cognitive_load": 24.768, "avg_safety_score": 38.602, - "avg_tech_debt": 23.321, - "avg_documentation": 21.506 + "avg_tech_debt": 23.322, + "avg_documentation": 21.555 }, "composition": { "xml": { @@ -295,7 +295,7 @@ "cpp": { "files": 33, "loc": 44831, - "impact": 59719.92 + "impact": 59816.32 }, "csharp": { "files": 8, @@ -698,20 +698,20 @@ }, "cpp/godot": { "file_count": 16, - "total_mass": 39639.12, + "total_mass": 39728.82, "avg_exposures": { "cognitive_load": 59.79, "safety_score": 73.56, "tech_debt": 22.49, "verification": 55.29, - "api_exposure": 5.29, + "api_exposure": 5.39, "concurrency": 0.0, "state_flux": 81.22, "dead_code": 2.11, "spec_match": 81.25, "stability": 40.62, "churn": 0.0, - "documentation": 22.77, + "documentation": 24.14, "secrets_risk": 0.0 } }, @@ -2123,11 +2123,11 @@ }, "cpp/mlir": { "file_count": 6, - "total_mass": 4745.24, + "total_mass": 4746.34, "avg_exposures": { - "cognitive_load": 44.92, + "cognitive_load": 44.93, "safety_score": 63.81, - "tech_debt": 65.54, + "tech_debt": 65.7, "verification": 40.98, "api_exposure": 0.27, "concurrency": 0.0, @@ -2142,20 +2142,20 @@ }, "cpp/powertoys": { "file_count": 7, - "total_mass": 2071.5, + "total_mass": 2077.1, "avg_exposures": { - "cognitive_load": 54.44, + "cognitive_load": 55.05, "safety_score": 78.8, "tech_debt": 22.44, - "verification": 35.65, - "api_exposure": 3.24, + "verification": 35.66, + "api_exposure": 3.55, "concurrency": 11.12, "state_flux": 93.43, "dead_code": 1.35, "spec_match": 100.0, "stability": 50.0, "churn": 0.0, - "documentation": 26.9, + "documentation": 30.26, "secrets_risk": 0.0 } }, @@ -14697,7 +14697,7 @@ } }, "cpp/godot": { - "Directory Group Magnitude": 39639.12, + "Directory Group Magnitude": 39728.82, "File Count": 16, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "81.2%", @@ -14708,14 +14708,14 @@ "Error & Exception Exposure": "73.56%", "Tech Debt Exposure": "22.49%", "Testing Exposure": "55.29%", - "API Exposure": "5.29%", + "API Exposure": "5.39%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "81.22%", "Commented Logic Exposure": "2.11%", "Specification Exposure": "81.25%", "Instability Exposure": "40.62%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "22.77%", + "Documentation Exposure": "24.14%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -23981,9 +23981,9 @@ "Identity Proof": "Sibling Anchor (C++)" }, "2. Topological Coordinates": { - "X": -86.95, - "Y": 89.6, - "Z": 3636.76 + "X": -1012.15, + "Y": -126.12, + "Z": 2821.29 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -23995,27 +23995,27 @@ "Total LOC": 945, "Coding LOC": 670, "Documentation LOC": 81, - "Structural Magnitude": 509.2, + "Structural Magnitude": 520.8, "Control Flow Ratio": "12.5%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.47 + "Raw Cognitive Density": 1.46 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "72.31%", + "Cognitive Load Exposure": "72.15%", "Error & Exception Exposure": "88.16%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "9.05%", + "API Exposure": "9.45%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "100.0%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "26.13%", + "Documentation Exposure": "30.84%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -24109,6 +24109,16 @@ "Start Line": 828, "End Line": 828 }, + { + "Function Name": "operator()", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "33.3%", + "Start Line": 179, + "End Line": 187 + }, { "Function Name": "_update_children_cache", "Structural Impact": 2.2, @@ -24119,6 +24129,26 @@ "Start Line": 346, "End Line": 350 }, + { + "Function Name": "operator()", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 191, + "End Line": 191 + }, + { + "Function Name": "operator()", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 195, + "End Line": 195 + }, { "Function Name": "Node::rpc", "Structural Impact": 1.9, @@ -24259,6 +24289,16 @@ "Start Line": 70, "End Line": 71 }, + { + "Function Name": "operator()", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 137, + "End Line": 137 + }, { "Function Name": "operator*", "Structural Impact": 1.1, @@ -24475,13 +24515,13 @@ "Control Flow Branches": 39, "Sequential Logic Declarations": 272, "Function Parameters": 172, - "Function/Method Declarations": 45, + "Function/Method Declarations": 49, "Class/Entity Declarations": 20, "Defensive Programming Constructs": 24, "Type/Safety Bypasses": 1, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 34, + "Exposed API / Public Exports": 38, "State Mutations / Variable Reassignments": 357, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 8, @@ -24622,7 +24662,7 @@ "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "71.87%", "Error & Exception Exposure": "98.77%", - "Tech Debt Exposure": "99.9%", + "Tech Debt Exposure": "99.91%", "Testing Exposure": "80.0%", "API Exposure": "0.0%", "Concurrency Exposure": "0.0%", @@ -25736,7 +25776,7 @@ "End Line": 2371 }, { - "Function Name": "Variant", + "Function Name": "Object::Connection::operator Variant", "Structural Impact": 1.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 0, @@ -25971,7 +26011,7 @@ "Design Short Vars": 36, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 123, + "Orphaned Logic": 124, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -26838,9 +26878,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": -1277.03, - "Y": -157.87, - "Z": 3368.87 + "X": -1277.35, + "Y": -157.94, + "Z": 3368.82 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -26852,7 +26892,7 @@ "Total LOC": 3582, "Coding LOC": 3071, "Documentation LOC": 76, - "Structural Magnitude": 4008.32, + "Structural Magnitude": 4083.32, "Control Flow Ratio": "70.1%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -26861,18 +26901,18 @@ "Raw Cognitive Density": 1.578 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "95.42%", + "Cognitive Load Exposure": "95.41%", "Error & Exception Exposure": "94.73%", "Tech Debt Exposure": "8.42%", "Testing Exposure": "80.0%", - "API Exposure": "11.28%", + "API Exposure": "12.23%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "100.0%", "Commented Logic Exposure": "4.86%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "39.91%", + "Documentation Exposure": "55.28%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -27017,7 +27057,7 @@ "End Line": 3458 }, { - "Function Name": "Transform3D", + "Function Name": "Variant::operator Transform3D", "Structural Impact": 23.1, "Lines of Code (LOC)": 23, "Control Flow Branches": 10, @@ -27027,7 +27067,7 @@ "End Line": 1936 }, { - "Function Name": "Projection", + "Function Name": "Variant::operator Projection", "Structural Impact": 23.1, "Lines of Code (LOC)": 23, "Control Flow Branches": 10, @@ -27087,7 +27127,17 @@ "End Line": 3431 }, { - "Function Name": "Vector4i", + "Function Name": "Variant::operator ::RID", + "Structural Impact": 18.0, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 11, + "Input Parameters": 1, + "Control Flow Ratio": "68.8%", + "Start Line": 2002, + "End Line": 2022 + }, + { + "Function Name": "Variant::operator Vector4i", "Structural Impact": 13.9, "Lines of Code (LOC)": 18, "Control Flow Branches": 12, @@ -27097,7 +27147,7 @@ "End Line": 1872 }, { - "Function Name": "Vector2", + "Function Name": "Variant::operator Vector2", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27107,7 +27157,7 @@ "End Line": 1761 }, { - "Function Name": "Vector2i", + "Function Name": "Variant::operator Vector2i", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27117,7 +27167,7 @@ "End Line": 1779 }, { - "Function Name": "Vector3", + "Function Name": "Variant::operator Vector3", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27127,7 +27177,7 @@ "End Line": 1817 }, { - "Function Name": "Vector3i", + "Function Name": "Variant::operator Vector3i", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27137,7 +27187,7 @@ "End Line": 1835 }, { - "Function Name": "Vector4", + "Function Name": "Variant::operator Vector4", "Structural Impact": 13.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 12, @@ -27177,7 +27227,7 @@ "End Line": 1115 }, { - "Function Name": "Basis", + "Function Name": "Variant::operator Basis", "Structural Impact": 7.5, "Lines of Code (LOC)": 11, "Control Flow Branches": 6, @@ -27187,7 +27237,7 @@ "End Line": 1900 }, { - "Function Name": "Quaternion", + "Function Name": "Variant::operator Quaternion", "Structural Impact": 7.5, "Lines of Code (LOC)": 11, "Control Flow Branches": 6, @@ -27197,7 +27247,7 @@ "End Line": 1912 }, { - "Function Name": "Color", + "Function Name": "Variant::operator Color", "Structural Impact": 7.5, "Lines of Code (LOC)": 11, "Control Flow Branches": 6, @@ -27207,7 +27257,7 @@ "End Line": 1990 }, { - "Function Name": "IPAddress", + "Function Name": "Variant::operator IPAddress", "Structural Impact": 7.5, "Lines of Code (LOC)": 10, "Control Flow Branches": 6, @@ -27257,7 +27307,7 @@ "End Line": 1595 }, { - "Function Name": "Transform2D", + "Function Name": "Variant::operator Transform2D", "Structural Impact": 5.8, "Lines of Code (LOC)": 17, "Control Flow Branches": 4, @@ -27267,7 +27317,7 @@ "End Line": 1978 }, { - "Function Name": "ObjectID", + "Function Name": "Variant::operator ObjectID", "Structural Impact": 5.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 4, @@ -27277,7 +27327,7 @@ "End Line": 1525 }, { - "Function Name": "Rect2", + "Function Name": "Variant::operator Rect2", "Structural Impact": 5.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 4, @@ -27287,7 +27337,7 @@ "End Line": 1789 }, { - "Function Name": "Rect2i", + "Function Name": "Variant::operator Rect2i", "Structural Impact": 5.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 4, @@ -27297,7 +27347,7 @@ "End Line": 1799 }, { - "Function Name": "NodePath", + "Function Name": "Variant::operator NodePath", "Structural Impact": 5.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 4, @@ -27317,7 +27367,7 @@ "End Line": 3473 }, { - "Function Name": "StringName", + "Function Name": "Variant::operator StringName", "Structural Impact": 4.5, "Lines of Code (LOC)": 9, "Control Flow Branches": 3, @@ -27347,7 +27397,7 @@ "End Line": 1127 }, { - "Function Name": "Plane", + "Function Name": "Variant::operator Plane", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27356,6 +27406,26 @@ "Start Line": 1874, "End Line": 1880 }, + { + "Function Name": "Variant::operator ::AABB", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 1882, + "End Line": 1888 + }, + { + "Function Name": "Variant::operator Object *", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2024, + "End Line": 2030 + }, { "Function Name": "Variant::get_validated_object", "Structural Impact": 3.4, @@ -27367,7 +27437,7 @@ "End Line": 2049 }, { - "Function Name": "Dictionary", + "Function Name": "Variant::operator Dictionary", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27377,7 +27447,7 @@ "End Line": 2057 }, { - "Function Name": "Callable", + "Function Name": "Variant::operator Callable", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27387,7 +27457,7 @@ "End Line": 2065 }, { - "Function Name": "Signal", + "Function Name": "Variant::operator Signal", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27407,7 +27477,7 @@ "End Line": 2085 }, { - "Function Name": "Array", + "Function Name": "Variant::operator Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27417,7 +27487,7 @@ "End Line": 2135 }, { - "Function Name": "PackedByteArray", + "Function Name": "Variant::operator PackedByteArray", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27427,7 +27497,7 @@ "End Line": 2143 }, { - "Function Name": "PackedInt32Array", + "Function Name": "Variant::operator PackedInt32Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27437,7 +27507,7 @@ "End Line": 2151 }, { - "Function Name": "PackedInt64Array", + "Function Name": "Variant::operator PackedInt64Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27447,7 +27517,7 @@ "End Line": 2159 }, { - "Function Name": "PackedFloat32Array", + "Function Name": "Variant::operator PackedFloat32Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27457,7 +27527,7 @@ "End Line": 2167 }, { - "Function Name": "PackedFloat64Array", + "Function Name": "Variant::operator PackedFloat64Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27467,7 +27537,7 @@ "End Line": 2175 }, { - "Function Name": "PackedStringArray", + "Function Name": "Variant::operator PackedStringArray", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27477,7 +27547,7 @@ "End Line": 2183 }, { - "Function Name": "PackedVector2Array", + "Function Name": "Variant::operator PackedVector2Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27487,7 +27557,7 @@ "End Line": 2191 }, { - "Function Name": "PackedVector3Array", + "Function Name": "Variant::operator PackedVector3Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27497,7 +27567,7 @@ "End Line": 2199 }, { - "Function Name": "PackedColorArray", + "Function Name": "Variant::operator PackedColorArray", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -27507,7 +27577,7 @@ "End Line": 2207 }, { - "Function Name": "PackedVector4Array", + "Function Name": "Variant::operator PackedVector4Array", "Structural Impact": 3.4, "Lines of Code (LOC)": 7, "Control Flow Branches": 2, @@ -28197,7 +28267,7 @@ "End Line": 3504 }, { - "Function Name": "int64_t", + "Function Name": "Variant::operator int64_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28207,7 +28277,7 @@ "End Line": 1479 }, { - "Function Name": "int32_t", + "Function Name": "Variant::operator int32_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28217,7 +28287,7 @@ "End Line": 1483 }, { - "Function Name": "int16_t", + "Function Name": "Variant::operator int16_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28227,7 +28297,7 @@ "End Line": 1487 }, { - "Function Name": "int8_t", + "Function Name": "Variant::operator int8_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28237,7 +28307,7 @@ "End Line": 1491 }, { - "Function Name": "Math::int_alt_t", + "Function Name": "Variant::operator Math::int_alt_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28247,7 +28317,7 @@ "End Line": 1495 }, { - "Function Name": "uint64_t", + "Function Name": "Variant::operator uint64_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28257,7 +28327,7 @@ "End Line": 1499 }, { - "Function Name": "uint32_t", + "Function Name": "Variant::operator uint32_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28267,7 +28337,7 @@ "End Line": 1503 }, { - "Function Name": "uint16_t", + "Function Name": "Variant::operator uint16_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28277,7 +28347,7 @@ "End Line": 1507 }, { - "Function Name": "uint8_t", + "Function Name": "Variant::operator uint8_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28287,7 +28357,7 @@ "End Line": 1511 }, { - "Function Name": "Math::uint_alt_t", + "Function Name": "Variant::operator Math::uint_alt_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28297,7 +28367,7 @@ "End Line": 1515 }, { - "Function Name": "char32_t", + "Function Name": "Variant::operator char32_t", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28306,6 +28376,26 @@ "Start Line": 1527, "End Line": 1529 }, + { + "Function Name": "Variant::operator float", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 1531, + "End Line": 1533 + }, + { + "Function Name": "Variant::operator double", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 1535, + "End Line": 1537 + }, { "Function Name": "operator<", "Structural Impact": 1.1, @@ -28317,7 +28407,7 @@ "End Line": 1555 }, { - "Function Name": "String", + "Function Name": "Variant::operator String", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, @@ -28362,13 +28452,13 @@ "Control Flow Branches": 1065, "Sequential Logic Declarations": 455, "Function Parameters": 171, - "Function/Method Declarations": 148, + "Function/Method Declarations": 153, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 21, "Type/Safety Bypasses": 1, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 100, + "Exposed API / Public Exports": 148, "State Mutations / Variable Reassignments": 2026, "Commented-out Code (Dead Logic)": 1, "Structured Documentation Blocks": 4, @@ -28484,9 +28574,9 @@ "Identity Proof": "Sibling Anchor (C++)" }, "2. Topological Coordinates": { - "X": -958.7, - "Y": -74.21, - "Z": 2597.21 + "X": -33.48, + "Y": 141.51, + "Z": 3412.53 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -28498,27 +28588,27 @@ "Total LOC": 985, "Coding LOC": 779, "Documentation LOC": 63, - "Structural Magnitude": 511.48, + "Structural Magnitude": 514.58, "Control Flow Ratio": "13.2%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.278 + "Raw Cognitive Density": 1.28 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "72.51%", + "Cognitive Load Exposure": "72.57%", "Error & Exception Exposure": "92.18%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "9.64%", + "API Exposure": "9.84%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "99.91%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "22.01%", + "Documentation Exposure": "23.78%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -28963,7 +29053,7 @@ "End Line": 399 }, { - "Function Name": "T", + "Function Name": "operator T", "Structural Impact": 1.1, "Lines of Code (LOC)": 2, "Control Flow Branches": 0, @@ -28982,6 +29072,16 @@ "Start Line": 872, "End Line": 872 }, + { + "Function Name": "operator()", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 897, + "End Line": 899 + }, { "Function Name": "Variant::_get_obj", "Structural Impact": 1.1, @@ -29008,13 +29108,13 @@ "Control Flow Branches": 42, "Sequential Logic Declarations": 275, "Function Parameters": 217, - "Function/Method Declarations": 48, + "Function/Method Declarations": 49, "Class/Entity Declarations": 16, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 31, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 30, + "Exposed API / Public Exports": 32, "State Mutations / Variable Reassignments": 342, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 4, @@ -257901,15 +258001,15 @@ } }, "cpp/mlir": { - "Directory Group Magnitude": 4745.24, + "Directory Group Magnitude": 4746.34, "File Count": 6, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "44.92%", + "Cognitive Load Exposure": "44.93%", "Error & Exception Exposure": "63.81%", - "Tech Debt Exposure": "65.54%", + "Tech Debt Exposure": "65.7%", "Testing Exposure": "40.98%", "API Exposure": "0.27%", "Concurrency Exposure": "0.0%", @@ -257949,18 +258049,18 @@ "Total LOC": 4731, "Coding LOC": 3850, "Documentation LOC": 414, - "Structural Magnitude": 4198.9, + "Structural Magnitude": 4200.0, "Control Flow Ratio": "44.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.264 + "Raw Cognitive Density": 1.266 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "88.66%", + "Cognitive Load Exposure": "88.72%", "Error & Exception Exposure": "95.0%", - "Tech Debt Exposure": "41.17%", + "Tech Debt Exposure": "42.11%", "Testing Exposure": "80.0%", "API Exposure": "1.64%", "Concurrency Exposure": "0.0%", @@ -258772,6 +258872,16 @@ "Control Flow Ratio": "0.0%", "Start Line": 1064, "End Line": 1066 + }, + { + "Function Name": "operator()", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 3679, + "End Line": 3681 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -258779,7 +258889,7 @@ "Control Flow Branches": 660, "Sequential Logic Declarations": 841, "Function Parameters": 119, - "Function/Method Declarations": 80, + "Function/Method Declarations": 81, "Class/Entity Declarations": 6, "Defensive Programming Constructs": 79, "Type/Safety Bypasses": 0, @@ -258849,7 +258959,7 @@ "Design Short Vars": 27, "Design Long Vars": 27, "Duplicate Logic": 0, - "Orphaned Logic": 51, + "Orphaned Logic": 52, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -259010,9 +259120,9 @@ "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": 6672.69, + "X": 6672.7, "Y": -91.04, - "Z": 2956.46 + "Z": 2956.47 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -259197,7 +259307,7 @@ "2. Topological Coordinates": { "X": 6071.68, "Y": -25.98, - "Z": 2817.04 + "Z": 2817.05 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -259468,7 +259578,7 @@ "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": 6868.47, + "X": 6868.48, "Y": 108.2, "Z": 2504.61 }, @@ -259831,7 +259941,7 @@ "2. Topological Coordinates": { "X": 6440.9, "Y": 102.38, - "Z": 2153.91 + "Z": 2153.9 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -333327,24 +333437,24 @@ } }, "cpp/powertoys": { - "Directory Group Magnitude": 2071.5, + "Directory Group Magnitude": 2077.1, "File Count": 7, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "54.44%", + "Cognitive Load Exposure": "55.05%", "Error & Exception Exposure": "78.8%", "Tech Debt Exposure": "22.44%", - "Testing Exposure": "35.65%", - "API Exposure": "3.24%", + "Testing Exposure": "35.66%", + "API Exposure": "3.55%", "Concurrency Exposure": "11.12%", "State Flux Exposure": "93.43%", "Commented Logic Exposure": "1.35%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "26.9%", + "Documentation Exposure": "30.26%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -335018,9 +335128,9 @@ "Identity Proof": "Ecosystem Consensus Lock (81% Local Dominance)" }, "2. Topological Coordinates": { - "X": 678.12, - "Y": -221.54, - "Z": -3411.09 + "X": 677.21, + "Y": -222.25, + "Z": -3407.76 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -335032,30 +335142,50 @@ "Total LOC": 63, "Coding LOC": 49, "Documentation LOC": 0, - "Structural Magnitude": 11.38, + "Structural Magnitude": 16.98, "Control Flow Ratio": "7.7%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.265 + "Raw Cognitive Density": 0.365 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "10.69%", + "Cognitive Load Exposure": "15.0%", "Error & Exception Exposure": "57.23%", "Tech Debt Exposure": "0.0%", - "Testing Exposure": "2.33%", - "API Exposure": "5.0%", + "Testing Exposure": "2.37%", + "API Exposure": "7.18%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "54.21%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "57.9%", + "Documentation Exposure": "81.43%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ + { + "Function Name": "operator()", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 14, + "End Line": 20 + }, + { + "Function Name": "operator()", + "Structural Impact": 1.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 26, + "End Line": 29 + }, { "Function Name": "operator->", "Structural Impact": 1.2, @@ -335082,13 +335212,13 @@ "Control Flow Branches": 1, "Sequential Logic Declarations": 12, "Function Parameters": 2, - "Function/Method Declarations": 2, + "Function/Method Declarations": 4, "Class/Entity Declarations": 3, "Defensive Programming Constructs": 2, "Type/Safety Bypasses": 0, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 3, + "Exposed API / Public Exports": 5, "State Mutations / Variable Reassignments": 5, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 0, @@ -420155,9 +420285,9 @@ "Identity Proof": "Single Indicator (Ext: .json)" }, "2. Topological Coordinates": { - "X": 6616.13, + "X": 6616.14, "Y": -132.9, - "Z": 3492.14 + "Z": 3492.15 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -420312,7 +420442,7 @@ "Identity Proof": "Single Indicator (Ext: .json)" }, "2. Topological Coordinates": { - "X": 6863.09, + "X": 6863.1, "Y": -120.12, "Z": 2903.33 }, @@ -420469,9 +420599,9 @@ "Identity Proof": "Single Indicator (Ext: .json)" }, "2. Topological Coordinates": { - "X": 6868.28, + "X": 6868.29, "Y": -124.13, - "Z": 3454.3 + "Z": 3454.31 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -427532,7 +427662,7 @@ "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": 7206.07, + "X": 7206.09, "Y": 164.39, "Z": 2506.16 },