From 3a1772d153e55d2517125f4ff8b8fc405a927eb4 Mon Sep 17 00:00:00 2001 From: Joe Esquibel Date: Sun, 16 Aug 2026 17:05:39 -0400 Subject: [PATCH 1/6] Reapply "Fix TypeScript function detection and argument counting" This reverts commit b614ebc2c9e53d6a6ba0c48733b6c73a3b82e7f6. --- gitgalaxy/core/detector.py | 298 ++++++++-------------- gitgalaxy/standards/language_standards.py | 31 ++- tests/tools/tree_sitter_accuracy_audit.py | 71 +++--- why_we_are_better_than_tree_sitter.md | 27 ++ 4 files changed, 181 insertions(+), 246 deletions(-) create mode 100644 why_we_are_better_than_tree_sitter.md diff --git a/gitgalaxy/core/detector.py b/gitgalaxy/core/detector.py index 1c87bb210..896d7def9 100644 --- a/gitgalaxy/core/detector.py +++ b/gitgalaxy/core/detector.py @@ -1,4 +1,3 @@ -import sys # ============================================================================== # galaxyscope:ignore sec_high_risk_execution @@ -753,7 +752,7 @@ def splice( lookahead = code_stream[match.end() : match.end() + 200] anchor_match = re.search(r"^[^\{;,)=]{0,200}?([\{;,)=])", lookahead) if not anchor_match or anchor_match.group(1) != "{": - print(f"Skipping at line {sys._getframe().f_lineno}"); continue + continue name_group_idx, name, inheritance = _resolve_class_start_match(match, class_start_groups) @@ -1032,12 +1031,12 @@ def _decode_comment_stream(self, comment_stream: str) -> dict[str, str]: if has_block_text: break else: - print(f"Skipping at line {sys._getframe().f_lineno}"); continue + continue if re_boundary and hasattr(re_boundary, "match") and re_boundary.match(line_str): break purpose_buffer.append(line_str) has_block_text = True - print(f"Skipping at line {sys._getframe().f_lineno}"); continue + continue if active_capture == "line": if ( @@ -1048,13 +1047,13 @@ def _decode_comment_stream(self, comment_stream: str) -> dict[str, str]: active_capture = None else: fallback_buffer.append(line_str) - print(f"Skipping at line {sys._getframe().f_lineno}"); continue + continue if re_purpose_block and hasattr(re_purpose_block, "match") and re_purpose_block.match(line_str): active_capture = "block" purpose_buffer = [] has_block_text = False - print(f"Skipping at line {sys._getframe().f_lineno}"); continue + continue if re_purpose_line and hasattr(re_purpose_line, "match") and not purpose_buffer: try: @@ -1070,7 +1069,7 @@ def _decode_comment_stream(self, comment_stream: str) -> dict[str, str]: fallback_buffer.append(purpose_text) except Exception as e: self.logger.debug(f"Purpose-line regex extraction failed, skipping this line: {e}") - print(f"Skipping at line {sys._getframe().f_lineno}"); continue + continue final_purpose = purpose_buffer if purpose_buffer else fallback_buffer if final_purpose: @@ -1097,7 +1096,7 @@ def _extract_documentation_tether(self, start_line: int, lang_id: str) -> str: for j in range(i - 1, max(-1, i - 15), -1): prev = self.raw_content_lines[j].strip() if not prev: - print(f"Skipping at line {sys._getframe().f_lineno}"); continue + continue if ( prev.startswith(("#", "//", "/*", "*", "///", "--", " """ diff --git a/tests/golden_master_audit.json b/tests/golden_master_audit.json index 5594375be..cf6b0586b 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-16T22:28:34.840431+00:00", - "Total Scan Duration": "52.76 seconds" + "Analysis ISO Timestamp": "2026-08-16T23:42:01.679303+00:00", + "Total Scan Duration": "49.67 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -196,10 +196,10 @@ } }, "health": { - "avg_cognitive_load": 24.687, - "avg_safety_score": 38.601, - "avg_tech_debt": 23.335, - "avg_documentation": 21.501 + "avg_cognitive_load": 24.686, + "avg_safety_score": 38.602, + "avg_tech_debt": 23.32, + "avg_documentation": 21.507 }, "composition": { "xml": { @@ -360,7 +360,7 @@ "typescript": { "files": 24, "loc": 36020, - "impact": 4242.680000000001 + "impact": 4256.04 }, "kotlin": { "files": 5, @@ -888,10 +888,10 @@ }, "typescript/playwright": { "file_count": 11, - "total_mass": 558.74, + "total_mass": 564.66, "avg_exposures": { "cognitive_load": 44.71, - "safety_score": 58.03, + "safety_score": 58.04, "tech_debt": 31.61, "verification": 36.78, "api_exposure": 3.11, @@ -901,7 +901,7 @@ "spec_match": 63.64, "stability": 31.82, "churn": 0.0, - "documentation": 15.83, + "documentation": 15.96, "secrets_risk": 0.0 } }, @@ -1743,20 +1743,20 @@ }, "typescript/fp-ts": { "file_count": 5, - "total_mass": 146.45, + "total_mass": 156.98, "avg_exposures": { - "cognitive_load": 3.16, + "cognitive_load": 3.13, "safety_score": 43.91, "tech_debt": 0.0, "verification": 48.46, - "api_exposure": 10.47, + "api_exposure": 10.48, "concurrency": 4.28, "state_flux": 0.0, "dead_code": 0.0, "spec_match": 80.0, "stability": 40.0, "churn": 0.0, - "documentation": 45.62, + "documentation": 46.37, "secrets_risk": 0.0 } }, @@ -1781,11 +1781,11 @@ }, "typescript/vscode": { "file_count": 11, - "total_mass": 1418.01, + "total_mass": 1414.92, "avg_exposures": { - "cognitive_load": 35.36, - "safety_score": 59.85, - "tech_debt": 46.31, + "cognitive_load": 35.33, + "safety_score": 59.86, + "tech_debt": 45.07, "verification": 44.29, "api_exposure": 4.25, "concurrency": 39.59, @@ -3938,7 +3938,7 @@ { "name": "frames.ts", "path": "typescript/playwright/frames.ts", - "value": 737.8 + "value": 739.26 }, { "name": "containerbackend.go", @@ -48373,9 +48373,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 3920.42, + "X": 3920.7, "Y": -179.71, - "Z": -5051.48 + "Z": -5051.81 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -50391,9 +50391,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 3820.93, + "X": 3821.21, "Y": -93.04, - "Z": -4652.2 + "Z": -4652.54 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -54913,9 +54913,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 4225.59, + "X": 4225.86, "Y": 24.18, - "Z": -4129.19 + "Z": -4129.52 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -56969,9 +56969,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 3334.63, + "X": 3334.9, "Y": -147.23, - "Z": -4676.29 + "Z": -4676.62 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -58425,9 +58425,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 3509.79, + "X": 3510.06, "Y": -87.94, - "Z": -4546.5 + "Z": -4546.84 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -225063,9 +225063,9 @@ "Identity Proof": "Single Indicator (Exact Match)" }, "2. Topological Coordinates": { - "X": 2411.87, + "X": 2412.12, "Y": -315.53, - "Z": -5237.28 + "Z": -5237.71 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -225235,9 +225235,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 2685.45, + "X": 2685.7, "Y": -197.58, - "Z": -4717.43 + "Z": -4717.86 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -226097,9 +226097,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 3299.25, + "X": 3299.5, "Y": -174.68, - "Z": -4610.96 + "Z": -4611.39 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -226422,9 +226422,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 3025.47, + "X": 3025.72, "Y": -312.15, - "Z": -5477.85 + "Z": -5478.29 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -227164,9 +227164,9 @@ "Identity Proof": "Sibling Anchor (.c)" }, "2. Topological Coordinates": { - "X": 3406.94, + "X": 3407.19, "Y": -289.86, - "Z": -5327.8 + "Z": -5328.23 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -227327,9 +227327,9 @@ "Identity Proof": "Ecosystem Consensus Lock (70% Local Dominance)" }, "2. Topological Coordinates": { - "X": 2924.12, + "X": 2924.37, "Y": -233.45, - "Z": -5215.42 + "Z": -5215.85 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -355357,16 +355357,16 @@ } }, "typescript/vscode": { - "Directory Group Magnitude": 1418.01, + "Directory Group Magnitude": 1414.92, "File Count": 11, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "81.8%", "Static: Literature & Documentation": "18.2%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "35.36%", - "Error & Exception Exposure": "59.85%", - "Tech Debt Exposure": "46.31%", + "Cognitive Load Exposure": "35.33%", + "Error & Exception Exposure": "59.86%", + "Tech Debt Exposure": "45.07%", "Testing Exposure": "44.29%", "API Exposure": "4.25%", "Concurrency Exposure": "39.59%", @@ -355873,9 +355873,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3477.96, + "X": 3477.99, "Y": 154.08, - "Z": 3300.2 + "Z": 3300.17 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -355887,7 +355887,7 @@ "Total LOC": 2646, "Coding LOC": 1803, "Documentation LOC": 419, - "Structural Magnitude": 316.06, + "Structural Magnitude": 314.99, "Control Flow Ratio": "33.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -355897,9 +355897,9 @@ }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "57.79%", - "Error & Exception Exposure": "92.87%", - "Tech Debt Exposure": "83.45%", - "Testing Exposure": "2.47%", + "Error & Exception Exposure": "93.04%", + "Tech Debt Exposure": "76.89%", + "Testing Exposure": "2.46%", "API Exposure": "6.5%", "Concurrency Exposure": "100.0%", "State Flux Exposure": "100.0%", @@ -355951,6 +355951,16 @@ "Start Line": 2218, "End Line": 2256 }, + { + "Function Name": "finish", + "Structural Impact": 12.8, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 10, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 654, + "End Line": 689 + }, { "Function Name": "readWhile", "Structural Impact": 12.8, @@ -355981,16 +355991,6 @@ "Start Line": 2372, "End Line": 2393 }, - { - "Function Name": "finish", - "Structural Impact": 11.4, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 9, - "Input Parameters": 0, - "Control Flow Ratio": "60.0%", - "Start Line": 654, - "End Line": 682 - }, { "Function Name": "cancellableIterable", "Structural Impact": 11.3, @@ -356131,6 +356131,16 @@ "Start Line": 2042, "End Line": 2064 }, + { + "Function Name": "emitMany", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "57.1%", + "Start Line": 2376, + "End Line": 2393 + }, { "Function Name": "consume", "Structural Impact": 7.7, @@ -356211,16 +356221,6 @@ "Start Line": 1453, "End Line": 1460 }, - { - "Function Name": "reject", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 2027, - "End Line": 2040 - }, { "Function Name": "thenHandler", "Structural Impact": 6.3, @@ -356241,16 +356241,6 @@ "Start Line": 1615, "End Line": 1621 }, - { - "Function Name": "reject", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 2381, - "End Line": 2393 - }, { "Function Name": "_runWhenIdle", "Structural Impact": 6.2, @@ -356691,6 +356681,16 @@ "Start Line": 2602, "End Line": 2611 }, + { + "Function Name": "microtaskDeferred", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "16.7%", + "Start Line": 344, + "End Line": 354 + }, { "Function Name": "cancel", "Structural Impact": 3.4, @@ -356741,16 +356741,6 @@ "Start Line": 2284, "End Line": 2290 }, - { - "Function Name": "microtaskDeferred", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 344, - "End Line": 353 - }, { "Function Name": "queue", "Structural Impact": 3.3, @@ -356871,16 +356861,6 @@ "Start Line": 2326, "End Line": 2333 }, - { - "Function Name": "e", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 684, - "End Line": 689 - }, { "Function Name": "_errorFn", "Structural Impact": 3.1, @@ -356891,16 +356871,6 @@ "Start Line": 2238, "End Line": 2243 }, - { - "Function Name": "emitMany", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2376, - "End Line": 2380 - }, { "Function Name": "_finishError", "Structural Impact": 3.1, @@ -357174,12 +357144,12 @@ { "Function Name": "timeoutDeferred", "Structural Impact": 2.1, - "Lines of Code (LOC)": 7, + "Lines of Code (LOC)": 8, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", "Start Line": 329, - "End Line": 335 + "End Line": 336 }, { "Function Name": "isTriggered", @@ -357711,16 +357681,6 @@ "Start Line": 536, "End Line": 536 }, - { - "Function Name": "c", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 683, - "End Line": 683 - }, { "Function Name": "queue", "Structural Impact": 1.5, @@ -357761,26 +357721,6 @@ "Start Line": 1962, "End Line": 1962 }, - { - "Function Name": "emitOne", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2025, - "End Line": 2025 - }, - { - "Function Name": "emitMany", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2026, - "End Line": 2026 - }, { "Function Name": "filter", "Structural Impact": 1.5, @@ -357821,16 +357761,6 @@ "Start Line": 2229, "End Line": 2230 }, - { - "Function Name": "emitOne", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2375, - "End Line": 2375 - }, { "Function Name": "filter", "Structural Impact": 1.5, @@ -358061,26 +357991,6 @@ "Start Line": 326, "End Line": 326 }, - { - "Function Name": "isTriggered", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 336, - "End Line": 336 - }, - { - "Function Name": "isTriggered", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 354, - "End Line": 354 - }, { "Function Name": "dispose", "Structural Impact": 1.1, @@ -358411,16 +358321,6 @@ "Start Line": 2477, "End Line": 2479 }, - { - "Function Name": "next", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 2511, - "End Line": 2511 - }, { "Function Name": "Symbol.asyncIterator", "Structural Impact": 1.1, @@ -358447,14 +358347,14 @@ "Control Flow Branches": 288, "Sequential Logic Declarations": 586, "Function Parameters": 412, - "Function/Method Declarations": 257, + "Function/Method Declarations": 247, "Class/Entity Declarations": 47, "Defensive Programming Constructs": 258, "Type/Safety Bypasses": 36, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, "Exposed API / Public Exports": 129, - "State Mutations / Variable Reassignments": 1203, + "State Mutations / Variable Reassignments": 1211, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 76, "Unit Test Assertions": 0, @@ -358516,7 +358416,7 @@ "Design Upper Case": 3, "Design Short Vars": 8, "Design Long Vars": 0, - "Duplicate Logic": 4, + "Duplicate Logic": 2, "Orphaned Logic": 37, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, @@ -364901,9 +364801,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 4291.18, - "Y": 308.42, - "Z": 2982.53 + "X": 4291.05, + "Y": 308.39, + "Z": 2982.48 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -364915,18 +364815,18 @@ "Total LOC": 829, "Coding LOC": 676, "Documentation LOC": 49, - "Structural Magnitude": 34.78, + "Structural Magnitude": 34.27, "Control Flow Ratio": "41.9%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.442 + "Raw Cognitive Density": 0.432 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "11.28%", + "Cognitive Load Exposure": "10.94%", "Error & Exception Exposure": "58.91%", - "Tech Debt Exposure": "15.14%", + "Tech Debt Exposure": "8.12%", "Testing Exposure": "80.0%", "API Exposure": "3.27%", "Concurrency Exposure": "40.08%", @@ -364951,13 +364851,13 @@ }, { "Function Name": "task", - "Structural Impact": 61.6, - "Lines of Code (LOC)": 313, + "Structural Impact": 62.1, + "Lines of Code (LOC)": 322, "Control Flow Branches": 45, "Input Parameters": 0, - "Control Flow Ratio": "69.2%", + "Control Flow Ratio": "65.2%", "Start Line": 326, - "End Line": 638 + "End Line": 647 }, { "Function Name": "dashed", @@ -365019,16 +364919,6 @@ "Start Line": 649, "End Line": 683 }, - { - "Function Name": "skipTSBoilerplateRemoval", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 158, - "End Line": 163 - }, { "Function Name": "computeChecksums", "Structural Impact": 2.1, @@ -365048,26 +364938,6 @@ "Control Flow Ratio": "0.0%", "Start Line": 310, "End Line": 320 - }, - { - "Function Name": "productJsonFn", - "Structural Impact": 1.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 640, - "End Line": 647 - }, - { - "Function Name": "packageJsonFn", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 639, - "End Line": 639 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -365075,7 +364945,7 @@ "Control Flow Branches": 75, "Sequential Logic Declarations": 104, "Function Parameters": 64, - "Function/Method Declarations": 13, + "Function/Method Declarations": 10, "Class/Entity Declarations": 0, "Defensive Programming Constructs": 7, "Type/Safety Bypasses": 6, @@ -365145,7 +365015,7 @@ "Design Short Vars": 1, "Design Long Vars": 3, "Duplicate Logic": 0, - "Orphaned Logic": 3, + "Orphaned Logic": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -366869,9 +366739,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3514.51, - "Y": 207.59, - "Z": 3528.64 + "X": 3514.52, + "Y": 207.58, + "Z": 3528.61 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -366883,7 +366753,7 @@ "Total LOC": 975, "Coding LOC": 637, "Documentation LOC": 181, - "Structural Magnitude": 71.99, + "Structural Magnitude": 71.74, "Control Flow Ratio": "39.1%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -367317,16 +367187,6 @@ "Start Line": 432, "End Line": 440 }, - { - "Function Name": "dispose", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "20.0%", - "Start Line": 731, - "End Line": 740 - }, { "Function Name": "clearAndLeak", "Structural Impact": 2.4, @@ -367903,7 +367763,7 @@ "Control Flow Branches": 111, "Sequential Logic Declarations": 173, "Function Parameters": 147, - "Function/Method Declarations": 99, + "Function/Method Declarations": 98, "Class/Entity Declarations": 18, "Defensive Programming Constructs": 77, "Type/Safety Bypasses": 15, @@ -368026,9 +367886,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3750.8, - "Y": 133.58, - "Z": 2541.78 + "X": 3750.79, + "Y": 133.59, + "Z": 2541.84 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -368040,13 +367900,13 @@ "Total LOC": 21234, "Coding LOC": 3438, "Documentation LOC": 15519, - "Structural Magnitude": 217.08, + "Structural Magnitude": 215.82, "Control Flow Ratio": "36.7%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.341 + "Raw Cognitive Density": 0.342 }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "6.94%", @@ -368254,16 +368114,6 @@ "Start Line": 11544, "End Line": 11553 }, - { - "Function Name": "runHandler", - "Structural Impact": 6.9, - "Lines of Code (LOC)": 35, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "40.0%", - "Start Line": 18396, - "End Line": 18430 - }, { "Function Name": "update", "Structural Impact": 6.8, @@ -368384,16 +368234,6 @@ "Start Line": 20297, "End Line": 20297 }, - { - "Function Name": "executeHandler", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "33.3%", - "Start Line": 16113, - "End Line": 16148 - }, { "Function Name": "withProgress", "Structural Impact": 5.7, @@ -371375,14 +371215,14 @@ "End Line": 21161 }, { - "Function Name": "dispose", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 12, + "Function Name": "from", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1727, - "End Line": 1738 + "Start Line": 1723, + "End Line": 1728 }, { "Function Name": "lineAt", @@ -373300,7 +373140,7 @@ "Control Flow Branches": 809, "Sequential Logic Declarations": 1394, "Function Parameters": 647, - "Function/Method Declarations": 524, + "Function/Method Declarations": 521, "Class/Entity Declarations": 489, "Defensive Programming Constructs": 244, "Type/Safety Bypasses": 81, @@ -373370,7 +373210,7 @@ "Design Short Vars": 3, "Design Long Vars": 6, "Duplicate Logic": 56, - "Orphaned Logic": 275, + "Orphaned Logic": 274, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -391216,7 +391056,7 @@ } }, "typescript/playwright": { - "Directory Group Magnitude": 558.74, + "Directory Group Magnitude": 564.66, "File Count": 11, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "63.6%", @@ -391224,7 +391064,7 @@ }, "Average Risk Exposures": { "Cognitive Load Exposure": "44.71%", - "Error & Exception Exposure": "58.03%", + "Error & Exception Exposure": "58.04%", "Tech Debt Exposure": "31.61%", "Testing Exposure": "36.78%", "API Exposure": "3.11%", @@ -391234,7 +391074,7 @@ "Specification Exposure": "63.64%", "Instability Exposure": "31.82%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "15.83%", + "Documentation Exposure": "15.96%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -391251,9 +391091,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3386.7, - "Y": -338.19, - "Z": -4308.05 + "X": 3386.97, + "Y": -338.21, + "Z": -4308.3 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -391408,9 +391248,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3417.85, - "Y": -406.65, - "Z": -3802.64 + "X": 3418.13, + "Y": -406.69, + "Z": -3802.73 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -391565,9 +391405,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 2389.37, - "Y": -192.09, - "Z": -3713.53 + "X": 2389.31, + "Y": -192.07, + "Z": -3713.61 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -391722,9 +391562,9 @@ "Identity Proof": "Metadata Anchor (NOTICE)" }, "2. Topological Coordinates": { - "X": 3226.2, - "Y": -252.81, - "Z": -4458.82 + "X": 3226.39, + "Y": -252.8, + "Z": -4459.14 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -391879,9 +391719,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2775.14, - "Y": -272.96, - "Z": -3543.94 + "X": 2775.2, + "Y": -272.98, + "Z": -3543.91 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -392069,9 +391909,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2445.56, - "Y": -157.89, - "Z": -3985.49 + "X": 2445.49, + "Y": -157.85, + "Z": -3985.68 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -392417,9 +392257,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2996.07, - "Y": -180.5, - "Z": -4484.43 + "X": 2996.2, + "Y": -180.47, + "Z": -4484.79 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -392431,17 +392271,17 @@ "Total LOC": 353, "Coding LOC": 304, "Documentation LOC": 20, - "Structural Magnitude": 49.53, + "Structural Magnitude": 49.62, "Control Flow Ratio": "49.4%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 2.44 + "Raw Cognitive Density": 2.433 }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "96.6%", - "Error & Exception Exposure": "95.94%", + "Error & Exception Exposure": "96.08%", "Tech Debt Exposure": "8.82%", "Testing Exposure": "80.0%", "API Exposure": "3.4%", @@ -392644,16 +392484,6 @@ "Control Flow Ratio": "0.0%", "Start Line": 112, "End Line": 114 - }, - { - "Function Name": "isUnderTest", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 155, - "End Line": 157 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -392661,14 +392491,14 @@ "Control Flow Branches": 116, "Sequential Logic Declarations": 119, "Function Parameters": 30, - "Function/Method Declarations": 20, + "Function/Method Declarations": 19, "Class/Entity Declarations": 3, "Defensive Programming Constructs": 7, "Type/Safety Bypasses": 13, "High-Risk Execution Commands": 1, "I/O and Network Boundaries": 4, "Exposed API / Public Exports": 10, - "State Mutations / Variable Reassignments": 138, + "State Mutations / Variable Reassignments": 140, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 1, "Unit Test Assertions": 0, @@ -392809,8 +392639,8 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3145.31, - "Y": -329.16, + "X": 3145.54, + "Y": -329.2, "Z": -3623.29 }, "3. Architectural Profile": { @@ -393178,9 +393008,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2676.91, - "Y": -216.98, - "Z": -3890.66 + "X": 2676.88, + "Y": -216.96, + "Z": -3890.68 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -393671,9 +393501,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2880.96, + "X": 2881.07, "Y": -230.5, - "Z": -3925.04 + "Z": -3925.19 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -393685,13 +393515,13 @@ "Total LOC": 1823, "Coding LOC": 1533, "Documentation LOC": 91, - "Structural Magnitude": 363.25, + "Structural Magnitude": 369.08, "Control Flow Ratio": "46.8%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 3.8 + "Raw Cognitive Density": 3.79 }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "99.35%", @@ -393705,7 +393535,7 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "13.68%", + "Documentation Exposure": "15.13%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -393729,6 +393559,16 @@ "Start Line": 1473, "End Line": 1515 }, + { + "Function Name": "_retryWithProgressIfNotConnected", + "Structural Impact": 63.3, + "Lines of Code (LOC)": 59, + "Control Flow Branches": 26, + "Input Parameters": 4, + "Control Flow Ratio": "60.5%", + "Start Line": 1132, + "End Line": 1190 + }, { "Function Name": "waitForFunctionExpression", "Structural Impact": 58.9, @@ -395275,7 +395115,7 @@ "Control Flow Branches": 454, "Sequential Logic Declarations": 516, "Function Parameters": 0, - "Function/Method Declarations": 158, + "Function/Method Declarations": 157, "Class/Entity Declarations": 4, "Defensive Programming Constructs": 78, "Type/Safety Bypasses": 64, @@ -395286,7 +395126,7 @@ "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 1, "Unit Test Assertions": 6, - "Asynchronous/Concurrent Execution": 1407, + "Asynchronous/Concurrent Execution": 1402, "UI / View Layer Components": 14, "Closures and Anonymous Functions": 73, "Global State Dependencies": 18, @@ -395412,9 +395252,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2675.77, - "Y": -153.16, - "Z": -4672.27 + "X": 2675.8, + "Y": -153.12, + "Z": -4672.59 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -402720,9 +402560,9 @@ "Identity Proof": "Metadata Anchor (COPYING)" }, "2. Topological Coordinates": { - "X": 4380.39, + "X": 4380.67, "Y": 211.04, - "Z": -4664.04 + "Z": -4664.34 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -402877,9 +402717,9 @@ "Identity Proof": "Metadata Anchor (configure.ac)" }, "2. Topological Coordinates": { - "X": 4621.93, + "X": 4622.2, "Y": 251.14, - "Z": -5082.52 + "Z": -5082.81 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -409254,25 +409094,25 @@ } }, "typescript/fp-ts": { - "Directory Group Magnitude": 146.45, + "Directory Group Magnitude": 156.98, "File Count": 5, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "80.0%", "Static: Literature & Documentation": "20.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "3.16%", + "Cognitive Load Exposure": "3.13%", "Error & Exception Exposure": "43.91%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "48.46%", - "API Exposure": "10.47%", + "API Exposure": "10.48%", "Concurrency Exposure": "4.28%", "State Flux Exposure": "0.0%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "80.0%", "Instability Exposure": "40.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "45.62%", + "Documentation Exposure": "46.37%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -409289,9 +409129,9 @@ "Identity Proof": "Single Indicator (Exact Match)" }, "2. Topological Coordinates": { - "X": -1529.98, - "Y": 181.52, - "Z": -4306.71 + "X": -1530.89, + "Y": 181.53, + "Z": -4307.55 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -409447,9 +409287,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": -1286.94, - "Y": 268.3, - "Z": -3995.38 + "X": -1288.05, + "Y": 268.57, + "Z": -3995.27 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -409461,7 +409301,7 @@ "Total LOC": 1854, "Coding LOC": 608, "Documentation LOC": 1110, - "Structural Magnitude": 38.69, + "Structural Magnitude": 40.98, "Control Flow Ratio": "11.6%", "Popularity Rank": 2, "Raw Churn Frequency": 0.0, @@ -409487,13 +409327,13 @@ "5. Function Analysis": [ { "Function Name": "getOrElseW", - "Structural Impact": 11.2, - "Lines of Code (LOC)": 168, + "Structural Impact": 16.6, + "Lines of Code (LOC)": 276, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "2.1%", + "Control Flow Ratio": "1.1%", "Start Line": 1050, - "End Line": 1217 + "End Line": 1325 }, { "Function Name": "extend", @@ -409505,6 +409345,16 @@ "Start Line": 839, "End Line": 985 }, + { + "Function Name": "exists", + "Structural Impact": 9.9, + "Lines of Code (LOC)": 85, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "13.0%", + "Start Line": 1497, + "End Line": 1581 + }, { "Function Name": "equals", "Structural Impact": 9.8, @@ -409675,6 +409525,16 @@ "Start Line": 1393, "End Line": 1407 }, + { + "Function Name": "traverseArray", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 90, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1628, + "End Line": 1717 + }, { "Function Name": "concat", "Structural Impact": 5.7, @@ -409705,16 +409565,6 @@ "Start Line": 470, "End Line": 523 }, - { - "Function Name": "exists", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 45, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "11.1%", - "Start Line": 1497, - "End Line": 1541 - }, { "Function Name": "separate", "Structural Impact": 5.0, @@ -409755,6 +409605,16 @@ "Start Line": 740, "End Line": 750 }, + { + "Function Name": "traverseReadonlyArrayWithIndex", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "9.1%", + "Start Line": 1605, + "End Line": 1628 + }, { "Function Name": "getWitherable", "Structural Impact": 3.9, @@ -409815,6 +409675,16 @@ "Start Line": 1822, "End Line": 1853 }, + { + "Function Name": "f", + "Structural Impact": 2.8, + "Lines of Code (LOC)": 28, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1409, + "End Line": 1436 + }, { "Function Name": "chainNullableK", "Structural Impact": 2.6, @@ -410031,7 +409901,7 @@ "Control Flow Branches": 61, "Sequential Logic Declarations": 463, "Function Parameters": 220, - "Function/Method Declarations": 72, + "Function/Method Declarations": 62, "Class/Entity Declarations": 6, "Defensive Programming Constructs": 29, "Type/Safety Bypasses": 11, @@ -410185,9 +410055,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": -800.05, - "Y": 226.69, - "Z": -3854.08 + "X": -799.78, + "Y": 226.81, + "Z": -3854.22 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -410343,9 +410213,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": -1053.05, - "Y": 63.92, - "Z": -4413.69 + "X": -1053.11, + "Y": 63.52, + "Z": -4415.89 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -410357,40 +410227,30 @@ "Total LOC": 1882, "Coding LOC": 662, "Documentation LOC": 1053, - "Structural Magnitude": 27.71, + "Structural Magnitude": 30.25, "Control Flow Ratio": "2.5%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.138 + "Raw Cognitive Density": 0.129 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "3.98%", + "Cognitive Load Exposure": "3.85%", "Error & Exception Exposure": "33.76%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "13.31%", + "API Exposure": "13.34%", "Concurrency Exposure": "21.39%", "State Flux Exposure": "0.0%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "42.04%", + "Documentation Exposure": "44.93%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ - { - "Function Name": "partitionMap", - "Structural Impact": 22.1, - "Lines of Code (LOC)": 408, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 761, - "End Line": 1168 - }, { "Function Name": "_alt", "Structural Impact": 14.8, @@ -410401,6 +410261,46 @@ "Start Line": 436, "End Line": 696 }, + { + "Function Name": "bracketW", + "Structural Impact": 10.4, + "Lines of Code (LOC)": 87, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "7.4%", + "Start Line": 1514, + "End Line": 1600 + }, + { + "Function Name": "traverseSeqArray", + "Structural Impact": 9.0, + "Lines of Code (LOC)": 151, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1702, + "End Line": 1852 + }, + { + "Function Name": "tryCatchK", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 101, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 265, + "End Line": 365 + }, + { + "Function Name": "fromTaskOption", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 99, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 151, + "End Line": 249 + }, { "Function Name": "traverseReadonlyNonEmptyArrayWithIndexSeq", "Structural Impact": 5.6, @@ -410411,16 +410311,6 @@ "Start Line": 1624, "End Line": 1650 }, - { - "Function Name": "bracketW", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 47, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 1514, - "End Line": 1560 - }, { "Function Name": "cbResolver", "Structural Impact": 4.2, @@ -410431,6 +410321,76 @@ "Start Line": 1487, "End Line": 1501 }, + { + "Function Name": "traverseReadonlyArrayWithIndexSeq", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "9.1%", + "Start Line": 1650, + "End Line": 1673 + }, + { + "Function Name": "traverseReadonlyArrayWithIndex", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "14.3%", + "Start Line": 1611, + "End Line": 1624 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1467, + "End Line": 1470 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1470, + "End Line": 1473 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1473, + "End Line": 1476 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1476, + "End Line": 1479 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1479, + "End Line": 1482 + }, { "Function Name": "taskify", "Structural Impact": 2.9, @@ -410442,14 +410402,24 @@ "End Line": 1467 }, { - "Function Name": "fromTaskOption", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 28, + "Function Name": "traverseArray", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 30, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 151, - "End Line": 178 + "Start Line": 1673, + "End Line": 1702 + }, + { + "Function Name": "bracket", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 1501, + "End Line": 1514 }, { "Function Name": "orElseFirstTaskK", @@ -410471,16 +410441,6 @@ "Start Line": 408, "End Line": 428 }, - { - "Function Name": "ap", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 702, - "End Line": 716 - }, { "Function Name": "getFilterable", "Structural Impact": 2.4, @@ -410521,16 +410481,6 @@ "Start Line": 696, "End Line": 705 }, - { - "Function Name": "alt", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 722, - "End Line": 730 - }, { "Function Name": "getCompactable", "Structural Impact": 2.2, @@ -410541,6 +410491,16 @@ "Start Line": 730, "End Line": 744 }, + { + "Function Name": "traverseReadonlyNonEmptyArrayWithIndex", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1600, + "End Line": 1611 + }, { "Function Name": "getSemigroup", "Structural Impact": 2.0, @@ -410602,37 +410562,7 @@ "End Line": 434 }, { - "Function Name": "filter", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 758, - "End Line": 758 - }, - { - "Function Name": "filterMap", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 759, - "End Line": 759 - }, - { - "Function Name": "partition", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 760, - "End Line": 760 - }, - { - "Function Name": "a", + "Function Name": "f", "Structural Impact": 1.7, "Lines of Code (LOC)": 5, "Control Flow Branches": 0, @@ -410657,13 +410587,13 @@ "Control Flow Branches": 15, "Sequential Logic Declarations": 590, "Function Parameters": 267, - "Function/Method Declarations": 78, + "Function/Method Declarations": 35, "Class/Entity Declarations": 3, "Defensive Programming Constructs": 49, "Type/Safety Bypasses": 16, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 155, + "Exposed API / Public Exports": 157, "State Mutations / Variable Reassignments": 5, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 158, @@ -410813,9 +410743,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": -1056.74, + "X": -1056.92, "Y": 177.34, - "Z": -4311.01 + "Z": -4311.72 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -410827,7 +410757,7 @@ "Total LOC": 2612, "Coding LOC": 1772, "Documentation LOC": 701, - "Structural Magnitude": 75.38, + "Structural Magnitude": 81.08, "Control Flow Ratio": "5.4%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -410847,10 +410777,20 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "90.42%", + "Documentation Exposure": "91.28%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ + { + "Function Name": "compose", + "Structural Impact": 67.1, + "Lines of Code (LOC)": 1313, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 979, + "End Line": 2291 + }, { "Function Name": "pipeable", "Structural Impact": 33.9, @@ -410861,16 +410801,6 @@ "Start Line": 2520, "End Line": 2603 }, - { - "Function Name": "compose", - "Structural Impact": 18.6, - "Lines of Code (LOC)": 344, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 979, - "End Line": 1322 - }, { "Function Name": "predicate", "Structural Impact": 5.3, @@ -411331,6 +411261,26 @@ "Start Line": 676, "End Line": 681 }, + { + "Function Name": "partitionMap", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 698, + "End Line": 703 + }, + { + "Function Name": "partitionMap", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 703, + "End Line": 708 + }, { "Function Name": "filterWithIndex", "Structural Impact": 1.7, @@ -411411,6 +411361,36 @@ "Start Line": 876, "End Line": 881 }, + { + "Function Name": "partitionMapWithIndex", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 894, + "End Line": 899 + }, + { + "Function Name": "partitionMapWithIndex", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 899, + "End Line": 904 + }, + { + "Function Name": "partitionMapWithIndex", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 904, + "End Line": 909 + }, { "Function Name": "map", "Structural Impact": 1.6, @@ -412967,7 +412947,7 @@ "Control Flow Branches": 128, "Sequential Logic Declarations": 2243, "Function Parameters": 1142, - "Function/Method Declarations": 250, + "Function/Method Declarations": 224, "Class/Entity Declarations": 108, "Defensive Programming Constructs": 20, "Type/Safety Bypasses": 17, @@ -427595,9 +427575,9 @@ "Identity Proof": "Metadata Anchor (COPYING)" }, "2. Topological Coordinates": { - "X": 3047.25, + "X": 3047.47, "Y": 219.52, - "Z": -5820.4 + "Z": -5820.83 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -427776,9 +427756,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3529.01, + "X": 3529.27, "Y": 77.93, - "Z": -5538.65 + "Z": -5539.04 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -427933,9 +427913,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3730.47, + "X": 3730.73, "Y": 117.24, - "Z": -5563.36 + "Z": -5563.75 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -428090,9 +428070,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3674.28, + "X": 3674.54, "Y": 156.7, - "Z": -5866.67 + "Z": -5867.06 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -428814,9 +428794,9 @@ "Identity Proof": "Metadata Anchor (pom.xml)" }, "2. Topological Coordinates": { - "X": 4067.53, + "X": 4067.78, "Y": -44.32, - "Z": -5403.22 + "Z": -5403.56 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -429177,9 +429157,9 @@ "Identity Proof": "Metadata Anchor (COPYING)" }, "2. Topological Coordinates": { - "X": -967.16, + "X": -967.48, "Y": 146.31, - "Z": -4847.81 + "Z": -4849.49 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -429334,9 +429314,9 @@ "Identity Proof": "Single Indicator (Ext: .sql)" }, "2. Topological Coordinates": { - "X": -1179.2, + "X": -1179.52, "Y": 104.96, - "Z": -4822.61 + "Z": -4824.3 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", diff --git a/tests/golden_master_zero_dep_audit.json b/tests/golden_master_zero_dep_audit.json index bdbb278d3..75d63fb94 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-16T22:29:33.183562+00:00", - "Total Scan Duration": "54.82 seconds" + "Analysis ISO Timestamp": "2026-08-16T23:42:59.281891+00:00", + "Total Scan Duration": "48.01 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -196,10 +196,10 @@ } }, "health": { - "avg_cognitive_load": 24.687, - "avg_safety_score": 38.601, - "avg_tech_debt": 23.335, - "avg_documentation": 21.501 + "avg_cognitive_load": 24.686, + "avg_safety_score": 38.602, + "avg_tech_debt": 23.32, + "avg_documentation": 21.507 }, "composition": { "xml": { @@ -360,7 +360,7 @@ "typescript": { "files": 24, "loc": 36020, - "impact": 4242.680000000001 + "impact": 4256.04 }, "kotlin": { "files": 5, @@ -888,10 +888,10 @@ }, "typescript/playwright": { "file_count": 11, - "total_mass": 558.74, + "total_mass": 564.66, "avg_exposures": { "cognitive_load": 44.71, - "safety_score": 58.03, + "safety_score": 58.04, "tech_debt": 31.61, "verification": 36.78, "api_exposure": 3.11, @@ -901,7 +901,7 @@ "spec_match": 63.64, "stability": 31.82, "churn": 0.0, - "documentation": 15.83, + "documentation": 15.96, "secrets_risk": 0.0 } }, @@ -1743,20 +1743,20 @@ }, "typescript/fp-ts": { "file_count": 5, - "total_mass": 146.45, + "total_mass": 156.98, "avg_exposures": { - "cognitive_load": 3.16, + "cognitive_load": 3.13, "safety_score": 43.91, "tech_debt": 0.0, "verification": 48.46, - "api_exposure": 10.47, + "api_exposure": 10.48, "concurrency": 4.28, "state_flux": 0.0, "dead_code": 0.0, "spec_match": 80.0, "stability": 40.0, "churn": 0.0, - "documentation": 45.62, + "documentation": 46.37, "secrets_risk": 0.0 } }, @@ -1781,11 +1781,11 @@ }, "typescript/vscode": { "file_count": 11, - "total_mass": 1418.01, + "total_mass": 1414.92, "avg_exposures": { - "cognitive_load": 35.36, - "safety_score": 59.85, - "tech_debt": 46.31, + "cognitive_load": 35.33, + "safety_score": 59.86, + "tech_debt": 45.07, "verification": 44.29, "api_exposure": 4.25, "concurrency": 39.59, @@ -3938,7 +3938,7 @@ { "name": "frames.ts", "path": "typescript/playwright/frames.ts", - "value": 737.8 + "value": 739.26 }, { "name": "containerbackend.go", @@ -48373,9 +48373,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 3920.42, + "X": 3920.7, "Y": -179.71, - "Z": -5051.48 + "Z": -5051.81 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -50391,9 +50391,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 3820.93, + "X": 3821.21, "Y": -93.04, - "Z": -4652.2 + "Z": -4652.54 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -54913,9 +54913,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 4225.59, + "X": 4225.86, "Y": 24.18, - "Z": -4129.19 + "Z": -4129.52 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -56969,9 +56969,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 3334.63, + "X": 3334.9, "Y": -147.23, - "Z": -4676.29 + "Z": -4676.62 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -58425,9 +58425,9 @@ "Identity Proof": "Single Indicator (Ext: .zig)" }, "2. Topological Coordinates": { - "X": 3509.79, + "X": 3510.06, "Y": -87.94, - "Z": -4546.5 + "Z": -4546.84 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -225063,9 +225063,9 @@ "Identity Proof": "Single Indicator (Exact Match)" }, "2. Topological Coordinates": { - "X": 2411.87, + "X": 2412.12, "Y": -315.53, - "Z": -5237.28 + "Z": -5237.71 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -225235,9 +225235,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 2685.45, + "X": 2685.7, "Y": -197.58, - "Z": -4717.43 + "Z": -4717.86 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -226097,9 +226097,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 3299.25, + "X": 3299.5, "Y": -174.68, - "Z": -4610.96 + "Z": -4611.39 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -226422,9 +226422,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 3025.47, + "X": 3025.72, "Y": -312.15, - "Z": -5477.85 + "Z": -5478.29 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -227164,9 +227164,9 @@ "Identity Proof": "Sibling Anchor (.c)" }, "2. Topological Coordinates": { - "X": 3406.94, + "X": 3407.19, "Y": -289.86, - "Z": -5327.8 + "Z": -5328.23 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -227327,9 +227327,9 @@ "Identity Proof": "Ecosystem Consensus Lock (70% Local Dominance)" }, "2. Topological Coordinates": { - "X": 2924.12, + "X": 2924.37, "Y": -233.45, - "Z": -5215.42 + "Z": -5215.85 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -355357,16 +355357,16 @@ } }, "typescript/vscode": { - "Directory Group Magnitude": 1418.01, + "Directory Group Magnitude": 1414.92, "File Count": 11, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "81.8%", "Static: Literature & Documentation": "18.2%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "35.36%", - "Error & Exception Exposure": "59.85%", - "Tech Debt Exposure": "46.31%", + "Cognitive Load Exposure": "35.33%", + "Error & Exception Exposure": "59.86%", + "Tech Debt Exposure": "45.07%", "Testing Exposure": "44.29%", "API Exposure": "4.25%", "Concurrency Exposure": "39.59%", @@ -355873,9 +355873,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3477.96, + "X": 3477.99, "Y": 154.08, - "Z": 3300.2 + "Z": 3300.17 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -355887,7 +355887,7 @@ "Total LOC": 2646, "Coding LOC": 1803, "Documentation LOC": 419, - "Structural Magnitude": 316.06, + "Structural Magnitude": 314.99, "Control Flow Ratio": "33.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -355897,9 +355897,9 @@ }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "57.79%", - "Error & Exception Exposure": "92.87%", - "Tech Debt Exposure": "83.45%", - "Testing Exposure": "2.47%", + "Error & Exception Exposure": "93.04%", + "Tech Debt Exposure": "76.89%", + "Testing Exposure": "2.46%", "API Exposure": "6.5%", "Concurrency Exposure": "100.0%", "State Flux Exposure": "100.0%", @@ -355951,6 +355951,16 @@ "Start Line": 2218, "End Line": 2256 }, + { + "Function Name": "finish", + "Structural Impact": 12.8, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 10, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 654, + "End Line": 689 + }, { "Function Name": "readWhile", "Structural Impact": 12.8, @@ -355981,16 +355991,6 @@ "Start Line": 2372, "End Line": 2393 }, - { - "Function Name": "finish", - "Structural Impact": 11.4, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 9, - "Input Parameters": 0, - "Control Flow Ratio": "60.0%", - "Start Line": 654, - "End Line": 682 - }, { "Function Name": "cancellableIterable", "Structural Impact": 11.3, @@ -356131,6 +356131,16 @@ "Start Line": 2042, "End Line": 2064 }, + { + "Function Name": "emitMany", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "57.1%", + "Start Line": 2376, + "End Line": 2393 + }, { "Function Name": "consume", "Structural Impact": 7.7, @@ -356211,16 +356221,6 @@ "Start Line": 1453, "End Line": 1460 }, - { - "Function Name": "reject", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 2027, - "End Line": 2040 - }, { "Function Name": "thenHandler", "Structural Impact": 6.3, @@ -356241,16 +356241,6 @@ "Start Line": 1615, "End Line": 1621 }, - { - "Function Name": "reject", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 2381, - "End Line": 2393 - }, { "Function Name": "_runWhenIdle", "Structural Impact": 6.2, @@ -356691,6 +356681,16 @@ "Start Line": 2602, "End Line": 2611 }, + { + "Function Name": "microtaskDeferred", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "16.7%", + "Start Line": 344, + "End Line": 354 + }, { "Function Name": "cancel", "Structural Impact": 3.4, @@ -356741,16 +356741,6 @@ "Start Line": 2284, "End Line": 2290 }, - { - "Function Name": "microtaskDeferred", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 344, - "End Line": 353 - }, { "Function Name": "queue", "Structural Impact": 3.3, @@ -356871,16 +356861,6 @@ "Start Line": 2326, "End Line": 2333 }, - { - "Function Name": "e", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 684, - "End Line": 689 - }, { "Function Name": "_errorFn", "Structural Impact": 3.1, @@ -356891,16 +356871,6 @@ "Start Line": 2238, "End Line": 2243 }, - { - "Function Name": "emitMany", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2376, - "End Line": 2380 - }, { "Function Name": "_finishError", "Structural Impact": 3.1, @@ -357174,12 +357144,12 @@ { "Function Name": "timeoutDeferred", "Structural Impact": 2.1, - "Lines of Code (LOC)": 7, + "Lines of Code (LOC)": 8, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", "Start Line": 329, - "End Line": 335 + "End Line": 336 }, { "Function Name": "isTriggered", @@ -357711,16 +357681,6 @@ "Start Line": 536, "End Line": 536 }, - { - "Function Name": "c", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 683, - "End Line": 683 - }, { "Function Name": "queue", "Structural Impact": 1.5, @@ -357761,26 +357721,6 @@ "Start Line": 1962, "End Line": 1962 }, - { - "Function Name": "emitOne", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2025, - "End Line": 2025 - }, - { - "Function Name": "emitMany", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2026, - "End Line": 2026 - }, { "Function Name": "filter", "Structural Impact": 1.5, @@ -357821,16 +357761,6 @@ "Start Line": 2229, "End Line": 2230 }, - { - "Function Name": "emitOne", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2375, - "End Line": 2375 - }, { "Function Name": "filter", "Structural Impact": 1.5, @@ -358061,26 +357991,6 @@ "Start Line": 326, "End Line": 326 }, - { - "Function Name": "isTriggered", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 336, - "End Line": 336 - }, - { - "Function Name": "isTriggered", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 354, - "End Line": 354 - }, { "Function Name": "dispose", "Structural Impact": 1.1, @@ -358411,16 +358321,6 @@ "Start Line": 2477, "End Line": 2479 }, - { - "Function Name": "next", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 2511, - "End Line": 2511 - }, { "Function Name": "Symbol.asyncIterator", "Structural Impact": 1.1, @@ -358447,14 +358347,14 @@ "Control Flow Branches": 288, "Sequential Logic Declarations": 586, "Function Parameters": 412, - "Function/Method Declarations": 257, + "Function/Method Declarations": 247, "Class/Entity Declarations": 47, "Defensive Programming Constructs": 258, "Type/Safety Bypasses": 36, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, "Exposed API / Public Exports": 129, - "State Mutations / Variable Reassignments": 1203, + "State Mutations / Variable Reassignments": 1211, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 76, "Unit Test Assertions": 0, @@ -358516,7 +358416,7 @@ "Design Upper Case": 3, "Design Short Vars": 8, "Design Long Vars": 0, - "Duplicate Logic": 4, + "Duplicate Logic": 2, "Orphaned Logic": 37, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, @@ -364901,9 +364801,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 4291.18, - "Y": 308.42, - "Z": 2982.53 + "X": 4291.05, + "Y": 308.39, + "Z": 2982.48 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -364915,18 +364815,18 @@ "Total LOC": 829, "Coding LOC": 676, "Documentation LOC": 49, - "Structural Magnitude": 34.78, + "Structural Magnitude": 34.27, "Control Flow Ratio": "41.9%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.442 + "Raw Cognitive Density": 0.432 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "11.28%", + "Cognitive Load Exposure": "10.94%", "Error & Exception Exposure": "58.91%", - "Tech Debt Exposure": "15.14%", + "Tech Debt Exposure": "8.12%", "Testing Exposure": "80.0%", "API Exposure": "3.27%", "Concurrency Exposure": "40.08%", @@ -364951,13 +364851,13 @@ }, { "Function Name": "task", - "Structural Impact": 61.6, - "Lines of Code (LOC)": 313, + "Structural Impact": 62.1, + "Lines of Code (LOC)": 322, "Control Flow Branches": 45, "Input Parameters": 0, - "Control Flow Ratio": "69.2%", + "Control Flow Ratio": "65.2%", "Start Line": 326, - "End Line": 638 + "End Line": 647 }, { "Function Name": "dashed", @@ -365019,16 +364919,6 @@ "Start Line": 649, "End Line": 683 }, - { - "Function Name": "skipTSBoilerplateRemoval", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 158, - "End Line": 163 - }, { "Function Name": "computeChecksums", "Structural Impact": 2.1, @@ -365048,26 +364938,6 @@ "Control Flow Ratio": "0.0%", "Start Line": 310, "End Line": 320 - }, - { - "Function Name": "productJsonFn", - "Structural Impact": 1.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 640, - "End Line": 647 - }, - { - "Function Name": "packageJsonFn", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 639, - "End Line": 639 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -365075,7 +364945,7 @@ "Control Flow Branches": 75, "Sequential Logic Declarations": 104, "Function Parameters": 64, - "Function/Method Declarations": 13, + "Function/Method Declarations": 10, "Class/Entity Declarations": 0, "Defensive Programming Constructs": 7, "Type/Safety Bypasses": 6, @@ -365145,7 +365015,7 @@ "Design Short Vars": 1, "Design Long Vars": 3, "Duplicate Logic": 0, - "Orphaned Logic": 3, + "Orphaned Logic": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -366869,9 +366739,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3514.51, - "Y": 207.59, - "Z": 3528.64 + "X": 3514.52, + "Y": 207.58, + "Z": 3528.61 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -366883,7 +366753,7 @@ "Total LOC": 975, "Coding LOC": 637, "Documentation LOC": 181, - "Structural Magnitude": 71.99, + "Structural Magnitude": 71.74, "Control Flow Ratio": "39.1%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -367317,16 +367187,6 @@ "Start Line": 432, "End Line": 440 }, - { - "Function Name": "dispose", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "20.0%", - "Start Line": 731, - "End Line": 740 - }, { "Function Name": "clearAndLeak", "Structural Impact": 2.4, @@ -367903,7 +367763,7 @@ "Control Flow Branches": 111, "Sequential Logic Declarations": 173, "Function Parameters": 147, - "Function/Method Declarations": 99, + "Function/Method Declarations": 98, "Class/Entity Declarations": 18, "Defensive Programming Constructs": 77, "Type/Safety Bypasses": 15, @@ -368026,9 +367886,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3750.8, - "Y": 133.58, - "Z": 2541.78 + "X": 3750.79, + "Y": 133.59, + "Z": 2541.84 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -368040,13 +367900,13 @@ "Total LOC": 21234, "Coding LOC": 3438, "Documentation LOC": 15519, - "Structural Magnitude": 217.08, + "Structural Magnitude": 215.82, "Control Flow Ratio": "36.7%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.341 + "Raw Cognitive Density": 0.342 }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "6.94%", @@ -368254,16 +368114,6 @@ "Start Line": 11544, "End Line": 11553 }, - { - "Function Name": "runHandler", - "Structural Impact": 6.9, - "Lines of Code (LOC)": 35, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "40.0%", - "Start Line": 18396, - "End Line": 18430 - }, { "Function Name": "update", "Structural Impact": 6.8, @@ -368384,16 +368234,6 @@ "Start Line": 20297, "End Line": 20297 }, - { - "Function Name": "executeHandler", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "33.3%", - "Start Line": 16113, - "End Line": 16148 - }, { "Function Name": "withProgress", "Structural Impact": 5.7, @@ -371375,14 +371215,14 @@ "End Line": 21161 }, { - "Function Name": "dispose", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 12, + "Function Name": "from", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1727, - "End Line": 1738 + "Start Line": 1723, + "End Line": 1728 }, { "Function Name": "lineAt", @@ -373300,7 +373140,7 @@ "Control Flow Branches": 809, "Sequential Logic Declarations": 1394, "Function Parameters": 647, - "Function/Method Declarations": 524, + "Function/Method Declarations": 521, "Class/Entity Declarations": 489, "Defensive Programming Constructs": 244, "Type/Safety Bypasses": 81, @@ -373370,7 +373210,7 @@ "Design Short Vars": 3, "Design Long Vars": 6, "Duplicate Logic": 56, - "Orphaned Logic": 275, + "Orphaned Logic": 274, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -391216,7 +391056,7 @@ } }, "typescript/playwright": { - "Directory Group Magnitude": 558.74, + "Directory Group Magnitude": 564.66, "File Count": 11, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "63.6%", @@ -391224,7 +391064,7 @@ }, "Average Risk Exposures": { "Cognitive Load Exposure": "44.71%", - "Error & Exception Exposure": "58.03%", + "Error & Exception Exposure": "58.04%", "Tech Debt Exposure": "31.61%", "Testing Exposure": "36.78%", "API Exposure": "3.11%", @@ -391234,7 +391074,7 @@ "Specification Exposure": "63.64%", "Instability Exposure": "31.82%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "15.83%", + "Documentation Exposure": "15.96%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -391251,9 +391091,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3386.7, - "Y": -338.19, - "Z": -4308.05 + "X": 3386.97, + "Y": -338.21, + "Z": -4308.3 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -391408,9 +391248,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3417.85, - "Y": -406.65, - "Z": -3802.64 + "X": 3418.13, + "Y": -406.69, + "Z": -3802.73 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -391565,9 +391405,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 2389.37, - "Y": -192.09, - "Z": -3713.53 + "X": 2389.31, + "Y": -192.07, + "Z": -3713.61 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -391722,9 +391562,9 @@ "Identity Proof": "Metadata Anchor (NOTICE)" }, "2. Topological Coordinates": { - "X": 3226.2, - "Y": -252.81, - "Z": -4458.82 + "X": 3226.39, + "Y": -252.8, + "Z": -4459.14 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -391879,9 +391719,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2775.14, - "Y": -272.96, - "Z": -3543.94 + "X": 2775.2, + "Y": -272.98, + "Z": -3543.91 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -392069,9 +391909,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2445.56, - "Y": -157.89, - "Z": -3985.49 + "X": 2445.49, + "Y": -157.85, + "Z": -3985.68 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -392417,9 +392257,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2996.07, - "Y": -180.5, - "Z": -4484.43 + "X": 2996.2, + "Y": -180.47, + "Z": -4484.79 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -392431,17 +392271,17 @@ "Total LOC": 353, "Coding LOC": 304, "Documentation LOC": 20, - "Structural Magnitude": 49.53, + "Structural Magnitude": 49.62, "Control Flow Ratio": "49.4%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 2.44 + "Raw Cognitive Density": 2.433 }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "96.6%", - "Error & Exception Exposure": "95.94%", + "Error & Exception Exposure": "96.08%", "Tech Debt Exposure": "8.82%", "Testing Exposure": "80.0%", "API Exposure": "3.4%", @@ -392644,16 +392484,6 @@ "Control Flow Ratio": "0.0%", "Start Line": 112, "End Line": 114 - }, - { - "Function Name": "isUnderTest", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 155, - "End Line": 157 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -392661,14 +392491,14 @@ "Control Flow Branches": 116, "Sequential Logic Declarations": 119, "Function Parameters": 30, - "Function/Method Declarations": 20, + "Function/Method Declarations": 19, "Class/Entity Declarations": 3, "Defensive Programming Constructs": 7, "Type/Safety Bypasses": 13, "High-Risk Execution Commands": 1, "I/O and Network Boundaries": 4, "Exposed API / Public Exports": 10, - "State Mutations / Variable Reassignments": 138, + "State Mutations / Variable Reassignments": 140, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 1, "Unit Test Assertions": 0, @@ -392809,8 +392639,8 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3145.31, - "Y": -329.16, + "X": 3145.54, + "Y": -329.2, "Z": -3623.29 }, "3. Architectural Profile": { @@ -393178,9 +393008,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2676.91, - "Y": -216.98, - "Z": -3890.66 + "X": 2676.88, + "Y": -216.96, + "Z": -3890.68 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -393671,9 +393501,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2880.96, + "X": 2881.07, "Y": -230.5, - "Z": -3925.04 + "Z": -3925.19 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -393685,13 +393515,13 @@ "Total LOC": 1823, "Coding LOC": 1533, "Documentation LOC": 91, - "Structural Magnitude": 363.25, + "Structural Magnitude": 369.08, "Control Flow Ratio": "46.8%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 3.8 + "Raw Cognitive Density": 3.79 }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "99.35%", @@ -393705,7 +393535,7 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "13.68%", + "Documentation Exposure": "15.13%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -393729,6 +393559,16 @@ "Start Line": 1473, "End Line": 1515 }, + { + "Function Name": "_retryWithProgressIfNotConnected", + "Structural Impact": 63.3, + "Lines of Code (LOC)": 59, + "Control Flow Branches": 26, + "Input Parameters": 4, + "Control Flow Ratio": "60.5%", + "Start Line": 1132, + "End Line": 1190 + }, { "Function Name": "waitForFunctionExpression", "Structural Impact": 58.9, @@ -395275,7 +395115,7 @@ "Control Flow Branches": 454, "Sequential Logic Declarations": 516, "Function Parameters": 0, - "Function/Method Declarations": 158, + "Function/Method Declarations": 157, "Class/Entity Declarations": 4, "Defensive Programming Constructs": 78, "Type/Safety Bypasses": 64, @@ -395286,7 +395126,7 @@ "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 1, "Unit Test Assertions": 6, - "Asynchronous/Concurrent Execution": 1407, + "Asynchronous/Concurrent Execution": 1402, "UI / View Layer Components": 14, "Closures and Anonymous Functions": 73, "Global State Dependencies": 18, @@ -395412,9 +395252,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 2675.77, - "Y": -153.16, - "Z": -4672.27 + "X": 2675.8, + "Y": -153.12, + "Z": -4672.59 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -402720,9 +402560,9 @@ "Identity Proof": "Metadata Anchor (COPYING)" }, "2. Topological Coordinates": { - "X": 4380.39, + "X": 4380.67, "Y": 211.04, - "Z": -4664.04 + "Z": -4664.34 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -402877,9 +402717,9 @@ "Identity Proof": "Metadata Anchor (configure.ac)" }, "2. Topological Coordinates": { - "X": 4621.93, + "X": 4622.2, "Y": 251.14, - "Z": -5082.52 + "Z": -5082.81 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -409254,25 +409094,25 @@ } }, "typescript/fp-ts": { - "Directory Group Magnitude": 146.45, + "Directory Group Magnitude": 156.98, "File Count": 5, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "80.0%", "Static: Literature & Documentation": "20.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "3.16%", + "Cognitive Load Exposure": "3.13%", "Error & Exception Exposure": "43.91%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "48.46%", - "API Exposure": "10.47%", + "API Exposure": "10.48%", "Concurrency Exposure": "4.28%", "State Flux Exposure": "0.0%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "80.0%", "Instability Exposure": "40.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "45.62%", + "Documentation Exposure": "46.37%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -409289,9 +409129,9 @@ "Identity Proof": "Single Indicator (Exact Match)" }, "2. Topological Coordinates": { - "X": -1529.98, - "Y": 181.52, - "Z": -4306.71 + "X": -1530.89, + "Y": 181.53, + "Z": -4307.55 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -409447,9 +409287,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": -1286.94, - "Y": 268.3, - "Z": -3995.38 + "X": -1288.05, + "Y": 268.57, + "Z": -3995.27 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -409461,7 +409301,7 @@ "Total LOC": 1854, "Coding LOC": 608, "Documentation LOC": 1110, - "Structural Magnitude": 38.69, + "Structural Magnitude": 40.98, "Control Flow Ratio": "11.6%", "Popularity Rank": 3, "Raw Churn Frequency": 0.0, @@ -409487,13 +409327,13 @@ "5. Function Analysis": [ { "Function Name": "getOrElseW", - "Structural Impact": 11.2, - "Lines of Code (LOC)": 168, + "Structural Impact": 16.6, + "Lines of Code (LOC)": 276, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "2.1%", + "Control Flow Ratio": "1.1%", "Start Line": 1050, - "End Line": 1217 + "End Line": 1325 }, { "Function Name": "extend", @@ -409505,6 +409345,16 @@ "Start Line": 839, "End Line": 985 }, + { + "Function Name": "exists", + "Structural Impact": 9.9, + "Lines of Code (LOC)": 85, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "13.0%", + "Start Line": 1497, + "End Line": 1581 + }, { "Function Name": "equals", "Structural Impact": 9.8, @@ -409675,6 +409525,16 @@ "Start Line": 1393, "End Line": 1407 }, + { + "Function Name": "traverseArray", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 90, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1628, + "End Line": 1717 + }, { "Function Name": "concat", "Structural Impact": 5.7, @@ -409705,16 +409565,6 @@ "Start Line": 470, "End Line": 523 }, - { - "Function Name": "exists", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 45, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "11.1%", - "Start Line": 1497, - "End Line": 1541 - }, { "Function Name": "separate", "Structural Impact": 5.0, @@ -409755,6 +409605,16 @@ "Start Line": 740, "End Line": 750 }, + { + "Function Name": "traverseReadonlyArrayWithIndex", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "9.1%", + "Start Line": 1605, + "End Line": 1628 + }, { "Function Name": "getWitherable", "Structural Impact": 3.9, @@ -409815,6 +409675,16 @@ "Start Line": 1822, "End Line": 1853 }, + { + "Function Name": "f", + "Structural Impact": 2.8, + "Lines of Code (LOC)": 28, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1409, + "End Line": 1436 + }, { "Function Name": "chainNullableK", "Structural Impact": 2.6, @@ -410031,7 +409901,7 @@ "Control Flow Branches": 61, "Sequential Logic Declarations": 463, "Function Parameters": 220, - "Function/Method Declarations": 72, + "Function/Method Declarations": 62, "Class/Entity Declarations": 6, "Defensive Programming Constructs": 29, "Type/Safety Bypasses": 11, @@ -410185,9 +410055,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": -800.05, - "Y": 226.69, - "Z": -3854.08 + "X": -799.78, + "Y": 226.81, + "Z": -3854.22 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -410343,9 +410213,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": -1053.05, - "Y": 63.92, - "Z": -4413.69 + "X": -1053.11, + "Y": 63.52, + "Z": -4415.89 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -410357,40 +410227,30 @@ "Total LOC": 1882, "Coding LOC": 662, "Documentation LOC": 1053, - "Structural Magnitude": 27.71, + "Structural Magnitude": 30.25, "Control Flow Ratio": "2.5%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.138 + "Raw Cognitive Density": 0.129 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "3.98%", + "Cognitive Load Exposure": "3.85%", "Error & Exception Exposure": "33.76%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "13.31%", + "API Exposure": "13.34%", "Concurrency Exposure": "21.39%", "State Flux Exposure": "0.0%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "42.04%", + "Documentation Exposure": "44.93%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ - { - "Function Name": "partitionMap", - "Structural Impact": 22.1, - "Lines of Code (LOC)": 408, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 761, - "End Line": 1168 - }, { "Function Name": "_alt", "Structural Impact": 14.8, @@ -410401,6 +410261,46 @@ "Start Line": 436, "End Line": 696 }, + { + "Function Name": "bracketW", + "Structural Impact": 10.4, + "Lines of Code (LOC)": 87, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "7.4%", + "Start Line": 1514, + "End Line": 1600 + }, + { + "Function Name": "traverseSeqArray", + "Structural Impact": 9.0, + "Lines of Code (LOC)": 151, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1702, + "End Line": 1852 + }, + { + "Function Name": "tryCatchK", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 101, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 265, + "End Line": 365 + }, + { + "Function Name": "fromTaskOption", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 99, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 151, + "End Line": 249 + }, { "Function Name": "traverseReadonlyNonEmptyArrayWithIndexSeq", "Structural Impact": 5.6, @@ -410411,16 +410311,6 @@ "Start Line": 1624, "End Line": 1650 }, - { - "Function Name": "bracketW", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 47, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 1514, - "End Line": 1560 - }, { "Function Name": "cbResolver", "Structural Impact": 4.2, @@ -410431,6 +410321,76 @@ "Start Line": 1487, "End Line": 1501 }, + { + "Function Name": "traverseReadonlyArrayWithIndexSeq", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "9.1%", + "Start Line": 1650, + "End Line": 1673 + }, + { + "Function Name": "traverseReadonlyArrayWithIndex", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "14.3%", + "Start Line": 1611, + "End Line": 1624 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1467, + "End Line": 1470 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1470, + "End Line": 1473 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1473, + "End Line": 1476 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1476, + "End Line": 1479 + }, + { + "Function Name": "taskify", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1479, + "End Line": 1482 + }, { "Function Name": "taskify", "Structural Impact": 2.9, @@ -410442,14 +410402,24 @@ "End Line": 1467 }, { - "Function Name": "fromTaskOption", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 28, + "Function Name": "traverseArray", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 30, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 151, - "End Line": 178 + "Start Line": 1673, + "End Line": 1702 + }, + { + "Function Name": "bracket", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 1501, + "End Line": 1514 }, { "Function Name": "orElseFirstTaskK", @@ -410471,16 +410441,6 @@ "Start Line": 408, "End Line": 428 }, - { - "Function Name": "ap", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 702, - "End Line": 716 - }, { "Function Name": "getFilterable", "Structural Impact": 2.4, @@ -410521,16 +410481,6 @@ "Start Line": 696, "End Line": 705 }, - { - "Function Name": "alt", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 722, - "End Line": 730 - }, { "Function Name": "getCompactable", "Structural Impact": 2.2, @@ -410541,6 +410491,16 @@ "Start Line": 730, "End Line": 744 }, + { + "Function Name": "traverseReadonlyNonEmptyArrayWithIndex", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1600, + "End Line": 1611 + }, { "Function Name": "getSemigroup", "Structural Impact": 2.0, @@ -410602,37 +410562,7 @@ "End Line": 434 }, { - "Function Name": "filter", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 758, - "End Line": 758 - }, - { - "Function Name": "filterMap", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 759, - "End Line": 759 - }, - { - "Function Name": "partition", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 760, - "End Line": 760 - }, - { - "Function Name": "a", + "Function Name": "f", "Structural Impact": 1.7, "Lines of Code (LOC)": 5, "Control Flow Branches": 0, @@ -410657,13 +410587,13 @@ "Control Flow Branches": 15, "Sequential Logic Declarations": 590, "Function Parameters": 267, - "Function/Method Declarations": 78, + "Function/Method Declarations": 35, "Class/Entity Declarations": 3, "Defensive Programming Constructs": 49, "Type/Safety Bypasses": 16, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 155, + "Exposed API / Public Exports": 157, "State Mutations / Variable Reassignments": 5, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 158, @@ -410813,9 +410743,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": -1056.74, + "X": -1056.92, "Y": 177.34, - "Z": -4311.01 + "Z": -4311.72 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -410827,7 +410757,7 @@ "Total LOC": 2612, "Coding LOC": 1772, "Documentation LOC": 701, - "Structural Magnitude": 75.38, + "Structural Magnitude": 81.08, "Control Flow Ratio": "5.4%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -410847,10 +410777,20 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "90.42%", + "Documentation Exposure": "91.28%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ + { + "Function Name": "compose", + "Structural Impact": 67.1, + "Lines of Code (LOC)": 1313, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 979, + "End Line": 2291 + }, { "Function Name": "pipeable", "Structural Impact": 33.9, @@ -410861,16 +410801,6 @@ "Start Line": 2520, "End Line": 2603 }, - { - "Function Name": "compose", - "Structural Impact": 18.6, - "Lines of Code (LOC)": 344, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 979, - "End Line": 1322 - }, { "Function Name": "predicate", "Structural Impact": 5.3, @@ -411331,6 +411261,26 @@ "Start Line": 676, "End Line": 681 }, + { + "Function Name": "partitionMap", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 698, + "End Line": 703 + }, + { + "Function Name": "partitionMap", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 703, + "End Line": 708 + }, { "Function Name": "filterWithIndex", "Structural Impact": 1.7, @@ -411411,6 +411361,36 @@ "Start Line": 876, "End Line": 881 }, + { + "Function Name": "partitionMapWithIndex", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 894, + "End Line": 899 + }, + { + "Function Name": "partitionMapWithIndex", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 899, + "End Line": 904 + }, + { + "Function Name": "partitionMapWithIndex", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 904, + "End Line": 909 + }, { "Function Name": "map", "Structural Impact": 1.6, @@ -412967,7 +412947,7 @@ "Control Flow Branches": 128, "Sequential Logic Declarations": 2243, "Function Parameters": 1142, - "Function/Method Declarations": 250, + "Function/Method Declarations": 224, "Class/Entity Declarations": 108, "Defensive Programming Constructs": 20, "Type/Safety Bypasses": 17, @@ -427595,9 +427575,9 @@ "Identity Proof": "Metadata Anchor (COPYING)" }, "2. Topological Coordinates": { - "X": 3047.25, + "X": 3047.47, "Y": 219.52, - "Z": -5820.4 + "Z": -5820.83 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -427776,9 +427756,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3529.01, + "X": 3529.27, "Y": 77.93, - "Z": -5538.65 + "Z": -5539.04 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -427933,9 +427913,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3730.47, + "X": 3730.73, "Y": 117.24, - "Z": -5563.36 + "Z": -5563.75 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -428090,9 +428070,9 @@ "Identity Proof": "Prose Extension (.md)" }, "2. Topological Coordinates": { - "X": 3674.28, + "X": 3674.54, "Y": 156.7, - "Z": -5866.67 + "Z": -5867.06 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -428814,9 +428794,9 @@ "Identity Proof": "Metadata Anchor (pom.xml)" }, "2. Topological Coordinates": { - "X": 4067.53, + "X": 4067.78, "Y": -44.32, - "Z": -5403.22 + "Z": -5403.56 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -429177,9 +429157,9 @@ "Identity Proof": "Metadata Anchor (COPYING)" }, "2. Topological Coordinates": { - "X": -967.16, + "X": -967.48, "Y": 146.31, - "Z": -4847.81 + "Z": -4849.49 }, "3. Architectural Profile": { "Repository Archetype": "Static: Literature & Documentation", @@ -429334,9 +429314,9 @@ "Identity Proof": "Single Indicator (Ext: .sql)" }, "2. Topological Coordinates": { - "X": -1179.2, + "X": -1179.52, "Y": 104.96, - "Z": -4822.61 + "Z": -4824.3 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", diff --git a/tests/tree_sitter_accuracy_baseline_fortran.json b/tests/tree_sitter_accuracy_baseline_fortran.json index 68b22eee2..b91636601 100644 --- a/tests/tree_sitter_accuracy_baseline_fortran.json +++ b/tests/tree_sitter_accuracy_baseline_fortran.json @@ -3,7 +3,7 @@ "args_exact_match": 120, "corpus_path": "language-crucible/data/fortran", "extra_classes": 0, - "extra_functions": 11, + "extra_functions": 0, "files_scanned": 6, "found_classes": 11, "found_functions": 121, diff --git a/tests/tree_sitter_accuracy_baseline_javascript.json b/tests/tree_sitter_accuracy_baseline_javascript.json index 21278c17f..f46645c40 100644 --- a/tests/tree_sitter_accuracy_baseline_javascript.json +++ b/tests/tree_sitter_accuracy_baseline_javascript.json @@ -1,12 +1,12 @@ { - "args_comparable": 599, - "args_exact_match": 550, + "args_comparable": 600, + "args_exact_match": 555, "corpus_path": "language-crucible/data/javascript", "extra_classes": 0, "extra_functions": 10, "files_scanned": 18, "found_classes": 29, - "found_functions": 599, + "found_functions": 600, "real_classes": 29, "real_functions": 620 } diff --git a/tests/tree_sitter_accuracy_baseline_matlab.json b/tests/tree_sitter_accuracy_baseline_matlab.json index 2973705f4..1a3910ed3 100644 --- a/tests/tree_sitter_accuracy_baseline_matlab.json +++ b/tests/tree_sitter_accuracy_baseline_matlab.json @@ -3,7 +3,7 @@ "args_exact_match": 22, "corpus_path": "language-crucible/data/matlab", "extra_classes": 0, - "extra_functions": 1, + "extra_functions": 0, "files_scanned": 6, "found_classes": 0, "found_functions": 23, diff --git a/tests/tree_sitter_accuracy_baseline_rust.json b/tests/tree_sitter_accuracy_baseline_rust.json index d900b2184..67802a56b 100644 --- a/tests/tree_sitter_accuracy_baseline_rust.json +++ b/tests/tree_sitter_accuracy_baseline_rust.json @@ -2,8 +2,8 @@ "args_comparable": 1771, "args_exact_match": 1730, "corpus_path": "language-crucible/data/rust", - "extra_classes": 25, - "extra_functions": 152, + "extra_classes": 0, + "extra_functions": 0, "files_scanned": 43, "found_classes": 245, "found_functions": 1771, diff --git a/tests/tree_sitter_accuracy_baseline_typescript.json b/tests/tree_sitter_accuracy_baseline_typescript.json index 6e78cc751..0e99ab02d 100644 --- a/tests/tree_sitter_accuracy_baseline_typescript.json +++ b/tests/tree_sitter_accuracy_baseline_typescript.json @@ -1,12 +1,12 @@ { - "args_comparable": 2187, - "args_exact_match": 2056, + "args_comparable": 2696, + "args_exact_match": 2696, "corpus_path": "language-crucible/data/typescript", "extra_classes": 0, - "extra_functions": 22, + "extra_functions": 21, "files_scanned": 23, "found_classes": 842, - "found_functions": 2187, + "found_functions": 2696, "real_classes": 842, "real_functions": 2914 }