diff --git a/gitgalaxy/standards/language_standards.py b/gitgalaxy/standards/language_standards.py index dc139a451..4cc49cd19 100644 --- a/gitgalaxy/standards/language_standards.py +++ b/gitgalaxy/standards/language_standards.py @@ -63,7 +63,7 @@ | Solidity | 100.0% | 94.3% | 100.0% | 100.0% | | Swift | 100.0% | 99.2% | 100.0% | 100.0% | | Tcl | 98.6% | 99.3% | N/A | N/A | -| Typescript | 99.6% | 99.5% | 100.0% | 100.0% | +| Typescript | 99.6% | 99.9% | 100.0% | 100.0% | | Zig | 100.0% | 100.0% | 100.0% | 100.0% | """ @@ -1352,14 +1352,26 @@ class PrismConfigSchema(TypedDict): # public/private/etc. modifier to route them through Branch A # instead. Same zero-whitespace-before-`?` placement, same # ternary-collision reasoning. + # BUG FIX (issue #2279): Split the zero-prefix branch to safely + # allow bodyless constructors. If we make the return type + # optional for ALL identifiers here, it falsely matches bare + # function calls (like `next();`) because they also end in + # `;`. By strictly requiring `constructor` for the + # optional-return-type case, we match ambient + # `constructor(x: number);` without breaking function calls. + r"(?:^[ \t]*|(?<=[,{])[ \t\n]*)(\bconstructor\b)(?=\??[ \t\n]{0,50}(?:<(?:[^<>]|<[^<>]*>)*>)?[ \t\n]{0,50}\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)[ \t\n]{0,50}(?:(?::[^{;]{0,200})?[ \t\n]{0,50}(?:=>[ \t\n]{0,50})?\{|[ \t\n]{0,50};))" + r"|" # BUG FIX (issue #2276): same conditional-exclusion fix as # Branch A above, mirrored here since this branch carries # its own copy of the same reserved-keyword shield -- see # that branch's comment for the full rationale. Combined - # with #2277's widened anchor (below) during that PR's - # merge conflict with #2276 -- both changes apply to the - # same branch, independently of each other. - r"(?:^[ \t]*|(?<=[,{])[ \t\n]*)(?!(?:class|interface|enum|if|for|while|switch|new|typeof|jQuery|function|yield|await|void)\b|type\b(?![ \t\n]*\()|\$|(?:catch|return|throw)\b[ \t\n]+(?:\(|<))(\[[^\]]+\]|[#]?[a-zA-Z_$][\w$]*)(?=\??[ \t\n]{0,50}(?:<(?:[^<>]|<[^<>]*>)*>)?[ \t\n]{0,50}\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)[ \t\n]{0,50}(?:(?::[^{;]{0,200})?[ \t\n]{0,50}(?:=>[ \t\n]{0,50})?\{|:[^{;]{0,200}[ \t\n]{0,50};))" + # with #2277's widened anchor and #2279's `constructor` + # split (above) during merge conflicts between all three -- + # every change applies to the same branch, independently of + # the others, so `constructor` is added to this branch's own + # exclusion list (it's handled by its own alternative above) + # alongside the catch/return/throw conditional exclusion. + r"(?:^[ \t]*|(?<=[,{])[ \t\n]*)(?!(?:class|interface|enum|if|for|while|switch|new|typeof|jQuery|function|yield|await|void|constructor)\b|type\b(?![ \t\n]*\()|\$|(?:catch|return|throw)\b[ \t\n]+(?:\(|<))(\[[^\]]+\]|[#]?[a-zA-Z_$][\w$]*)(?=\??[ \t\n]{0,50}(?:<(?:[^<>]|<[^<>]*>)*>)?[ \t\n]{0,50}\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)[ \t\n]{0,50}(?:(?::[^{;]{0,200})?[ \t\n]{0,50}(?:=>[ \t\n]{0,50})?\{|:[^{;]{0,200}[ \t\n]{0,50};))" r")", re.M, ), diff --git a/tests/golden_master_audit.json b/tests/golden_master_audit.json index 533d5eaf3..3025656ef 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-26T20:34:19.351498+00:00", - "Total Scan Duration": "34.16 seconds" + "Analysis ISO Timestamp": "2026-08-26T20:40:56.520117+00:00", + "Total Scan Duration": "33.89 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -196,7 +196,7 @@ } }, "health": { - "avg_cognitive_load": 24.704, + "avg_cognitive_load": 24.703, "avg_safety_score": 38.656, "avg_tech_debt": 25.019, "avg_documentation": 21.568 @@ -360,7 +360,7 @@ "typescript": { "files": 24, "loc": 36020, - "impact": 4300.470000000001 + "impact": 4338.330000000001 }, "kotlin": { "files": 5, @@ -1781,9 +1781,9 @@ }, "typescript/vscode": { "file_count": 11, - "total_mass": 1434.37, + "total_mass": 1472.23, "avg_exposures": { - "cognitive_load": 36.07, + "cognitive_load": 36.06, "safety_score": 59.85, "tech_debt": 46.65, "verification": 44.3, @@ -358586,14 +358586,14 @@ } }, "typescript/vscode": { - "Directory Group Magnitude": 1434.37, + "Directory Group Magnitude": 1472.23, "File Count": 11, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "81.8%", "Static: Literature & Documentation": "18.2%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "36.07%", + "Cognitive Load Exposure": "36.06%", "Error & Exception Exposure": "59.85%", "Tech Debt Exposure": "46.65%", "Testing Exposure": "44.3%", @@ -359102,9 +359102,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3477.85, + "X": 3477.84, "Y": 154.07, - "Z": 3300.3 + "Z": 3300.31 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -359116,7 +359116,7 @@ "Total LOC": 2646, "Coding LOC": 1803, "Documentation LOC": 419, - "Structural Magnitude": 320.1, + "Structural Magnitude": 320.39, "Control Flow Ratio": "33.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -360640,6 +360640,16 @@ "Start Line": 537, "End Line": 537 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1020, + "End Line": 1020 + }, { "Function Name": "scheduleThrottler", "Structural Impact": 1.8, @@ -361420,6 +361430,16 @@ "Start Line": 791, "End Line": 793 }, + { + "Function Name": "constructor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 1019, + "End Line": 1019 + }, { "Function Name": "delay", "Structural Impact": 1.1, @@ -361686,7 +361706,7 @@ "Control Flow Branches": 288, "Sequential Logic Declarations": 586, "Function Parameters": 412, - "Function/Method Declarations": 257, + "Function/Method Declarations": 259, "Class/Entity Declarations": 47, "Defensive Programming Constructs": 258, "Type/Safety Bypasses": 36, @@ -371315,9 +371335,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3750.83, - "Y": 133.54, - "Z": 2541.44 + "X": 3751.01, + "Y": 133.34, + "Z": 2539.7 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -371329,16 +371349,16 @@ "Total LOC": 21234, "Coding LOC": 3438, "Documentation LOC": 15519, - "Structural Magnitude": 223.74, + "Structural Magnitude": 261.31, "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.337 + "Raw Cognitive Density": 0.335 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "6.83%", + "Cognitive Load Exposure": "6.78%", "Error & Exception Exposure": "8.65%", "Tech Debt Exposure": "100.0%", "Testing Exposure": "80.0%", @@ -371363,6 +371383,16 @@ "Start Line": 6862, "End Line": 6914 }, + { + "Function Name": "constructor", + "Structural Impact": 14.7, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 5, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 18636, + "End Line": 18636 + }, { "Function Name": "createFile", "Structural Impact": 12.8, @@ -371373,6 +371403,26 @@ "Start Line": 4064, "End Line": 4080 }, + { + "Function Name": "constructor", + "Structural Impact": 12.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 4, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 17119, + "End Line": 17119 + }, + { + "Function Name": "constructor", + "Structural Impact": 12.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 4, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 17134, + "End Line": 17134 + }, { "Function Name": "renameFile", "Structural Impact": 11.7, @@ -371413,6 +371463,26 @@ "Start Line": 4088, "End Line": 4097 }, + { + "Function Name": "constructor", + "Structural Impact": 10.1, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 3, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 19049, + "End Line": 19055 + }, + { + "Function Name": "constructor", + "Structural Impact": 9.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 3, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 20462, + "End Line": 20462 + }, { "Function Name": "with", "Structural Impact": 9.6, @@ -371503,6 +371573,16 @@ "Start Line": 1510, "End Line": 1531 }, + { + "Function Name": "constructor", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 8278, + "End Line": 8278 + }, { "Function Name": "createTerminal", "Structural Impact": 8.1, @@ -371513,6 +371593,16 @@ "Start Line": 11662, "End Line": 11662 }, + { + "Function Name": "constructor", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 6, + "Control Flow Ratio": "100.0%", + "Start Line": 9126, + "End Line": 9126 + }, { "Function Name": "openTextDocument", "Structural Impact": 8.0, @@ -371523,6 +371613,26 @@ "Start Line": 14233, "End Line": 14250 }, + { + "Function Name": "constructor", + "Structural Impact": 7.4, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 3576, + "End Line": 3576 + }, + { + "Function Name": "constructor", + "Structural Impact": 7.4, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 9155, + "End Line": 9155 + }, { "Function Name": "delete", "Structural Impact": 7.4, @@ -371553,6 +371663,16 @@ "Start Line": 6945, "End Line": 6945 }, + { + "Function Name": "constructor", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 4, + "Control Flow Ratio": "100.0%", + "Start Line": 20497, + "End Line": 20497 + }, { "Function Name": "rename", "Structural Impact": 6.3, @@ -371593,6 +371713,36 @@ "Start Line": 14201, "End Line": 14223 }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 3256, + "End Line": 3256 + }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 5361, + "End Line": 5361 + }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 6244, + "End Line": 6244 + }, { "Function Name": "showTextDocument", "Structural Impact": 6.0, @@ -371633,6 +371783,16 @@ "Start Line": 11638, "End Line": 11638 }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 16843, + "End Line": 16843 + }, { "Function Name": "createTestRun", "Structural Impact": 6.0, @@ -371653,6 +371813,26 @@ "Start Line": 18718, "End Line": 18718 }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 18899, + "End Line": 18899 + }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 19119, + "End Line": 19119 + }, { "Function Name": "sendRequest", "Structural Impact": 6.0, @@ -371703,6 +371883,26 @@ "Start Line": 494, "End Line": 494 }, + { + "Function Name": "constructor", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3071, + "End Line": 3071 + }, + { + "Function Name": "constructor", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 5135, + "End Line": 5135 + }, { "Function Name": "show", "Structural Impact": 5.2, @@ -371883,6 +372083,76 @@ "Start Line": 4303, "End Line": 4303 }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 4389, + "End Line": 4389 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 5693, + "End Line": 5693 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 5766, + "End Line": 5766 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 7157, + "End Line": 7157 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 8213, + "End Line": 8213 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 8903, + "End Line": 8903 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 9058, + "End Line": 9058 + }, { "Function Name": "registerCommand", "Structural Impact": 4.0, @@ -372063,6 +372333,26 @@ "Start Line": 18698, "End Line": 18698 }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 19088, + "End Line": 19088 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 20181, + "End Line": 20181 + }, { "Function Name": "invokeTool", "Structural Impact": 4.0, @@ -372093,6 +372383,16 @@ "Start Line": 242, "End Line": 242 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 966, + "End Line": 966 + }, { "Function Name": "revealRange", "Structural Impact": 3.5, @@ -372113,6 +372413,26 @@ "Start Line": 1454, "End Line": 1454 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 2729, + "End Line": 2729 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 2868, + "End Line": 2868 + }, { "Function Name": "appendCodeblock", "Structural Impact": 3.5, @@ -372123,6 +372443,46 @@ "Start Line": 3090, "End Line": 3090 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3137, + "End Line": 3137 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3185, + "End Line": 3185 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3280, + "End Line": 3280 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3381, + "End Line": 3381 + }, { "Function Name": "appendPlaceholder", "Structural Impact": 3.5, @@ -372143,6 +372503,96 @@ "Start Line": 4191, "End Line": 4191 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4269, + "End Line": 4269 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4335, + "End Line": 4335 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4361, + "End Line": 4361 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4645, + "End Line": 4645 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4685, + "End Line": 4685 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 5109, + "End Line": 5109 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 5395, + "End Line": 5395 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 5839, + "End Line": 5839 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 6106, + "End Line": 6106 + }, { "Function Name": "forEach", "Structural Impact": 3.5, @@ -372163,6 +372613,26 @@ "Start Line": 7728, "End Line": 7728 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 8886, + "End Line": 8886 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 9039, + "End Line": 9039 + }, { "Function Name": "createTelemetryLogger", "Structural Impact": 3.5, @@ -372223,6 +372693,26 @@ "Start Line": 12040, "End Line": 12040 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 12401, + "End Line": 12401 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 12407, + "End Line": 12407 + }, { "Function Name": "forEach", "Structural Impact": 3.5, @@ -372313,6 +372803,16 @@ "Start Line": 15790, "End Line": 15790 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 15875, + "End Line": 15875 + }, { "Function Name": "end", "Structural Impact": 3.5, @@ -372353,6 +372853,16 @@ "Start Line": 16762, "End Line": 16762 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 16909, + "End Line": 16909 + }, { "Function Name": "asDebugSourceUri", "Structural Impact": 3.5, @@ -372473,6 +372983,26 @@ "Start Line": 19959, "End Line": 19959 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 20042, + "End Line": 20042 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 20080, + "End Line": 20080 + }, { "Function Name": "User", "Structural Impact": 3.5, @@ -372593,6 +373123,16 @@ "Start Line": 1641, "End Line": 1641 }, + { + "Function Name": "constructor", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 4149, + "End Line": 4149 + }, { "Function Name": "appendTabstop", "Structural Impact": 2.9, @@ -372603,6 +373143,16 @@ "Start Line": 4168, "End Line": 4168 }, + { + "Function Name": "constructor", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 4276, + "End Line": 4276 + }, { "Function Name": "build", "Structural Impact": 2.9, @@ -372703,6 +373253,16 @@ "Start Line": 9533, "End Line": 9533 }, + { + "Function Name": "constructor", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 9540, + "End Line": 9540 + }, { "Function Name": "show", "Structural Impact": 2.9, @@ -372873,6 +373433,26 @@ "Start Line": 20764, "End Line": 20764 }, + { + "Function Name": "constructor", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 6, + "Control Flow Ratio": "0.0%", + "Start Line": 5906, + "End Line": 5906 + }, + { + "Function Name": "constructor", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 6, + "Control Flow Ratio": "0.0%", + "Start Line": 6056, + "End Line": 6056 + }, { "Function Name": "constructor", "Structural Impact": 2.5, @@ -372883,6 +373463,16 @@ "Start Line": 1536, "End Line": 1536 }, + { + "Function Name": "constructor", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 5, + "Control Flow Ratio": "0.0%", + "Start Line": 3631, + "End Line": 3631 + }, { "Function Name": "prepareRename", "Structural Impact": 2.5, @@ -372943,6 +373533,26 @@ "Start Line": 20706, "End Line": 20706 }, + { + "Function Name": "constructor", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 438, + "End Line": 438 + }, + { + "Function Name": "constructor", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 548, + "End Line": 548 + }, { "Function Name": "provideCodeActions", "Structural Impact": 2.3, @@ -372963,6 +373573,16 @@ "Start Line": 3334, "End Line": 3334 }, + { + "Function Name": "constructor", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 3563, + "End Line": 3563 + }, { "Function Name": "provideReferences", "Structural Impact": 2.3, @@ -373023,6 +373643,16 @@ "Start Line": 5233, "End Line": 5233 }, + { + "Function Name": "constructor", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 5460, + "End Line": 5460 + }, { "Function Name": "provideDocumentDropEdits", "Structural Impact": 2.3, @@ -373403,6 +374033,16 @@ "Start Line": 6397, "End Line": 6397 }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 6441, + "End Line": 6441 + }, { "Function Name": "delete", "Structural Impact": 2.0, @@ -373653,6 +374293,16 @@ "Start Line": 15286, "End Line": 15286 }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 15922, + "End Line": 15922 + }, { "Function Name": "provideOriginalResource", "Structural Impact": 2.0, @@ -373773,6 +374423,26 @@ "Start Line": 18969, "End Line": 18969 }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 19150, + "End Line": 19150 + }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 19271, + "End Line": 19271 + }, { "Function Name": "flush", "Structural Impact": 2.0, @@ -373823,6 +374493,16 @@ "Start Line": 20715, "End Line": 20715 }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 20934, + "End Line": 20934 + }, { "Function Name": "prepareInvocation", "Structural Impact": 2.0, @@ -373833,6 +374513,36 @@ "Start Line": 21171, "End Line": 21171 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 287, + "End Line": 287 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 427, + "End Line": 427 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 538, + "End Line": 538 + }, { "Function Name": "setDecorations", "Structural Impact": 1.8, @@ -373883,6 +374593,16 @@ "Start Line": 1871, "End Line": 1871 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2342, + "End Line": 2342 + }, { "Function Name": "provideCodeLenses", "Structural Impact": 1.8, @@ -373893,6 +374613,16 @@ "Start Line": 2892, "End Line": 2892 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3227, + "End Line": 3227 + }, { "Function Name": "provideDocumentSymbols", "Structural Impact": 1.8, @@ -373933,6 +374663,16 @@ "Start Line": 3755, "End Line": 3755 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3797, + "End Line": 3797 + }, { "Function Name": "replace", "Structural Impact": 1.8, @@ -373953,6 +374693,16 @@ "Start Line": 3827, "End Line": 3827 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3850, + "End Line": 3850 + }, { "Function Name": "replaceCells", "Structural Impact": 1.8, @@ -373983,6 +374733,16 @@ "Start Line": 3887, "End Line": 3887 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3922, + "End Line": 3922 + }, { "Function Name": "set", "Structural Impact": 1.8, @@ -374053,6 +374813,16 @@ "Start Line": 5402, "End Line": 5402 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5484, + "End Line": 5484 + }, { "Function Name": "provideDocumentColors", "Structural Impact": 1.8, @@ -374063,6 +374833,26 @@ "Start Line": 5529, "End Line": 5529 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5931, + "End Line": 5931 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5957, + "End Line": 5957 + }, { "Function Name": "provideCallHierarchyIncomingCalls", "Structural Impact": 1.8, @@ -374113,6 +374903,26 @@ "Start Line": 6838, "End Line": 6838 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 6975, + "End Line": 6975 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 7068, + "End Line": 7068 + }, { "Function Name": "set", "Structural Impact": 1.8, @@ -374733,6 +375543,26 @@ "Start Line": 15296, "End Line": 15296 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 15741, + "End Line": 15741 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 15839, + "End Line": 15839 + }, { "Function Name": "deserializeNotebook", "Structural Impact": 1.8, @@ -374783,6 +375613,16 @@ "Start Line": 16257, "End Line": 16257 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 16320, + "End Line": 16320 + }, { "Function Name": "provideCellStatusBarItems", "Structural Impact": 1.8, @@ -374923,6 +375763,16 @@ "Start Line": 18279, "End Line": 18279 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 18996, + "End Line": 18996 + }, { "Function Name": "fromDetails", "Structural Impact": 1.8, @@ -374933,6 +375783,36 @@ "Start Line": 19038, "End Line": 19038 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 19191, + "End Line": 19191 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 19211, + "End Line": 19211 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 19246, + "End Line": 19246 + }, { "Function Name": "filetree", "Structural Impact": 1.8, @@ -374943,6 +375823,16 @@ "Start Line": 19940, "End Line": 19940 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 20020, + "End Line": 20020 + }, { "Function Name": "createChatParticipant", "Structural Impact": 1.8, @@ -374993,6 +375883,16 @@ "Start Line": 20845, "End Line": 20845 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 20958, + "End Line": 20958 + }, { "Function Name": "image", "Structural Impact": 1.8, @@ -375003,6 +375903,16 @@ "Start Line": 21022, "End Line": 21022 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 21059, + "End Line": 21059 + }, { "Function Name": "invoke", "Structural Impact": 1.8, @@ -375183,6 +376093,16 @@ "Start Line": 484, "End Line": 484 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 929, + "End Line": 929 + }, { "Function Name": "delete", "Structural Impact": 1.5, @@ -375213,6 +376133,16 @@ "Start Line": 1479, "End Line": 1479 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1738, + "End Line": 1738 + }, { "Function Name": "fire", "Structural Impact": 1.5, @@ -375353,6 +376283,36 @@ "Start Line": 4158, "End Line": 4158 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 5264, + "End Line": 5264 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 5522, + "End Line": 5522 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 5627, + "End Line": 5627 + }, { "Function Name": "constructor", "Structural Impact": 1.5, @@ -375523,6 +376483,16 @@ "Start Line": 8220, "End Line": 8220 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 8242, + "End Line": 8242 + }, { "Function Name": "setKeysForSync", "Structural Impact": 1.5, @@ -375573,6 +376543,16 @@ "Start Line": 8662, "End Line": 8662 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 9085, + "End Line": 9085 + }, { "Function Name": "provideTasks", "Structural Impact": 1.5, @@ -375823,6 +376803,16 @@ "Start Line": 11832, "End Line": 11832 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 12003, + "End Line": 12003 + }, { "Function Name": "get", "Structural Impact": 1.5, @@ -376103,6 +377093,16 @@ "Start Line": 15817, "End Line": 15817 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 15949, + "End Line": 15949 + }, { "Function Name": "createNotebookCellExecution", "Structural Impact": 1.5, @@ -376133,6 +377133,16 @@ "Start Line": 16771, "End Line": 16771 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 16924, + "End Line": 16924 + }, { "Function Name": "handleMessage", "Structural Impact": 1.5, @@ -376143,6 +377153,16 @@ "Start Line": 16944, "End Line": 16944 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 16950, + "End Line": 16950 + }, { "Function Name": "createDebugAdapterTracker", "Structural Impact": 1.5, @@ -376223,6 +377243,16 @@ "Start Line": 18159, "End Line": 18159 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 18316, + "End Line": 18316 + }, { "Function Name": "enqueued", "Structural Impact": 1.5, @@ -376303,6 +377333,46 @@ "Start Line": 18780, "End Line": 18780 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 18975, + "End Line": 18975 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 19170, + "End Line": 19170 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 19226, + "End Line": 19226 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 19462, + "End Line": 19462 + }, { "Function Name": "markdown", "Structural Impact": 1.5, @@ -376343,6 +377413,36 @@ "Start Line": 19966, "End Line": 19966 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 19983, + "End Line": 19983 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 20058, + "End Line": 20058 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 20096, + "End Line": 20096 + }, { "Function Name": "provideMcpServerDefinitions", "Structural Impact": 1.5, @@ -376363,6 +377463,36 @@ "Start Line": 20867, "End Line": 20867 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 20974, + "End Line": 20974 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 20991, + "End Line": 20991 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 21009, + "End Line": 21009 + }, { "Function Name": "save", "Structural Impact": 1.1, @@ -376423,6 +377553,16 @@ "Start Line": 1690, "End Line": 1690 }, + { + "Function Name": "constructor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 1700, + "End Line": 1700 + }, { "Function Name": "dispose", "Structural Impact": 1.1, @@ -376913,6 +378053,16 @@ "Start Line": 18729, "End Line": 18729 }, + { + "Function Name": "constructor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 19277, + "End Line": 19277 + }, { "Function Name": "dispose", "Structural Impact": 1.1, @@ -376939,7 +378089,7 @@ "Control Flow Branches": 809, "Sequential Logic Declarations": 1394, "Function Parameters": 647, - "Function/Method Declarations": 558, + "Function/Method Declarations": 671, "Class/Entity Declarations": 489, "Defensive Programming Constructs": 244, "Type/Safety Bypasses": 81, @@ -377008,7 +378158,7 @@ "Design Upper Case": 3, "Design Short Vars": 3, "Design Long Vars": 6, - "Duplicate Logic": 56, + "Duplicate Logic": 69, "Orphaned Logic": 309, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, diff --git a/tests/golden_master_zero_dep_audit.json b/tests/golden_master_zero_dep_audit.json index 5c25adedb..f5e47263f 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-26T20:34:58.809902+00:00", - "Total Scan Duration": "32.17 seconds" + "Analysis ISO Timestamp": "2026-08-26T20:41:36.036559+00:00", + "Total Scan Duration": "32.24 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -196,7 +196,7 @@ } }, "health": { - "avg_cognitive_load": 24.704, + "avg_cognitive_load": 24.703, "avg_safety_score": 38.656, "avg_tech_debt": 25.019, "avg_documentation": 21.568 @@ -360,7 +360,7 @@ "typescript": { "files": 24, "loc": 36020, - "impact": 4300.470000000001 + "impact": 4338.330000000001 }, "kotlin": { "files": 5, @@ -1781,9 +1781,9 @@ }, "typescript/vscode": { "file_count": 11, - "total_mass": 1434.37, + "total_mass": 1472.23, "avg_exposures": { - "cognitive_load": 36.07, + "cognitive_load": 36.06, "safety_score": 59.85, "tech_debt": 46.65, "verification": 44.3, @@ -358586,14 +358586,14 @@ } }, "typescript/vscode": { - "Directory Group Magnitude": 1434.37, + "Directory Group Magnitude": 1472.23, "File Count": 11, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "81.8%", "Static: Literature & Documentation": "18.2%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "36.07%", + "Cognitive Load Exposure": "36.06%", "Error & Exception Exposure": "59.85%", "Tech Debt Exposure": "46.65%", "Testing Exposure": "44.3%", @@ -359102,9 +359102,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3477.85, + "X": 3477.84, "Y": 154.07, - "Z": 3300.3 + "Z": 3300.31 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -359116,7 +359116,7 @@ "Total LOC": 2646, "Coding LOC": 1803, "Documentation LOC": 419, - "Structural Magnitude": 320.1, + "Structural Magnitude": 320.39, "Control Flow Ratio": "33.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -360640,6 +360640,16 @@ "Start Line": 537, "End Line": 537 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1020, + "End Line": 1020 + }, { "Function Name": "scheduleThrottler", "Structural Impact": 1.8, @@ -361420,6 +361430,16 @@ "Start Line": 791, "End Line": 793 }, + { + "Function Name": "constructor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 1019, + "End Line": 1019 + }, { "Function Name": "delay", "Structural Impact": 1.1, @@ -361686,7 +361706,7 @@ "Control Flow Branches": 288, "Sequential Logic Declarations": 586, "Function Parameters": 412, - "Function/Method Declarations": 257, + "Function/Method Declarations": 259, "Class/Entity Declarations": 47, "Defensive Programming Constructs": 258, "Type/Safety Bypasses": 36, @@ -371315,9 +371335,9 @@ "Identity Proof": "Single Indicator (Ext: .ts)" }, "2. Topological Coordinates": { - "X": 3750.83, - "Y": 133.54, - "Z": 2541.44 + "X": 3751.01, + "Y": 133.34, + "Z": 2539.7 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -371329,16 +371349,16 @@ "Total LOC": 21234, "Coding LOC": 3438, "Documentation LOC": 15519, - "Structural Magnitude": 223.74, + "Structural Magnitude": 261.31, "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.337 + "Raw Cognitive Density": 0.335 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "6.83%", + "Cognitive Load Exposure": "6.78%", "Error & Exception Exposure": "8.65%", "Tech Debt Exposure": "100.0%", "Testing Exposure": "80.0%", @@ -371363,6 +371383,16 @@ "Start Line": 6862, "End Line": 6914 }, + { + "Function Name": "constructor", + "Structural Impact": 14.7, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 5, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 18636, + "End Line": 18636 + }, { "Function Name": "createFile", "Structural Impact": 12.8, @@ -371373,6 +371403,26 @@ "Start Line": 4064, "End Line": 4080 }, + { + "Function Name": "constructor", + "Structural Impact": 12.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 4, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 17119, + "End Line": 17119 + }, + { + "Function Name": "constructor", + "Structural Impact": 12.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 4, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 17134, + "End Line": 17134 + }, { "Function Name": "renameFile", "Structural Impact": 11.7, @@ -371413,6 +371463,26 @@ "Start Line": 4088, "End Line": 4097 }, + { + "Function Name": "constructor", + "Structural Impact": 10.1, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 3, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 19049, + "End Line": 19055 + }, + { + "Function Name": "constructor", + "Structural Impact": 9.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 3, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 20462, + "End Line": 20462 + }, { "Function Name": "with", "Structural Impact": 9.6, @@ -371503,6 +371573,16 @@ "Start Line": 1510, "End Line": 1531 }, + { + "Function Name": "constructor", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 8278, + "End Line": 8278 + }, { "Function Name": "createTerminal", "Structural Impact": 8.1, @@ -371513,6 +371593,16 @@ "Start Line": 11662, "End Line": 11662 }, + { + "Function Name": "constructor", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 6, + "Control Flow Ratio": "100.0%", + "Start Line": 9126, + "End Line": 9126 + }, { "Function Name": "openTextDocument", "Structural Impact": 8.0, @@ -371523,6 +371613,26 @@ "Start Line": 14233, "End Line": 14250 }, + { + "Function Name": "constructor", + "Structural Impact": 7.4, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 3576, + "End Line": 3576 + }, + { + "Function Name": "constructor", + "Structural Impact": 7.4, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "100.0%", + "Start Line": 9155, + "End Line": 9155 + }, { "Function Name": "delete", "Structural Impact": 7.4, @@ -371553,6 +371663,16 @@ "Start Line": 6945, "End Line": 6945 }, + { + "Function Name": "constructor", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 4, + "Control Flow Ratio": "100.0%", + "Start Line": 20497, + "End Line": 20497 + }, { "Function Name": "rename", "Structural Impact": 6.3, @@ -371593,6 +371713,36 @@ "Start Line": 14201, "End Line": 14223 }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 3256, + "End Line": 3256 + }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 5361, + "End Line": 5361 + }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 6244, + "End Line": 6244 + }, { "Function Name": "showTextDocument", "Structural Impact": 6.0, @@ -371633,6 +371783,16 @@ "Start Line": 11638, "End Line": 11638 }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 16843, + "End Line": 16843 + }, { "Function Name": "createTestRun", "Structural Impact": 6.0, @@ -371653,6 +371813,26 @@ "Start Line": 18718, "End Line": 18718 }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 18899, + "End Line": 18899 + }, + { + "Function Name": "constructor", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 19119, + "End Line": 19119 + }, { "Function Name": "sendRequest", "Structural Impact": 6.0, @@ -371703,6 +371883,26 @@ "Start Line": 494, "End Line": 494 }, + { + "Function Name": "constructor", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3071, + "End Line": 3071 + }, + { + "Function Name": "constructor", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 5135, + "End Line": 5135 + }, { "Function Name": "show", "Structural Impact": 5.2, @@ -371883,6 +372083,76 @@ "Start Line": 4303, "End Line": 4303 }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 4389, + "End Line": 4389 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 5693, + "End Line": 5693 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 5766, + "End Line": 5766 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 7157, + "End Line": 7157 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 8213, + "End Line": 8213 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 8903, + "End Line": 8903 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 9058, + "End Line": 9058 + }, { "Function Name": "registerCommand", "Structural Impact": 4.0, @@ -372063,6 +372333,26 @@ "Start Line": 18698, "End Line": 18698 }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 19088, + "End Line": 19088 + }, + { + "Function Name": "constructor", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 20181, + "End Line": 20181 + }, { "Function Name": "invokeTool", "Structural Impact": 4.0, @@ -372093,6 +372383,16 @@ "Start Line": 242, "End Line": 242 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 966, + "End Line": 966 + }, { "Function Name": "revealRange", "Structural Impact": 3.5, @@ -372113,6 +372413,26 @@ "Start Line": 1454, "End Line": 1454 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 2729, + "End Line": 2729 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 2868, + "End Line": 2868 + }, { "Function Name": "appendCodeblock", "Structural Impact": 3.5, @@ -372123,6 +372443,46 @@ "Start Line": 3090, "End Line": 3090 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3137, + "End Line": 3137 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3185, + "End Line": 3185 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3280, + "End Line": 3280 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 3381, + "End Line": 3381 + }, { "Function Name": "appendPlaceholder", "Structural Impact": 3.5, @@ -372143,6 +372503,96 @@ "Start Line": 4191, "End Line": 4191 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4269, + "End Line": 4269 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4335, + "End Line": 4335 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4361, + "End Line": 4361 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4645, + "End Line": 4645 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 4685, + "End Line": 4685 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 5109, + "End Line": 5109 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 5395, + "End Line": 5395 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 5839, + "End Line": 5839 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 6106, + "End Line": 6106 + }, { "Function Name": "forEach", "Structural Impact": 3.5, @@ -372163,6 +372613,26 @@ "Start Line": 7728, "End Line": 7728 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 8886, + "End Line": 8886 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 9039, + "End Line": 9039 + }, { "Function Name": "createTelemetryLogger", "Structural Impact": 3.5, @@ -372223,6 +372693,26 @@ "Start Line": 12040, "End Line": 12040 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 12401, + "End Line": 12401 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 12407, + "End Line": 12407 + }, { "Function Name": "forEach", "Structural Impact": 3.5, @@ -372313,6 +372803,16 @@ "Start Line": 15790, "End Line": 15790 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 15875, + "End Line": 15875 + }, { "Function Name": "end", "Structural Impact": 3.5, @@ -372353,6 +372853,16 @@ "Start Line": 16762, "End Line": 16762 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 16909, + "End Line": 16909 + }, { "Function Name": "asDebugSourceUri", "Structural Impact": 3.5, @@ -372473,6 +372983,26 @@ "Start Line": 19959, "End Line": 19959 }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 20042, + "End Line": 20042 + }, + { + "Function Name": "constructor", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 20080, + "End Line": 20080 + }, { "Function Name": "User", "Structural Impact": 3.5, @@ -372593,6 +373123,16 @@ "Start Line": 1641, "End Line": 1641 }, + { + "Function Name": "constructor", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 4149, + "End Line": 4149 + }, { "Function Name": "appendTabstop", "Structural Impact": 2.9, @@ -372603,6 +373143,16 @@ "Start Line": 4168, "End Line": 4168 }, + { + "Function Name": "constructor", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 4276, + "End Line": 4276 + }, { "Function Name": "build", "Structural Impact": 2.9, @@ -372703,6 +373253,16 @@ "Start Line": 9533, "End Line": 9533 }, + { + "Function Name": "constructor", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 9540, + "End Line": 9540 + }, { "Function Name": "show", "Structural Impact": 2.9, @@ -372873,6 +373433,26 @@ "Start Line": 20764, "End Line": 20764 }, + { + "Function Name": "constructor", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 6, + "Control Flow Ratio": "0.0%", + "Start Line": 5906, + "End Line": 5906 + }, + { + "Function Name": "constructor", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 6, + "Control Flow Ratio": "0.0%", + "Start Line": 6056, + "End Line": 6056 + }, { "Function Name": "constructor", "Structural Impact": 2.5, @@ -372883,6 +373463,16 @@ "Start Line": 1536, "End Line": 1536 }, + { + "Function Name": "constructor", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 5, + "Control Flow Ratio": "0.0%", + "Start Line": 3631, + "End Line": 3631 + }, { "Function Name": "prepareRename", "Structural Impact": 2.5, @@ -372943,6 +373533,26 @@ "Start Line": 20706, "End Line": 20706 }, + { + "Function Name": "constructor", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 438, + "End Line": 438 + }, + { + "Function Name": "constructor", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 548, + "End Line": 548 + }, { "Function Name": "provideCodeActions", "Structural Impact": 2.3, @@ -372963,6 +373573,16 @@ "Start Line": 3334, "End Line": 3334 }, + { + "Function Name": "constructor", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 3563, + "End Line": 3563 + }, { "Function Name": "provideReferences", "Structural Impact": 2.3, @@ -373023,6 +373643,16 @@ "Start Line": 5233, "End Line": 5233 }, + { + "Function Name": "constructor", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 5460, + "End Line": 5460 + }, { "Function Name": "provideDocumentDropEdits", "Structural Impact": 2.3, @@ -373403,6 +374033,16 @@ "Start Line": 6397, "End Line": 6397 }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 6441, + "End Line": 6441 + }, { "Function Name": "delete", "Structural Impact": 2.0, @@ -373653,6 +374293,16 @@ "Start Line": 15286, "End Line": 15286 }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 15922, + "End Line": 15922 + }, { "Function Name": "provideOriginalResource", "Structural Impact": 2.0, @@ -373773,6 +374423,26 @@ "Start Line": 18969, "End Line": 18969 }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 19150, + "End Line": 19150 + }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 19271, + "End Line": 19271 + }, { "Function Name": "flush", "Structural Impact": 2.0, @@ -373823,6 +374493,16 @@ "Start Line": 20715, "End Line": 20715 }, + { + "Function Name": "constructor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 20934, + "End Line": 20934 + }, { "Function Name": "prepareInvocation", "Structural Impact": 2.0, @@ -373833,6 +374513,36 @@ "Start Line": 21171, "End Line": 21171 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 287, + "End Line": 287 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 427, + "End Line": 427 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 538, + "End Line": 538 + }, { "Function Name": "setDecorations", "Structural Impact": 1.8, @@ -373883,6 +374593,16 @@ "Start Line": 1871, "End Line": 1871 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2342, + "End Line": 2342 + }, { "Function Name": "provideCodeLenses", "Structural Impact": 1.8, @@ -373893,6 +374613,16 @@ "Start Line": 2892, "End Line": 2892 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3227, + "End Line": 3227 + }, { "Function Name": "provideDocumentSymbols", "Structural Impact": 1.8, @@ -373933,6 +374663,16 @@ "Start Line": 3755, "End Line": 3755 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3797, + "End Line": 3797 + }, { "Function Name": "replace", "Structural Impact": 1.8, @@ -373953,6 +374693,16 @@ "Start Line": 3827, "End Line": 3827 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3850, + "End Line": 3850 + }, { "Function Name": "replaceCells", "Structural Impact": 1.8, @@ -373983,6 +374733,16 @@ "Start Line": 3887, "End Line": 3887 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3922, + "End Line": 3922 + }, { "Function Name": "set", "Structural Impact": 1.8, @@ -374053,6 +374813,16 @@ "Start Line": 5402, "End Line": 5402 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5484, + "End Line": 5484 + }, { "Function Name": "provideDocumentColors", "Structural Impact": 1.8, @@ -374063,6 +374833,26 @@ "Start Line": 5529, "End Line": 5529 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5931, + "End Line": 5931 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5957, + "End Line": 5957 + }, { "Function Name": "provideCallHierarchyIncomingCalls", "Structural Impact": 1.8, @@ -374113,6 +374903,26 @@ "Start Line": 6838, "End Line": 6838 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 6975, + "End Line": 6975 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 7068, + "End Line": 7068 + }, { "Function Name": "set", "Structural Impact": 1.8, @@ -374733,6 +375543,26 @@ "Start Line": 15296, "End Line": 15296 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 15741, + "End Line": 15741 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 15839, + "End Line": 15839 + }, { "Function Name": "deserializeNotebook", "Structural Impact": 1.8, @@ -374783,6 +375613,16 @@ "Start Line": 16257, "End Line": 16257 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 16320, + "End Line": 16320 + }, { "Function Name": "provideCellStatusBarItems", "Structural Impact": 1.8, @@ -374923,6 +375763,16 @@ "Start Line": 18279, "End Line": 18279 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 18996, + "End Line": 18996 + }, { "Function Name": "fromDetails", "Structural Impact": 1.8, @@ -374933,6 +375783,36 @@ "Start Line": 19038, "End Line": 19038 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 19191, + "End Line": 19191 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 19211, + "End Line": 19211 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 19246, + "End Line": 19246 + }, { "Function Name": "filetree", "Structural Impact": 1.8, @@ -374943,6 +375823,16 @@ "Start Line": 19940, "End Line": 19940 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 20020, + "End Line": 20020 + }, { "Function Name": "createChatParticipant", "Structural Impact": 1.8, @@ -374993,6 +375883,16 @@ "Start Line": 20845, "End Line": 20845 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 20958, + "End Line": 20958 + }, { "Function Name": "image", "Structural Impact": 1.8, @@ -375003,6 +375903,16 @@ "Start Line": 21022, "End Line": 21022 }, + { + "Function Name": "constructor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 21059, + "End Line": 21059 + }, { "Function Name": "invoke", "Structural Impact": 1.8, @@ -375183,6 +376093,16 @@ "Start Line": 484, "End Line": 484 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 929, + "End Line": 929 + }, { "Function Name": "delete", "Structural Impact": 1.5, @@ -375213,6 +376133,16 @@ "Start Line": 1479, "End Line": 1479 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1738, + "End Line": 1738 + }, { "Function Name": "fire", "Structural Impact": 1.5, @@ -375353,6 +376283,36 @@ "Start Line": 4158, "End Line": 4158 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 5264, + "End Line": 5264 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 5522, + "End Line": 5522 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 5627, + "End Line": 5627 + }, { "Function Name": "constructor", "Structural Impact": 1.5, @@ -375523,6 +376483,16 @@ "Start Line": 8220, "End Line": 8220 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 8242, + "End Line": 8242 + }, { "Function Name": "setKeysForSync", "Structural Impact": 1.5, @@ -375573,6 +376543,16 @@ "Start Line": 8662, "End Line": 8662 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 9085, + "End Line": 9085 + }, { "Function Name": "provideTasks", "Structural Impact": 1.5, @@ -375823,6 +376803,16 @@ "Start Line": 11832, "End Line": 11832 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 12003, + "End Line": 12003 + }, { "Function Name": "get", "Structural Impact": 1.5, @@ -376103,6 +377093,16 @@ "Start Line": 15817, "End Line": 15817 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 15949, + "End Line": 15949 + }, { "Function Name": "createNotebookCellExecution", "Structural Impact": 1.5, @@ -376133,6 +377133,16 @@ "Start Line": 16771, "End Line": 16771 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 16924, + "End Line": 16924 + }, { "Function Name": "handleMessage", "Structural Impact": 1.5, @@ -376143,6 +377153,16 @@ "Start Line": 16944, "End Line": 16944 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 16950, + "End Line": 16950 + }, { "Function Name": "createDebugAdapterTracker", "Structural Impact": 1.5, @@ -376223,6 +377243,16 @@ "Start Line": 18159, "End Line": 18159 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 18316, + "End Line": 18316 + }, { "Function Name": "enqueued", "Structural Impact": 1.5, @@ -376303,6 +377333,46 @@ "Start Line": 18780, "End Line": 18780 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 18975, + "End Line": 18975 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 19170, + "End Line": 19170 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 19226, + "End Line": 19226 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 19462, + "End Line": 19462 + }, { "Function Name": "markdown", "Structural Impact": 1.5, @@ -376343,6 +377413,36 @@ "Start Line": 19966, "End Line": 19966 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 19983, + "End Line": 19983 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 20058, + "End Line": 20058 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 20096, + "End Line": 20096 + }, { "Function Name": "provideMcpServerDefinitions", "Structural Impact": 1.5, @@ -376363,6 +377463,36 @@ "Start Line": 20867, "End Line": 20867 }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 20974, + "End Line": 20974 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 20991, + "End Line": 20991 + }, + { + "Function Name": "constructor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 21009, + "End Line": 21009 + }, { "Function Name": "save", "Structural Impact": 1.1, @@ -376423,6 +377553,16 @@ "Start Line": 1690, "End Line": 1690 }, + { + "Function Name": "constructor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 1700, + "End Line": 1700 + }, { "Function Name": "dispose", "Structural Impact": 1.1, @@ -376913,6 +378053,16 @@ "Start Line": 18729, "End Line": 18729 }, + { + "Function Name": "constructor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 19277, + "End Line": 19277 + }, { "Function Name": "dispose", "Structural Impact": 1.1, @@ -376939,7 +378089,7 @@ "Control Flow Branches": 809, "Sequential Logic Declarations": 1394, "Function Parameters": 647, - "Function/Method Declarations": 558, + "Function/Method Declarations": 671, "Class/Entity Declarations": 489, "Defensive Programming Constructs": 244, "Type/Safety Bypasses": 81, @@ -377008,7 +378158,7 @@ "Design Upper Case": 3, "Design Short Vars": 3, "Design Long Vars": 6, - "Duplicate Logic": 56, + "Duplicate Logic": 69, "Orphaned Logic": 309, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, diff --git a/tests/tools/tree_sitter_accuracy_audit.py b/tests/tools/tree_sitter_accuracy_audit.py index 15755aa87..e0323eaf7 100755 --- a/tests/tools/tree_sitter_accuracy_audit.py +++ b/tests/tools/tree_sitter_accuracy_audit.py @@ -2078,14 +2078,23 @@ def walk(node, is_continuation_clause=False): pass else: name = _get_node_name(node) - if ( - lang == "typescript" - and name == "constructor" - and node.type in ("method_signature", "function_signature") - ): - pass # Intentional drop of bodyless constructors + # BUG FIX (issue #2279): this used to also intentionally drop + # bodyless `constructor` method_signature/function_signature nodes + # here, written when GitGalaxy structurally could never find a + # bodyless TypeScript constructor (its func_start bodyless- + # declaration branch required a `:ReturnType` annotation a + # constructor can never carry). #2279 fixed that gap -- GitGalaxy + # now correctly extracts these (confirmed: vscode/vscode.d.ts's 123 + # real ambient `constructor(...);` declarations, verified directly + # against source and cross-checked against a raw tree-sitter walk + # of the same file) -- so keeping this exclusion would now silently + # drop 123 real ground-truth entries and count every one of + # GitGalaxy's new, correct finds as a false "extra_functions" + # regression instead of the recall win it actually is. Removed; + # constructors now fall through to the same real_funcs bookkeeping + # as any other method_signature/function_signature node. # Intentional drop of bodyless overloads (function_declaration without body) - elif ( + if ( lang == "typescript" and node.type == "function_declaration" and node.child_by_field_name("body") is None diff --git a/tests/tree_sitter_accuracy_baseline_typescript.json b/tests/tree_sitter_accuracy_baseline_typescript.json index ed3d3b69f..0988e8025 100644 --- a/tests/tree_sitter_accuracy_baseline_typescript.json +++ b/tests/tree_sitter_accuracy_baseline_typescript.json @@ -1,12 +1,12 @@ { - "args_comparable": 2777, - "args_exact_match": 2745, + "args_comparable": 2902, + "args_exact_match": 2870, "corpus_path": "language-crucible/data/typescript", "extra_classes": 0, - "extra_functions": 13, + "extra_functions": 3, "files_scanned": 23, "found_classes": 842, - "found_functions": 2777, + "found_functions": 2902, "real_classes": 842, - "real_functions": 2788 + "real_functions": 2913 }