From 591d8bf2ceb8f29d9bba1ed7659a87b61cc739d7 Mon Sep 17 00:00:00 2001 From: Joe Esquibel Date: Wed, 26 Aug 2026 11:21:04 -0400 Subject: [PATCH 1/2] fix(cpp): correct args counting for operator() and constructors with initializer-lists Two distinct, independently-diagnosed bugs in C++ args counting: Pattern 1 (zero-undercount): operator() and out-of-class methods with non-whitelisted parameter types (e.g. mlir::ModuleOp) reported args=0. Root cause was two-fold: (a) _calculate_block_metrics's regex-based args extraction rejects operator() syntax and enforces a rigid parameter-type whitelist, silently defaulting to 0 on failure -- now falls back to the structural _count_top_level_args counter for c/cpp when the regex path fails, since func_start already validated this is a real function; (b) _count_top_level_args itself needed to skip operator()'s own empty name-parens to find the real parameter-list parens. Pattern 2 (off-by-one overcount): a zero-arg constructor with a member-initializer-list (`Ctor() : member(x) { }`) reported args=1 -- _slice_by_braces's args_search_text swept the initializer-list clause into the parameter-list search, misreading `member(x)` as a parameter. Fixed by truncating args_search_text at the first top-level `:` (excluding `::`) before the opening brace. Both fixes gated to lang_id/primary_lang_id in ("c", "cpp"); the common case (real params + initializer list) is unaffected. Confirmed via inline synthetic repro: operator()(a,b) 0->2, out-of-class BuildBuffer(mlir::ModuleOp) 0->1, zero-arg ctor with init-list 1->0, normal ctor with params+init-list unchanged at 2, operator() call-site correctly still excluded. Closes #2012 Co-Authored-By: Claude Sonnet 5 --- gitgalaxy/core/detector.py | 35 ++++++++++ tests/core_engine/test_detector.py | 106 +++++++++++++++++++---------- 2 files changed, 104 insertions(+), 37 deletions(-) diff --git a/gitgalaxy/core/detector.py b/gitgalaxy/core/detector.py index f2849a53d..63205b313 100644 --- a/gitgalaxy/core/detector.py +++ b/gitgalaxy/core/detector.py @@ -3671,6 +3671,28 @@ def _dart_scan_terminator( args_search_text = code[start_idx:args_sig_end] if args_sig_end is not None else None + # #2012: Pattern 2 - constructors with member-initializer-lists overcount. + # Truncate at the first top-level `:` before the brace to exclude the list. + if lang_id in ("c", "cpp") and args_search_text is not None: + depth_paren = depth_angle = 0 + for i_ch, ch in enumerate(args_search_text): + if ch == "(": + depth_paren += 1 + elif ch == ")": + depth_paren = max(0, depth_paren - 1) + elif ch == "<": + depth_angle += 1 + elif ch == ">": + depth_angle = max(0, depth_angle - 1) + elif ch == ":" and depth_paren == 0 and depth_angle == 0: + # Exclude `::` + if (i_ch + 1 < len(args_search_text) and args_search_text[i_ch + 1] == ":") or ( + i_ch > 0 and args_search_text[i_ch - 1] == ":" + ): + continue + args_search_text = args_search_text[:i_ch] + break + # #1837: a c/cpp signature is sometimes duplicated across an # #if/#else preprocessor conditional (e.g. micropython/gc.c's # gc_mark_subtree, gated on MICROPY_GC_SPLIT_HEAP), so @@ -4645,6 +4667,13 @@ def _count_top_level_args(self, args_str: str, treat_as_body: bool = False) -> i ): open_idx = inner_open wrapper_end = self._matching_paren_end(args_str, open_idx) + # #2012: Pattern 1 - `operator()`'s first `()` is its name, not the parameter list. + # If we matched `operator()` in C/C++, skip the first empty paren pair. + elif self.primary_lang_id in ("c", "cpp") and args_str[max(0, open_idx - 8) : open_idx] == "operator": + inner_open = args_str.find("(", open_idx + 1) + if inner_open != -1: + open_idx = inner_open + wrapper_end = self._matching_paren_end(args_str, open_idx) body = args_str[open_idx + 1 : wrapper_end] if not body.strip(): @@ -5226,6 +5255,12 @@ def _calculate_block_metrics( else: # Handle space-separated arguments (Lisp/Scheme/Shell) args_count = len(args_str.strip().split()) + elif args_search_text is not None and self.primary_lang_id in ("c", "cpp"): + # #2012: Pattern 1 - The cpp args regex rejects `operator()` syntax and + # out-of-class methods with non-whitelisted types (e.g. `mlir::ModuleOp`). + # Since func_start already validated this is a function, we can reliably + # fallback to the structural counter. + args_count = self._count_top_level_args(args_search_text) except Exception as e: self.logger.debug(f"Argument-count regex extraction failed, leaving args_count 0: {e}") diff --git a/tests/core_engine/test_detector.py b/tests/core_engine/test_detector.py index a7a4208d6..0a72db90b 100644 --- a/tests/core_engine/test_detector.py +++ b/tests/core_engine/test_detector.py @@ -631,7 +631,6 @@ def test_detector_mode_d_ruby_nested_methods_inside_class(): assert "Widget" in class_names, "The enclosing class's own satellite should still be reported." - # ============================================================================== # TEST 6: MODE C (INDENTATION STRATIFICATION) # ============================================================================== @@ -912,11 +911,14 @@ def test_detector_catastrophic_fallbacks(): assert result["metadata"]["ownership"] == "Joe", "Fallback destroyed the Ghost Mass metadata!" # 2. TimeoutError -> Hardware Guillotine drops cleanly - with patch.object( - opt_detector, - "_partition_segments", - side_effect=TimeoutError("Hardware thread timeout exceeded"), - ), pytest.raises(TimeoutError): + with ( + patch.object( + opt_detector, + "_partition_segments", + side_effect=TimeoutError("Hardware thread timeout exceeded"), + ), + pytest.raises(TimeoutError), + ): opt_detector.splice("def foo(): pass", "") @@ -2541,6 +2543,50 @@ def test_slice_by_braces_cpp_bounds_args_search_text_1836(): assert fn["args"] == 0, f"empty-arg cpp signature borrowed a call statement's args: {fn['args']}" +def test_slice_by_braces_cpp_args_counting_2012(): + """ + #2012: Pattern 1 - Zero-undercount for `operator()` and out-of-class methods with non-whitelisted types. + Pattern 2 - Off-by-one overcount for constructors with member-initializer-lists. + Also verifies normal constructors and `operator()` call sites remain unaffected. + """ + from gitgalaxy.standards.language_standards import LANGUAGE_DEFINITIONS + + code = """ + // Pattern 1: operator() with real params + bool operator()(const Node *p_left, const Node *p_right) const { return true; } + + // Pattern 1: out-of-class method with non-whitelisted type + void Translator::BuildBuffer(mlir::ModuleOp module) { return; } + + // Pattern 2: zero-arg ctor with member-initializer list + VBufStorage_buffer_t::VBufStorage_buffer_t() : member1(x), member2(y) { } + + // Normal: ctor with real params AND member-initializer list + FooBar::FooBar(int a, float b) : member1(a) { } + + // Normal: operator() call-site (should not be extracted as a function definition) + void caller() { + bool res = my_obj(1, 2); + } + """ + detector = StructuralExtractor("cpp", LANGUAGE_DEFINITIONS) + result = detector.splice(code, "", raw_content=code) + funcs = {f["name"]: f for f in result["functions"]} + + assert funcs["operator()"]["args"] == 2, f"Expected 2 args, got {funcs['operator()']['args']}" + assert funcs["Translator::BuildBuffer"]["args"] == 1, ( + f"Expected 1 arg, got {funcs['Translator::BuildBuffer']['args']}" + ) + assert funcs["VBufStorage_buffer_t::VBufStorage_buffer_t"]["args"] == 0, ( + f"Expected 0 args, got {funcs['VBufStorage_buffer_t::VBufStorage_buffer_t']['args']}" + ) + assert funcs["FooBar::FooBar"]["args"] == 2, f"Expected 2 args, got {funcs['FooBar::FooBar']['args']}" + + # call-site should not be extracted, so caller() should be the only other func + assert "caller" in funcs + assert "my_obj" not in funcs + + def test_slice_by_braces_c_preprocessor_conditional_signature_1837(): """ #1837: a c/cpp signature duplicated across an #if/#else preprocessor @@ -2588,17 +2634,7 @@ def test_slice_by_braces_c_preprocessor_conditional_edge_cases_1837_review(): # A single signature's OWN parameter list has a conditional param inside # it -- the #else here is nested INSIDE the still-open "(", not preceded # by a ")", so #1837's re-slice must not touch it. - interior_code = ( - "void foo(int a\n" - "#ifdef X\n" - " , int b\n" - "#else\n" - " , int c\n" - "#endif\n" - ") {\n" - " return;\n" - "}\n" - ) + interior_code = "void foo(int a\n#ifdef X\n , int b\n#else\n , int c\n#endif\n) {\n return;\n}\n" interior_result = detector.splice(interior_code, "", raw_content=interior_code) interior_fn = next(f for f in interior_result["functions"] if f["name"] == "foo") assert interior_fn["args"] == 3, f"interior conditional params: expected 3, got {interior_fn['args']}" @@ -2606,15 +2642,7 @@ def test_slice_by_braces_c_preprocessor_conditional_edge_cases_1837_review(): # An unrelated, later #ifdef/#elif block sits between an already-COMPLETE # signature and the opening "{" -- must not be mistaken for a duplicate- # signature branch fork and discard the real (already-resolved) signature. - later_code = ( - "void foo(int a)\n" - "#ifdef SOME_FLAG\n" - "#elif OTHER_FLAG\n" - "#endif\n" - "{\n" - " return;\n" - "}\n" - ) + later_code = "void foo(int a)\n#ifdef SOME_FLAG\n#elif OTHER_FLAG\n#endif\n{\n return;\n}\n" later_result = detector.splice(later_code, "", raw_content=later_code) later_fn = next(f for f in later_result["functions"] if f["name"] == "foo") assert later_fn["args"] == 1, f"unrelated later conditional: expected 1, got {later_fn['args']}" @@ -3328,9 +3356,10 @@ def test_detector_zig_single_quote_bound_prevents_cross_line_swallow(): wasi_cwd = next(s for s in satellites if s["name"] == "wasi_cwd") assert wasi_cwd["loc"] <= 3, f"wasi_cwd's body must not swallow the rest of the file: loc={wasi_cwd['loc']}" + def test_detector_depth_aware_brace_idx(): """ - Proves that a brace inside a parameter list does not prematurely end the signature + Proves that a brace inside a parameter list does not prematurely end the signature scan and cause argument count truncation for TypeScript. """ opt = StructuralExtractor("typescript", MOCK_LANG_DEFS) @@ -3351,7 +3380,7 @@ def test_detector_depth_aware_brace_idx(): def test_detector_nested_parens_in_args(): """ - Proves that the top level argument counting correctly tracks braces and brackets + Proves that the top level argument counting correctly tracks braces and brackets to prevent commas inside object literals from artificially inflating the argument count. """ opt = StructuralExtractor("typescript", MOCK_LANG_DEFS) @@ -3360,14 +3389,16 @@ def test_detector_nested_parens_in_args(): assert opt._count_top_level_args("(options: { a: string, b: string }, cb: (x, y) => void)") == 2 assert opt._count_top_level_args("(arr: [1, 2, 3], nested: { x: [1, 2] })") == 2 + def test_detector_nested_functions_in_signature_dropped(): """ - Proves that the signature_end logic correctly skips nested functions + Proves that the signature_end logic correctly skips nested functions (like f: (a: A) => B inside flatMap's signature) rather than treating them as top-level. """ opt = StructuralExtractor("typescript", MOCK_LANG_DEFS) opt.languages["typescript"]["rules"]["func_start"] = re.compile( - r"^[ \t]*([a-zA-Z_$][\w$]*)(?=[ \t\n]*:[ \t\n]*(?:<(?:[^<>]|<[^<>]*>)*>\s*)?(?:\((?:[^()]|\([^()]*\))*\)[^=;{]*=>|[a-zA-Z_$][\w$]*[ \t\n]*=>))", re.M + r"^[ \t]*([a-zA-Z_$][\w$]*)(?=[ \t\n]*:[ \t\n]*(?:<(?:[^<>]|<[^<>]*>)*>\s*)?(?:\((?:[^()]|\([^()]*\))*\)[^=;{]*=>|[a-zA-Z_$][\w$]*[ \t\n]*=>))", + re.M, ) opt.languages["typescript"]["rules"]["args"] = re.compile(r"") @@ -3381,6 +3412,7 @@ def test_detector_nested_functions_in_signature_dropped(): satellites, _ = opt._slice_by_braces(code, "typescript", opt.languages["typescript"]["rules"], 0, {}) assert len(satellites) == 0, "Nested parameter function `f` should have been skipped by signature_end logic!" + def test_detector_m4_bracket_slicing_with_unbalanced_quotes(): """ Issue #2204: m4 macro bodies are bounded by `(` and `)`, but they can contain @@ -3390,8 +3422,8 @@ def test_detector_m4_bracket_slicing_with_unbalanced_quotes(): """ from gitgalaxy.core.detector import StructuralExtractor from gitgalaxy.standards.language_standards import LANGUAGE_DEFINITIONS - - code = ''' + + code = """ AC_DEFUN([AC_PROG_F77], []) AC_DEFUN([MY_MACRO], [ @@ -3405,19 +3437,19 @@ def test_detector_m4_bracket_slicing_with_unbalanced_quotes(): [ echo "done" ]) -''' +""" extractor = StructuralExtractor("m4", LANGUAGE_DEFINITIONS) rules = LANGUAGE_DEFINITIONS["m4"]["rules"] - + sats, _ = extractor._slice_by_m4_brackets(code, rules, 0, {}) - + assert len(sats) == 3 - + # Check names assert sats[0]["name"] == "AC_PROG_F77" assert sats[1]["name"] == "MY_MACRO" assert sats[2]["name"] == "ANOTHER" - + # Check exact lengths assert sats[0]["loc"] == 1 assert sats[1]["loc"] == 6 From f65668127cab90fd05be57b1c1ecc7e9bd279539 Mon Sep 17 00:00:00 2001 From: Joe Esquibel Date: Wed, 26 Aug 2026 11:29:28 -0400 Subject: [PATCH 2/2] chore: rebless golden masters and cpp tree-sitter baseline --- gitgalaxy/standards/language_standards.py | 2 +- tests/golden_master_audit.json | 10008 +++++++++-------- tests/golden_master_zero_dep_audit.json | 10008 +++++++++-------- tests/tree_sitter_accuracy_baseline_cpp.json | 8 +- 4 files changed, 10093 insertions(+), 9933 deletions(-) diff --git a/gitgalaxy/standards/language_standards.py b/gitgalaxy/standards/language_standards.py index a0cdc7f76..34ee40d60 100644 --- a/gitgalaxy/standards/language_standards.py +++ b/gitgalaxy/standards/language_standards.py @@ -36,7 +36,7 @@ | -------- | ----------- | -------------- | ------------ | --------------- | | Apex | 100.0% | 100.0% | 100.0% | 100.0% | | C | 99.0% | 99.5% | 100.0% | 100.0% | -| Cpp | 87.0% | 95.6% | 100.0% | 100.0% | +| Cpp | 87.0% | 95.0% | 100.0% | 100.0% | | Csharp | 100.0% | 100.0% | 100.0% | 100.0% | | Css | 100.0% | 100.0% | N/A | N/A | | Dart | 99.4% | 99.3% | 100.0% | 100.0% | diff --git a/tests/golden_master_audit.json b/tests/golden_master_audit.json index 65f8e4c37..b997745b5 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-26T14:12:10.400519+00:00", - "Total Scan Duration": "34.19 seconds" + "Analysis ISO Timestamp": "2026-08-26T15:27:06.920235+00:00", + "Total Scan Duration": "33.55 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -199,7 +199,7 @@ "avg_cognitive_load": 24.695, "avg_safety_score": 38.656, "avg_tech_debt": 25.019, - "avg_documentation": 21.561 + "avg_documentation": 21.568 }, "composition": { "xml": { @@ -245,7 +245,7 @@ "c": { "files": 44, "loc": 74236, - "impact": 104104.82 + "impact": 104150.01999999999 }, "batch": { "files": 3, @@ -295,12 +295,12 @@ "cpp": { "files": 33, "loc": 44831, - "impact": 56859.11999999999 + "impact": 57237.41999999999 }, "csharp": { "files": 8, "loc": 18933, - "impact": 15223.760000000002 + "impact": 15283.560000000001 }, "css": { "files": 4, @@ -679,7 +679,7 @@ }, "cpp/NVDA": { "file_count": 12, - "total_mass": 7611.24, + "total_mass": 7633.24, "avg_exposures": { "cognitive_load": 31.09, "safety_score": 43.44, @@ -698,20 +698,20 @@ }, "cpp/godot": { "file_count": 16, - "total_mass": 36944.92, + "total_mass": 36981.52, "avg_exposures": { - "cognitive_load": 59.78, + "cognitive_load": 59.79, "safety_score": 73.56, "tech_debt": 22.49, "verification": 55.29, - "api_exposure": 5.39, + "api_exposure": 5.41, "concurrency": 0.0, "state_flux": 81.22, "dead_code": 2.11, "spec_match": 81.25, "stability": 40.62, "churn": 0.0, - "documentation": 24.12, + "documentation": 24.4, "secrets_risk": 0.0 } }, @@ -1040,7 +1040,7 @@ }, "lua/redis": { "file_count": 6, - "total_mass": 6669.82, + "total_mass": 6709.02, "avg_exposures": { "cognitive_load": 55.64, "safety_score": 67.12, @@ -1053,7 +1053,7 @@ "spec_match": 100.0, "stability": 50.0, "churn": 0.0, - "documentation": 87.14, + "documentation": 87.31, "secrets_risk": 0.0 } }, @@ -1135,7 +1135,7 @@ }, "cobol/gnucobol_internals": { "file_count": 5, - "total_mass": 15668.75, + "total_mass": 15672.45, "avg_exposures": { "cognitive_load": 48.32, "safety_score": 68.48, @@ -1268,7 +1268,7 @@ }, "csharp/roslyn": { "file_count": 7, - "total_mass": 15179.22, + "total_mass": 15239.02, "avg_exposures": { "cognitive_load": 25.48, "safety_score": 42.59, @@ -1952,7 +1952,7 @@ }, "livecode/core": { "file_count": 11, - "total_mass": 26647.22, + "total_mass": 26670.22, "avg_exposures": { "cognitive_load": 33.19, "safety_score": 56.39, @@ -2123,12 +2123,12 @@ }, "cpp/mlir": { "file_count": 6, - "total_mass": 4633.54, + "total_mass": 4909.34, "avg_exposures": { "cognitive_load": 44.93, "safety_score": 63.81, "tech_debt": 65.7, - "verification": 40.98, + "verification": 41.02, "api_exposure": 0.27, "concurrency": 0.0, "state_flux": 55.73, @@ -2136,13 +2136,13 @@ "spec_match": 91.11, "stability": 50.0, "churn": 0.0, - "documentation": 12.44, + "documentation": 12.6, "secrets_risk": 0.0 } }, "cpp/powertoys": { "file_count": 7, - "total_mass": 2037.8, + "total_mass": 2061.0, "avg_exposures": { "cognitive_load": 55.05, "safety_score": 78.8, @@ -9666,25 +9666,25 @@ } }, "cpp/godot": { - "Directory Group Magnitude": 36944.92, + "Directory Group Magnitude": 36981.52, "File Count": 16, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "81.2%", "Static: Literature & Documentation": "18.8%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "59.78%", + "Cognitive Load Exposure": "59.79%", "Error & Exception Exposure": "73.56%", "Tech Debt Exposure": "22.49%", "Testing Exposure": "55.29%", - "API Exposure": "5.39%", + "API Exposure": "5.41%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "81.22%", "Commented Logic Exposure": "2.11%", "Specification Exposure": "81.25%", "Instability Exposure": "40.62%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "24.12%", + "Documentation Exposure": "24.4%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -10015,9 +10015,9 @@ "Identity Proof": "Sibling Anchor (.c)" }, "2. Topological Coordinates": { - "X": -829.66, + "X": -829.67, "Y": -58.81, - "Z": 3827.29 + "Z": 3827.33 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -10029,7 +10029,7 @@ "Total LOC": 1155, "Coding LOC": 902, "Documentation LOC": 82, - "Structural Magnitude": 853.54, + "Structural Magnitude": 855.84, "Control Flow Ratio": "16.3%", "Popularity Rank": 2, "Raw Churn Frequency": 0.0, @@ -10165,33 +10165,33 @@ }, { "Function Name": "constexpr", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 3, + "Structural Impact": 3.7, + "Lines of Code (LOC)": 4, "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 861, - "End Line": 863 + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 852, + "End Line": 855 }, { "Function Name": "constexpr", - "Structural Impact": 2.4, + "Structural Impact": 3.2, "Lines of Code (LOC)": 7, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", "Start Line": 1072, "End Line": 1078 }, { "Function Name": "constexpr", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 852, - "End Line": 855 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 861, + "End Line": 863 }, { "Function Name": "_setv", @@ -17950,9 +17950,9 @@ "Identity Proof": "Sibling Anchor (C++)" }, "2. Topological Coordinates": { - "X": -1012.14, - "Y": -126.12, - "Z": 2821.21 + "X": -1012.19, + "Y": -126.13, + "Z": 2821.1 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -17964,7 +17964,7 @@ "Total LOC": 945, "Coding LOC": 670, "Documentation LOC": 81, - "Structural Magnitude": 520.8, + "Structural Magnitude": 525.9, "Control Flow Ratio": "12.5%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, @@ -18068,56 +18068,56 @@ "Start Line": 686, "End Line": 688 }, - { - "Function Name": "atr", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 828, - "End Line": 828 - }, { "Function Name": "operator()", - "Structural Impact": 2.5, + "Structural Impact": 3.9, "Lines of Code (LOC)": 9, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "33.3%", "Start Line": 179, "End Line": 187 }, - { - "Function Name": "_update_children_cache", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "50.0%", - "Start Line": 346, - "End Line": 350 - }, { "Function Name": "operator()", - "Structural Impact": 2.0, + "Structural Impact": 3.5, "Lines of Code (LOC)": 1, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", "Start Line": 191, "End Line": 191 }, { "Function Name": "operator()", - "Structural Impact": 2.0, + "Structural Impact": 3.5, "Lines of Code (LOC)": 1, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", "Start Line": 195, "End Line": 195 }, + { + "Function Name": "atr", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 828, + "End Line": 828 + }, + { + "Function Name": "_update_children_cache", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 346, + "End Line": 350 + }, { "Function Name": "Node::rpc", "Structural Impact": 1.9, @@ -18128,6 +18128,16 @@ "Start Line": 911, "End Line": 914 }, + { + "Function Name": "operator()", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 137, + "End Line": 137 + }, { "Function Name": "make_binds", "Structural Impact": 1.7, @@ -18258,16 +18268,6 @@ "Start Line": 70, "End Line": 71 }, - { - "Function Name": "operator()", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 137, - "End Line": 137 - }, { "Function Name": "operator*", "Structural Impact": 1.1, @@ -20847,9 +20847,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": -1277.22, - "Y": -157.91, - "Z": 3368.76 + "X": -1277.32, + "Y": -157.93, + "Z": 3368.75 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -20861,27 +20861,27 @@ "Total LOC": 3582, "Coding LOC": 3071, "Documentation LOC": 76, - "Structural Magnitude": 4056.62, + "Structural Magnitude": 4078.72, "Control Flow Ratio": "70.1%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.578 + "Raw Cognitive Density": 1.577 }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "95.41%", "Error & Exception Exposure": "94.73%", "Tech Debt Exposure": "8.42%", "Testing Exposure": "80.0%", - "API Exposure": "12.23%", + "API Exposure": "12.31%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "100.0%", "Commented Logic Exposure": "4.86%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "55.28%", + "Documentation Exposure": "56.88%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -21355,6 +21355,36 @@ "Start Line": 1066, "End Line": 1072 }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2229, + "End Line": 2245 + }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2247, + "End Line": 2264 + }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2266, + "End Line": 2281 + }, { "Function Name": "Variant::ObjData::unref", "Structural Impact": 3.5, @@ -21615,6 +21645,26 @@ "Start Line": 182, "End Line": 187 }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2219, + "End Line": 2227 + }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2283, + "End Line": 2292 + }, { "Function Name": "_init_type_name_map", "Structural Impact": 2.4, @@ -21935,6 +21985,16 @@ "Start Line": 864, "End Line": 866 }, + { + "Function Name": "operator<", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1553, + "End Line": 1555 + }, { "Function Name": "Variant::Variant", "Structural Impact": 1.6, @@ -22365,16 +22425,6 @@ "Start Line": 1535, "End Line": 1537 }, - { - "Function Name": "operator<", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 1553, - "End Line": 1555 - }, { "Function Name": "Variant::operator String", "Structural Impact": 1.1, @@ -22421,13 +22471,13 @@ "Control Flow Branches": 1065, "Sequential Logic Declarations": 455, "Function Parameters": 171, - "Function/Method Declarations": 153, + "Function/Method Declarations": 158, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 21, "Type/Safety Bypasses": 1, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 148, + "Exposed API / Public Exports": 153, "State Mutations / Variable Reassignments": 2026, "Commented-out Code (Dead Logic)": 1, "Structured Documentation Blocks": 4, @@ -22543,9 +22593,9 @@ "Identity Proof": "Sibling Anchor (C++)" }, "2. Topological Coordinates": { - "X": -33.47, - "Y": 141.51, - "Z": 3412.45 + "X": -33.31, + "Y": 141.54, + "Z": 3412.51 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -22557,27 +22607,27 @@ "Total LOC": 985, "Coding LOC": 779, "Documentation LOC": 63, - "Structural Magnitude": 514.08, + "Structural Magnitude": 521.18, "Control Flow Ratio": "13.2%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.28 + "Raw Cognitive Density": 1.285 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "72.57%", + "Cognitive Load Exposure": "72.74%", "Error & Exception Exposure": "92.18%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "9.84%", + "API Exposure": "10.11%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "99.91%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "23.78%", + "Documentation Exposure": "26.61%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -22771,6 +22821,16 @@ "Start Line": 394, "End Line": 396 }, + { + "Function Name": "operator()", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 897, + "End Line": 899 + }, { "Function Name": "compare", "Structural Impact": 1.8, @@ -23032,24 +23092,44 @@ "End Line": 477 }, { - "Function Name": "Variant", + "Function Name": "operator BitField", "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 872, - "End Line": 872 + "Start Line": 478, + "End Line": 479 }, { - "Function Name": "operator()", + "Function Name": "operator TypedArray", "Structural Impact": 1.1, - "Lines of Code (LOC)": 3, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 897, - "End Line": 899 + "Start Line": 480, + "End Line": 481 + }, + { + "Function Name": "operator TypedDictionary", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 482, + "End Line": 483 + }, + { + "Function Name": "Variant", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 872, + "End Line": 872 }, { "Function Name": "Variant::_get_obj", @@ -23077,13 +23157,13 @@ "Control Flow Branches": 42, "Sequential Logic Declarations": 275, "Function Parameters": 217, - "Function/Method Declarations": 49, + "Function/Method Declarations": 52, "Class/Entity Declarations": 16, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 31, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 32, + "Exposed API / Public Exports": 35, "State Mutations / Variable Reassignments": 342, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 4, @@ -36781,7 +36861,7 @@ } }, "livecode/core": { - "Directory Group Magnitude": 26647.22, + "Directory Group Magnitude": 26670.22, "File Count": 11, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -38674,7 +38754,7 @@ "Total LOC": 7360, "Coding LOC": 5338, "Documentation LOC": 634, - "Structural Magnitude": 7085.06, + "Structural Magnitude": 7108.06, "Control Flow Ratio": "64.4%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -39278,6 +39358,16 @@ "Start Line": 7118, "End Line": 7164 }, + { + "Function Name": "__MCStringResolveIndirect", + "Structural Impact": 19.3, + "Lines of Code (LOC)": 74, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "76.9%", + "Start Line": 7244, + "End Line": 7317 + }, { "Function Name": "MCStringFirstIndexOfCharInRange", "Structural Impact": 19.1, @@ -39358,6 +39448,16 @@ "Start Line": 3605, "End Line": 3637 }, + { + "Function Name": "__MCStringCopyMutable", + "Structural Impact": 15.9, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "70.0%", + "Start Line": 7319, + "End Line": 7359 + }, { "Function Name": "MCStringContains", "Structural Impact": 15.6, @@ -39428,16 +39528,6 @@ "Start Line": 4755, "End Line": 4787 }, - { - "Function Name": "__MCStringResolveIndirect", - "Structural Impact": 14.7, - "Lines of Code (LOC)": 74, - "Control Flow Branches": 10, - "Input Parameters": 0, - "Control Flow Ratio": "76.9%", - "Start Line": 7244, - "End Line": 7317 - }, { "Function Name": "MCStringMapIndices", "Structural Impact": 14.6, @@ -39558,6 +39648,16 @@ "Start Line": 2994, "End Line": 3019 }, + { + "Function Name": "__MCStringMakeIndirect", + "Structural Impact": 11.6, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 7207, + "End Line": 7241 + }, { "Function Name": "__MCStringFetchCodepointAfter", "Structural Impact": 11.3, @@ -39708,16 +39808,6 @@ "Start Line": 6186, "End Line": 6218 }, - { - "Function Name": "__MCStringCopyMutable", - "Structural Impact": 10.1, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "70.0%", - "Start Line": 7319, - "End Line": 7359 - }, { "Function Name": "MCStringCreateMutable", "Structural Impact": 10.0, @@ -39788,16 +39878,6 @@ "Start Line": 5042, "End Line": 5063 }, - { - "Function Name": "__MCStringMakeIndirect", - "Structural Impact": 8.8, - "Lines of Code (LOC)": 35, - "Control Flow Branches": 6, - "Input Parameters": 0, - "Control Flow Ratio": "60.0%", - "Start Line": 7207, - "End Line": 7241 - }, { "Function Name": "MCStringDivideAtChar", "Structural Impact": 8.2, @@ -39878,6 +39958,16 @@ "Start Line": 6723, "End Line": 6743 }, + { + "Function Name": "__MCStringMakeImmutable", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "57.1%", + "Start Line": 7187, + "End Line": 7204 + }, { "Function Name": "__MCStringCountGraphemesInRange", "Structural Impact": 7.9, @@ -39898,6 +39988,16 @@ "Start Line": 3834, "End Line": 3854 }, + { + "Function Name": "__MCStringDestroy", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "80.0%", + "Start Line": 5909, + "End Line": 5922 + }, { "Function Name": "MCStringNormalizedCopyNFC", "Structural Impact": 7.8, @@ -40118,16 +40218,6 @@ "Start Line": 6964, "End Line": 6978 }, - { - "Function Name": "__MCStringMakeImmutable", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "57.1%", - "Start Line": 7187, - "End Line": 7204 - }, { "Function Name": "MCStringCreateWithCStringAndRelease", "Structural Impact": 5.8, @@ -40138,16 +40228,6 @@ "Start Line": 244, "End Line": 256 }, - { - "Function Name": "__MCStringDestroy", - "Structural Impact": 5.7, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "80.0%", - "Start Line": 5909, - "End Line": 5922 - }, { "Function Name": "MCStringEncodeAndRelease", "Structural Impact": 5.2, @@ -40288,6 +40368,16 @@ "Start Line": 6712, "End Line": 6721 }, + { + "Function Name": "__MCStringImmutableCopy", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "33.3%", + "Start Line": 5939, + "End Line": 5945 + }, { "Function Name": "MCStringConvertToCString", "Structural Impact": 4.2, @@ -40318,6 +40408,16 @@ "Start Line": 616, "End Line": 628 }, + { + "Function Name": "__MCStringCreateIndirect", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 7168, + "End Line": 7179 + }, { "Function Name": "MCStringCreateWithWString", "Structural Impact": 4.0, @@ -40578,16 +40678,6 @@ "Start Line": 1277, "End Line": 1288 }, - { - "Function Name": "__MCStringCreateIndirect", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 7168, - "End Line": 7179 - }, { "Function Name": "MCStringDecode", "Structural Impact": 2.5, @@ -40658,16 +40748,6 @@ "Start Line": 4857, "End Line": 4864 }, - { - "Function Name": "__MCStringImmutableCopy", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 5939, - "End Line": 5945 - }, { "Function Name": "MCSTR", "Structural Impact": 2.2, @@ -40848,6 +40928,26 @@ "Start Line": 6746, "End Line": 6751 }, + { + "Function Name": "__MCStringCopyDescription", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5924, + "End Line": 5927 + }, + { + "Function Name": "__MCStringIsEqualTo", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5934, + "End Line": 5937 + }, { "Function Name": "MCStringIsMutable", "Structural Impact": 1.8, @@ -40909,51 +41009,31 @@ "End Line": 6090 }, { - "Function Name": "is_valid_iconv_fd", + "Function Name": "__MCStringHash", "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 6363, - "End Line": 6366 - }, - { - "Function Name": "__MCStringCopyDescription", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 5924, - "End Line": 5927 - }, - { - "Function Name": "__MCStringHash", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", "Start Line": 5929, "End Line": 5932 }, { - "Function Name": "__MCStringIsEqualTo", - "Structural Impact": 1.2, + "Function Name": "is_valid_iconv_fd", + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 5934, - "End Line": 5937 + "Start Line": 6363, + "End Line": 6366 }, { "Function Name": "__MCStringIsIndirect", - "Structural Impact": 1.2, + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", "Start Line": 7182, "End Line": 7185 @@ -63033,7 +63113,7 @@ } }, "cobol/gnucobol_internals": { - "Directory Group Magnitude": 15668.75, + "Directory Group Magnitude": 15672.45, "File Count": 5, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -63081,7 +63161,7 @@ "Total LOC": 7364, "Coding LOC": 6537, "Documentation LOC": 315, - "Structural Magnitude": 10878.84, + "Structural Magnitude": 10882.54, "Control Flow Ratio": "78.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -63925,6 +64005,16 @@ "Start Line": 4989, "End Line": 5006 }, + { + "Function Name": "cob_get_filename_print", + "Structural Impact": 9.7, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "80.0%", + "Start Line": 7148, + "End Line": 7168 + }, { "Function Name": "cob_cache_del", "Structural Impact": 9.4, @@ -64125,16 +64215,6 @@ "Start Line": 6692, "End Line": 6710 }, - { - "Function Name": "cob_get_filename_print", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "80.0%", - "Start Line": 7148, - "End Line": 7168 - }, { "Function Name": "cob_fork_fileio", "Structural Impact": 5.8, @@ -84738,7 +84818,7 @@ } }, "csharp/roslyn": { - "Directory Group Magnitude": 15179.22, + "Directory Group Magnitude": 15239.02, "File Count": 7, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "85.7%", @@ -88359,7 +88439,7 @@ "Total LOC": 14680, "Coding LOC": 10808, "Documentation LOC": 1928, - "Structural Magnitude": 9394.56, + "Structural Magnitude": 9454.36, "Control Flow Ratio": "59.4%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -88383,6 +88463,16 @@ "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ + { + "Function Name": "ParseNamespaceBodyWorker", + "Structural Impact": 198.0, + "Lines of Code (LOC)": 285, + "Control Flow Branches": 74, + "Input Parameters": 5, + "Control Flow Ratio": "80.4%", + "Start Line": 562, + "End Line": 846 + }, { "Function Name": "ParseVariableDeclarator", "Structural Impact": 191.8, @@ -88403,16 +88493,6 @@ "Start Line": 11213, "End Line": 11343 }, - { - "Function Name": "ParseNamespaceBodyWorker", - "Structural Impact": 144.2, - "Lines of Code (LOC)": 285, - "Control Flow Branches": 74, - "Input Parameters": 2, - "Control Flow Ratio": "80.4%", - "Start Line": 562, - "End Line": 846 - }, { "Function Name": "ParsePrimaryExpression", "Structural Impact": 140.9, @@ -88793,6 +88873,16 @@ "Start Line": 7719, "End Line": 7853 }, + { + "Function Name": "ParseNamespaceBody", + "Structural Impact": 33.6, + "Lines of Code (LOC)": 136, + "Control Flow Branches": 11, + "Input Parameters": 4, + "Control Flow Ratio": "33.3%", + "Start Line": 410, + "End Line": 545 + }, { "Function Name": "IsTerminator", "Structural Impact": 33.2, @@ -88943,16 +89033,6 @@ "Start Line": 8548, "End Line": 8650 }, - { - "Function Name": "ParseNamespaceBody", - "Structural Impact": 27.6, - "Lines of Code (LOC)": 136, - "Control Flow Branches": 11, - "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 410, - "End Line": 545 - }, { "Function Name": "ParseLocalDeclarationStatement", "Structural Impact": 27.6, @@ -93128,7 +93208,7 @@ "7. Structural Signatures (Net Mitigated Signals)": { "Control Flow Branches": 2758, "Sequential Logic Declarations": 1882, - "Function Parameters": 630, + "Function Parameters": 632, "Function/Method Declarations": 474, "Class/Entity Declarations": 16, "Defensive Programming Constructs": 278, @@ -214417,7 +214497,7 @@ } }, "cpp/NVDA": { - "Directory Group Magnitude": 7611.24, + "Directory Group Magnitude": 7633.24, "File Count": 12, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "66.7%", @@ -220449,9 +220529,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": -4322.0, + "X": -4322.12, "Y": -11.18, - "Z": -1447.71 + "Z": -1447.6 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -220463,7 +220543,7 @@ "Total LOC": 1247, "Coding LOC": 1115, "Documentation LOC": 62, - "Structural Magnitude": 2100.1, + "Structural Magnitude": 2122.1, "Control Flow Ratio": "71.3%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -220539,10 +220619,10 @@ }, { "Function Name": "VBufStorage_buffer_t::replaceSubtrees", - "Structural Impact": 36.1, + "Structural Impact": 48.6, "Lines of Code (LOC)": 123, "Control Flow Branches": 29, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "74.4%", "Start Line": 642, "End Line": 764 @@ -220577,6 +220657,16 @@ "Start Line": 225, "End Line": 258 }, + { + "Function Name": "outputEscapedAttribute", + "Structural Impact": 21.0, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 9, + "Input Parameters": 3, + "Control Flow Ratio": "81.8%", + "Start Line": 130, + "End Line": 149 + }, { "Function Name": "VBufStorage_buffer_t::locateControlFieldNodeAtOffset", "Structural Impact": 20.6, @@ -220647,16 +220737,6 @@ "Start Line": 959, "End Line": 971 }, - { - "Function Name": "outputEscapedAttribute", - "Structural Impact": 11.0, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 9, - "Input Parameters": 0, - "Control Flow Ratio": "81.8%", - "Start Line": 130, - "End Line": 149 - }, { "Function Name": "VBufStorage_fieldNode_t::locateTextFieldNodeAtOffset", "Structural Impact": 9.5, @@ -221037,16 +221117,6 @@ "Start Line": 425, "End Line": 427 }, - { - "Function Name": "VBufStorage_buffer_t::VBufStorage_buffer_t", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 539, - "End Line": 541 - }, { "Function Name": "VBufStorage_fieldNode_t::getDebugInfo", "Structural Impact": 1.2, @@ -221106,6 +221176,16 @@ "Control Flow Ratio": "0.0%", "Start Line": 317, "End Line": 319 + }, + { + "Function Name": "VBufStorage_buffer_t::VBufStorage_buffer_t", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 539, + "End Line": 541 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -227495,7 +227575,7 @@ } }, "lua/redis": { - "Directory Group Magnitude": 6669.82, + "Directory Group Magnitude": 6709.02, "File Count": 6, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -227512,7 +227592,7 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "87.14%", + "Documentation Exposure": "87.31%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -228888,9 +228968,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 3025.72, - "Y": -312.15, - "Z": -5478.3 + "X": 3025.76, + "Y": -312.22, + "Z": -5478.71 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -228902,7 +228982,7 @@ "Total LOC": 1771, "Coding LOC": 1250, "Documentation LOC": 321, - "Structural Magnitude": 1356.0, + "Structural Magnitude": 1395.2, "Control Flow Ratio": "59.3%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -228922,7 +229002,7 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "91.82%", + "Documentation Exposure": "92.83%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -228936,6 +229016,16 @@ "Start Line": 582, "End Line": 766 }, + { + "Function Name": "luaCallFunction", + "Structural Impact": 55.3, + "Lines of Code (LOC)": 87, + "Control Flow Branches": 17, + "Input Parameters": 7, + "Control Flow Ratio": "94.4%", + "Start Line": 1662, + "End Line": 1748 + }, { "Function Name": "luaRedisGenericCommand", "Structural Impact": 41.7, @@ -228986,16 +229076,6 @@ "Start Line": 852, "End Line": 880 }, - { - "Function Name": "luaCallFunction", - "Structural Impact": 22.4, - "Lines of Code (LOC)": 87, - "Control Flow Branches": 17, - "Input Parameters": 0, - "Control Flow Ratio": "94.4%", - "Start Line": 1662, - "End Line": 1748 - }, { "Function Name": "luaRedisAclCheckCmdPermissionsCommand", "Structural Impact": 17.3, @@ -229226,6 +229306,16 @@ "Start Line": 1193, "End Line": 1210 }, + { + "Function Name": "luaSaveOnRegistry", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 144, + "End Line": 152 + }, { "Function Name": "luaProtectedTableError", "Structural Impact": 6.3, @@ -229286,6 +229376,16 @@ "Start Line": 1546, "End Line": 1554 }, + { + "Function Name": "luaGetFromRegistry", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "16.7%", + "Start Line": 157, + "End Line": 175 + }, { "Function Name": "luaMaskCountHook", "Structural Impact": 4.4, @@ -229337,24 +229437,24 @@ "End Line": 1242 }, { - "Function Name": "luaSaveOnRegistry", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "50.0%", - "Start Line": 144, - "End Line": 152 + "Function Name": "luaRegisterRedisAPI", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 91, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1452, + "End Line": 1542 }, { - "Function Name": "luaGetFromRegistry", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "16.7%", - "Start Line": 157, - "End Line": 175 + "Function Name": "luaRegisterLogFunction", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1429, + "End Line": 1450 }, { "Function Name": "luaLoadLib", @@ -229376,26 +229476,6 @@ "Start Line": 217, "End Line": 221 }, - { - "Function Name": "luaRegisterLogFunction", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 1429, - "End Line": 1450 - }, - { - "Function Name": "luaRegisterRedisAPI", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 91, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 1452, - "End Line": 1542 - }, { "Function Name": "luaPushError", "Structural Impact": 1.9, @@ -229406,6 +229486,16 @@ "Start Line": 563, "End Line": 565 }, + { + "Function Name": "luaRegisterVersion", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1419, + "End Line": 1427 + }, { "Function Name": "luaSetErrorMetatable", "Structural Impact": 1.7, @@ -229485,16 +229575,6 @@ "Control Flow Ratio": "0.0%", "Start Line": 1750, "End Line": 1752 - }, - { - "Function Name": "luaRegisterVersion", - "Structural Impact": 1.4, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 1419, - "End Line": 1427 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -251539,833 +251619,1236 @@ } } }, - "rust/wasmtime": { - "Directory Group Magnitude": 4875.28, - "File Count": 4, + "cpp/mlir": { + "Directory Group Magnitude": 4909.34, + "File Count": 6, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "23.76%", - "Error & Exception Exposure": "29.56%", - "Tech Debt Exposure": "73.11%", - "Testing Exposure": "21.84%", - "API Exposure": "4.0%", - "Concurrency Exposure": "17.75%", - "State Flux Exposure": "72.34%", - "Commented Logic Exposure": "6.32%", - "Specification Exposure": "100.0%", + "Cognitive Load Exposure": "44.93%", + "Error & Exception Exposure": "63.81%", + "Tech Debt Exposure": "65.7%", + "Testing Exposure": "41.02%", + "API Exposure": "0.27%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "55.73%", + "Commented Logic Exposure": "0.87%", + "Specification Exposure": "91.11%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "22.06%", + "Documentation Exposure": "12.6%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { - "rust/wasmtime/wasmtime_component_macro.rs": { + "cpp/mlir/flatbuffer_export.cc": { "1. Artifact Identity": { - "Filename": "wasmtime_component_macro.rs", - "Path": "rust/wasmtime/wasmtime_component_macro.rs", - "Language": "Rust", - "Architect": "Unknown Architect", + "Filename": "flatbuffer_export.cc", + "Path": "cpp/mlir/flatbuffer_export.cc", + "Language": "Cpp", + "Architect": "2022 The TensorFlow Authors. All Rights Reserved", "Indentation Style": "Spaces", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "rust", + "Folder Dominant Lang": "cpp", "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .rs)" + "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": -3442.01, - "Y": 139.99, - "Z": 2385.34 + "X": 6427.46, + "Y": 61.77, + "Z": 2662.59 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": null, + "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 56, - "Coding LOC": 42, - "Documentation LOC": 6, - "Structural Magnitude": 14.94, - "Control Flow Ratio": "0.0%", + "Total LOC": 4731, + "Coding LOC": 3850, + "Documentation LOC": 414, + "Structural Magnitude": 4351.2, + "Control Flow Ratio": "44.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.0 + "Raw Cognitive Density": 1.266 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "2.37%", - "Error & Exception Exposure": "0.0%", - "Tech Debt Exposure": "99.91%", - "Testing Exposure": "2.4%", - "API Exposure": "4.43%", + "Cognitive Load Exposure": "88.72%", + "Error & Exception Exposure": "95.0%", + "Tech Debt Exposure": "42.11%", + "Testing Exposure": "80.0%", + "API Exposure": "1.64%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "0.0%", - "Commented Logic Exposure": "0.0%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "5.19%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "48.47%", + "Documentation Exposure": "12.86%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "lift", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 13, - "End Line": 21 - }, - { - "Function Name": "lower", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 23, - "End Line": 31 - }, - { - "Function Name": "component_type", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 33, - "End Line": 41 + "Function Name": "Translator::BuildOperator", + "Structural Impact": 280.3, + "Lines of Code (LOC)": 776, + "Control Flow Branches": 107, + "Input Parameters": 4, + "Control Flow Ratio": "36.1%", + "Start Line": 2582, + "End Line": 3357 }, { - "Function Name": "flags", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 43, - "End Line": 48 + "Function Name": "Translator::BuildSubGraph", + "Structural Impact": 117.8, + "Lines of Code (LOC)": 235, + "Control Flow Branches": 52, + "Input Parameters": 3, + "Control Flow Ratio": "60.5%", + "Start Line": 3432, + "End Line": 3666 }, { - "Function Name": "bindgen", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 50, - "End Line": 55 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 0, - "Sequential Logic Declarations": 3, - "Function Parameters": 5, - "Function/Method Declarations": 5, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 0, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 5, - "State Mutations / Variable Reassignments": 0, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 6, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 0, - "Decorators and Annotations": 5, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 1, - "Authorship Metadata": 0, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 15, - "Pointer Arithmetic & Addressing": 5, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 5, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 24, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 0, - "Design Camel Case": 0, - "Design Snake Case": 0, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 4, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 3, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "Error", - "parse_macro_input", - "syn::DeriveInput" - ] - }, - "rust/wasmtime/wasmtime_instance.rs": { - "1. Artifact Identity": { - "Filename": "wasmtime_instance.rs", - "Path": "rust/wasmtime/wasmtime_instance.rs", - "Language": "Rust", - "Architect": "Unknown Architect", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "rust", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .rs)" - }, - "2. Topological Coordinates": { - "X": -3689.2, - "Y": 123.16, - "Z": 1245.68 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": null, - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 1209, - "Coding LOC": 750, - "Documentation LOC": 366, - "Structural Magnitude": 422.3, - "Control Flow Ratio": "24.2%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.424 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "10.67%", - "Error & Exception Exposure": "24.16%", - "Tech Debt Exposure": "83.2%", - "Testing Exposure": "2.41%", - "API Exposure": "4.93%", - "Concurrency Exposure": "56.73%", - "State Flux Exposure": "89.66%", - "Commented Logic Exposure": "20.39%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "run", - "Structural Impact": 46.2, - "Lines of Code (LOC)": 165, - "Control Flow Branches": 18, + "Function Name": "Translator::BuildBuffer", + "Structural Impact": 114.3, + "Lines of Code (LOC)": 206, + "Control Flow Branches": 51, "Input Parameters": 3, - "Control Flow Ratio": "45.0%", - "Start Line": 749, - "End Line": 913 + "Control Flow Ratio": "54.8%", + "Start Line": 1106, + "End Line": 1311 }, { - "Function Name": "assert_type_matches", - "Structural Impact": 13.3, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 3, - "Input Parameters": 7, - "Control Flow Ratio": "25.0%", - "Start Line": 1015, - "End Line": 1054 + "Function Name": "Translator::BuildTensor", + "Structural Impact": 95.2, + "Lines of Code (LOC)": 141, + "Control Flow Branches": 35, + "Input Parameters": 5, + "Control Flow Ratio": "61.4%", + "Start Line": 1422, + "End Line": 1562 }, { - "Function Name": "build_imports", - "Structural Impact": 12.7, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 4, - "Input Parameters": 4, - "Control Flow Ratio": "36.4%", - "Start Line": 983, - "End Line": 1013 + "Function Name": "GetTFLiteType", + "Structural Impact": 92.5, + "Lines of Code (LOC)": 84, + "Control Flow Branches": 50, + "Input Parameters": 2, + "Control Flow Ratio": "60.2%", + "Start Line": 187, + "End Line": 270 }, { - "Function Name": "get_typed_func", - "Structural Impact": 10.8, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 4, - "Input Parameters": 3, - "Control Flow Ratio": "40.0%", - "Start Line": 188, - "End Line": 202 + "Function Name": "Translator::BuildVhloCompositeV1Op", + "Structural Impact": 69.2, + "Lines of Code (LOC)": 132, + "Control Flow Branches": 27, + "Input Parameters": 4, + "Control Flow Ratio": "60.0%", + "Start Line": 2020, + "End Line": 2151 }, { - "Function Name": "_instantiate", - "Structural Impact": 9.2, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 3, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 1184, - "End Line": 1207 + "Function Name": "Translator::TranslateInternal", + "Structural Impact": 54.0, + "Lines of Code (LOC)": 241, + "Control Flow Branches": 41, + "Input Parameters": 0, + "Control Flow Ratio": "59.4%", + "Start Line": 4188, + "End Line": 4428 }, { - "Function Name": "get_module", - "Structural Impact": 8.9, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 3, - "Input Parameters": 3, - "Control Flow Ratio": "37.5%", - "Start Line": 220, - "End Line": 237 + "Function Name": "Translator::CreateFlexBuilderWithNodeAttrs", + "Structural Impact": 52.0, + "Lines of Code (LOC)": 70, + "Control Flow Branches": 27, + "Input Parameters": 2, + "Control Flow Ratio": "77.1%", + "Start Line": 1810, + "End Line": 1879 }, { - "Function Name": "resource_transfer_borrow", - "Structural Impact": 8.5, - "Lines of Code (LOC)": 23, - "Control Flow Branches": 2, + "Function Name": "CreateLocation", + "Structural Impact": 41.3, + "Lines of Code (LOC)": 92, + "Control Flow Branches": 14, "Input Parameters": 5, - "Control Flow Ratio": "25.0%", - "Start Line": 425, - "End Line": 447 + "Control Flow Ratio": "48.3%", + "Start Line": 3687, + "End Line": 3778 }, { - "Function Name": "new", - "Structural Impact": 7.3, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 721, - "End Line": 747 + "Function Name": "BuildSignaturedef", + "Structural Impact": 35.3, + "Lines of Code (LOC)": 79, + "Control Flow Branches": 13, + "Input Parameters": 4, + "Control Flow Ratio": "50.0%", + "Start Line": 3988, + "End Line": 4066 }, { - "Function Name": "new_unchecked", - "Structural Impact": 7.1, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 2, + "Function Name": "CreateFlexbufferVector", + "Structural Impact": 32.0, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 14, "Input Parameters": 3, - "Control Flow Ratio": "50.0%", - "Start Line": 1116, - "End Line": 1137 + "Control Flow Ratio": "82.4%", + "Start Line": 1901, + "End Line": 1940 }, { - "Function Name": "get_func", - "Structural Impact": 7.0, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "20.0%", - "Start Line": 155, - "End Line": 175 + "Function Name": "IsValidTFLiteMlirModule", + "Structural Impact": 30.4, + "Lines of Code (LOC)": 71, + "Control Flow Branches": 18, + "Input Parameters": 1, + "Control Flow Ratio": "43.9%", + "Start Line": 418, + "End Line": 488 }, { - "Function Name": "get_resource", - "Structural Impact": 6.9, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "28.6%", - "Start Line": 255, - "End Line": 272 + "Function Name": "Translator::BuildSparsityParameters", + "Structural Impact": 28.9, + "Lines of Code (LOC)": 97, + "Control Flow Branches": 16, + "Input Parameters": 1, + "Control Flow Ratio": "72.7%", + "Start Line": 4550, + "End Line": 4646 }, { - "Function Name": "options_memory_raw", - "Structural Impact": 6.8, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 2, + "Function Name": "Translator::BuildIfOperator", + "Structural Impact": 22.6, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 9, "Input Parameters": 3, - "Control Flow Ratio": "28.6%", - "Start Line": 461, - "End Line": 477 + "Control Flow Ratio": "28.1%", + "Start Line": 1648, + "End Line": 1700 }, { - "Function Name": "lookup_vmexport", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "11.1%", - "Start Line": 609, - "End Line": 644 + "Function Name": "GetOpDescriptionForDebug", + "Structural Impact": 22.2, + "Lines of Code (LOC)": 48, + "Control Flow Branches": 13, + "Input Parameters": 1, + "Control Flow Ratio": "81.2%", + "Start Line": 309, + "End Line": 356 }, { - "Function Name": "lookup_vmdef", - "Structural Impact": 5.7, - "Lines of Code (LOC)": 34, - "Control Flow Branches": 1, + "Function Name": "Translator::Translate", + "Structural Impact": 20.4, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 8, "Input Parameters": 3, - "Control Flow Ratio": "20.0%", - "Start Line": 572, - "End Line": 605 + "Control Flow Ratio": "38.1%", + "Start Line": 4138, + "End Line": 4186 }, { - "Function Name": "_get_export", - "Structural Impact": 5.6, + "Function Name": "GetStringsFromDictionaryAttr", + "Structural Impact": 20.2, "Lines of Code (LOC)": 22, - "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "20.0%", - "Start Line": 298, - "End Line": 319 + "Control Flow Branches": 10, + "Input Parameters": 2, + "Control Flow Ratio": "62.5%", + "Start Line": 3965, + "End Line": 3986 }, { - "Function Name": "resource_transfer_own", - "Structural Impact": 5.4, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 5, - "Control Flow Ratio": "20.0%", - "Start Line": 413, - "End Line": 423 + "Function Name": "Translator::BuildVhloRngBitGeneratorV1Op", + "Structural Impact": 19.5, + "Lines of Code (LOC)": 33, + "Control Flow Branches": 7, + "Input Parameters": 4, + "Control Flow Ratio": "77.8%", + "Start Line": 2451, + "End Line": 2483 }, { - "Function Name": "get_export_index", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "20.0%", - "Start Line": 334, - "End Line": 346 + "Function Name": "Translator::BuildTensorFromType", + "Structural Impact": 18.0, + "Lines of Code (LOC)": 48, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "53.3%", + "Start Line": 1373, + "End Line": 1420 }, { - "Function Name": "resource", - "Structural Impact": 5.0, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "11.1%", - "Start Line": 915, - "End Line": 934 + "Function Name": "Translator::UpdateBufferOffsets", + "Structural Impact": 18.0, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "45.5%", + "Start Line": 4500, + "End Line": 4548 }, { - "Function Name": "options_memory", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 1, + "Function Name": "Translator::BuildStablehloRngBitGeneratorOp", + "Structural Impact": 17.5, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 7, "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 479, - "End Line": 496 + "Control Flow Ratio": "77.8%", + "Start Line": 2249, + "End Line": 2278 }, { - "Function Name": "options_memory_mut", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "14.3%", - "Start Line": 498, - "End Line": 513 + "Function Name": "CreateOpLocation", + "Structural Impact": 16.5, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 5, + "Input Parameters": 5, + "Control Flow Ratio": "45.5%", + "Start Line": 3783, + "End Line": 3819 }, { - "Function Name": "lookup_export", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 348, - "End Line": 356 + "Function Name": "Translator::InitializeNamesFromAttribute", + "Structural Impact": 15.7, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "41.2%", + "Start Line": 3359, + "End Line": 3394 }, { - "Function Name": "extract_memory", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, + "Function Name": "Translator::BuildWhileOperator", + "Structural Impact": 15.6, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 6, "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 936, - "End Line": 944 + "Control Flow Ratio": "30.0%", + "Start Line": 1615, + "End Line": 1646 }, { - "Function Name": "extract_table", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "20.0%", - "Start Line": 973, - "End Line": 981 + "Function Name": "Translator", + "Structural Impact": 15.1, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 3, + "Input Parameters": 9, + "Control Flow Ratio": "30.0%", + "Start Line": 654, + "End Line": 702 }, { - "Function Name": "extract_realloc", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 3, + "Function Name": "Translator::BuildVhloCaseOp", + "Structural Impact": 14.4, + "Lines of Code (LOC)": 64, + "Control Flow Branches": 4, + "Input Parameters": 4, "Control Flow Ratio": "25.0%", - "Start Line": 946, - "End Line": 953 + "Start Line": 2517, + "End Line": 2580 }, { - "Function Name": "extract_callback", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 955, - "End Line": 962 + "Function Name": "Translator::CreateMetadataVector", + "Structural Impact": 14.2, + "Lines of Code (LOC)": 63, + "Control Flow Branches": 10, + "Input Parameters": 0, + "Control Flow Ratio": "58.8%", + "Start Line": 3887, + "End Line": 3949 }, { - "Function Name": "extract_post_return", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 964, - "End Line": 971 + "Function Name": "Translator::AppendBufferData", + "Structural Impact": 13.4, + "Lines of Code (LOC)": 69, + "Control Flow Branches": 9, + "Input Parameters": 0, + "Control Flow Ratio": "39.1%", + "Start Line": 4430, + "End Line": 4498 }, { - "Function Name": "component_and_store_mut", - "Structural Impact": 4.1, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 520, - "End Line": 567 + "Function Name": "UpdateEntryFunction", + "Structural Impact": 12.5, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "43.8%", + "Start Line": 4110, + "End Line": 4133 }, { - "Function Name": "instantiate", - "Structural Impact": 4.0, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, + "Function Name": "Translator::BuildExternalBuffer", + "Structural Impact": 12.2, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 5, "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 1163, - "End Line": 1173 + "Control Flow Ratio": "38.5%", + "Start Line": 1068, + "End Line": 1104 }, { - "Function Name": "resource_new32", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, + "Function Name": "Translator::BuildCustomOperator", + "Structural Impact": 11.6, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 3, "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 377, - "End Line": 386 + "Control Flow Ratio": "33.3%", + "Start Line": 1733, + "End Line": 1785 }, { - "Function Name": "resource_rep32", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 390, - "End Line": 399 + "Function Name": "Translator::ExtractControlEdges", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 45, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 4648, + "End Line": 4692 }, { - "Function Name": "resource_drop", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, + "Function Name": "MlirToFlatBufferTranslateFunction", + "Structural Impact": 10.1, + "Lines of Code (LOC)": 23, + "Control Flow Branches": 3, "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 402, - "End Line": 411 + "Control Flow Ratio": "37.5%", + "Start Line": 4706, + "End Line": 4728 }, { - "Function Name": "get_export", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 289, - "End Line": 296 + "Function Name": "HasValidTFLiteType", + "Structural Impact": 10.0, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "28.6%", + "Start Line": 385, + "End Line": 411 }, { - "Function Name": "options", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 453, - "End Line": 459 + "Function Name": "Translator::GetQuantizationForQuantStatsOpOutput", + "Structural Impact": 9.9, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "62.5%", + "Start Line": 3402, + "End Line": 3430 }, { - "Function Name": "instance_pre", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 359, - "End Line": 369 + "Function Name": "Translator::SerializeDebugMetadata", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 64, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 3822, + "End Line": 3885 }, { - "Function Name": "lookup_vmdef", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 449, - "End Line": 451 + "Function Name": "Translator::BuildTFVariantType", + "Structural Impact": 8.5, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "44.4%", + "Start Line": 1343, + "End Line": 1371 }, { - "Function Name": "lookup", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, + "Function Name": "Translator::GetOpcodeIndex", + "Structural Impact": 7.9, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 3, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 672, - "End Line": 678 + "Control Flow Ratio": "50.0%", + "Start Line": 1881, + "End Line": 1899 }, { - "Function Name": "from_wasmtime", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 55, - "End Line": 59 + "Function Name": "IsTFResourceOp", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "36.4%", + "Start Line": 279, + "End Line": 293 }, { - "Function Name": "instance_resource_types_mut", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1072, - "End Line": 1077 + "Function Name": "Translator::BuildVhloScatterV1Op", + "Structural Impact": 7.1, + "Lines of Code (LOC)": 52, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "14.3%", + "Start Line": 2350, + "End Line": 2401 }, { - "Function Name": "lookup", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 666, - "End Line": 668 + "Function Name": "Translator::BuildVhloReduceWindowV1Op", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 47, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "10.0%", + "Start Line": 2403, + "End Line": 2449 }, { - "Function Name": "lookup", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 682, - "End Line": 684 + "Function Name": "Translator::BuildStablehloScatterOp", + "Structural Impact": 6.7, + "Lines of Code (LOC)": 54, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "14.3%", + "Start Line": 2153, + "End Line": 2206 }, { - "Function Name": "instance", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, + "Function Name": "GetOpsSummary", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 2, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1058, - "End Line": 1060 + "Control Flow Ratio": "40.0%", + "Start Line": 360, + "End Line": 383 }, { - "Function Name": "instance_mut", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "Translator::GetOperatorDebugMetadataIndex", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "37.5%", + "Start Line": 1328, + "End Line": 1341 + }, + { + "Function Name": "GetTflitePadding", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 508, + "End Line": 523 + }, + { + "Function Name": "Translator::BuildStablehloReduceWindowOp", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "9.1%", + "Start Line": 2208, + "End Line": 2247 + }, + { + "Function Name": "Translator::BuildIfOperator", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "16.7%", + "Start Line": 1564, + "End Line": 1587 + }, + { + "Function Name": "GetTflitePoolParams", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "16.7%", + "Start Line": 529, + "End Line": 546 + }, + { + "Function Name": "Translator::CreateFlexOpCustomOptions", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1787, + "End Line": 1802 + }, + { + "Function Name": "Translator::BuildVhloGatherV1Op", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 42, "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2307, + "End Line": 2348 + }, + { + "Function Name": "Translator::UnnamedRegionToSubgraph", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1313, + "End Line": 1326 + }, + { + "Function Name": "Translator::CreateSignatureDefs", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "12.5%", + "Start Line": 4082, + "End Line": 4108 + }, + { + "Function Name": "Translator::GetList", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 4068, + "End Line": 4080 + }, + { + "Function Name": "Translator::BuildStablehloGatherOp", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 39, + "Control Flow Branches": 0, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 1063, - "End Line": 1065 + "Start Line": 1980, + "End Line": 2018 }, { - "Function Name": "clone", - "Structural Impact": 1.9, + "Function Name": "GetStringsFromAttrWithSeparator", + "Structural Impact": 3.9, "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 3953, + "End Line": 3961 + }, + { + "Function Name": "Translator::BuildVhloPadV1Op", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 31, "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2485, + "End Line": 2515 + }, + { + "Function Name": "Translator::IsStatefulOperand", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 3396, + "End Line": 3400 + }, + { + "Function Name": "GetTensorFlowNodeDef", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 490, + "End Line": 504 + }, + { + "Function Name": "Translator::EstimateArithmeticCount", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 1, "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 1048, + "End Line": 1062 + }, + { + "Function Name": "Translator::BuildNumericVerifyOperator", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 0, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 1098, - "End Line": 1106 + "Start Line": 1702, + "End Line": 1731 }, { - "Function Name": "instance_type", - "Structural Impact": 1.9, + "Function Name": "Translator::BuildVhloPrecisionConfigV1", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 1968, + "End Line": 1978 + }, + { + "Function Name": "Translator::BuildStablehloPrecisionConfig", + "Structural Impact": 3.3, "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 1957, + "End Line": 1966 + }, + { + "Function Name": "Translator::BuildStablehloPadOp", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 2280, + "End Line": 2305 + }, + { + "Function Name": "Translator::BuildCallOnceOperator", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 25, "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 1589, + "End Line": 1613 + }, + { + "Function Name": "IsUnsupportedFlexOp", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 1, "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 296, + "End Line": 298 + }, + { + "Function Name": "Translator::BuildStablehloOperatorwithoutOptions", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 0, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1144, - "End Line": 1153 + "Start Line": 1942, + "End Line": 1955 }, { - "Function Name": "instantiate_async", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "Insert", + "Structural Impact": 2.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 5, + "Control Flow Ratio": "0.0%", + "Start Line": 617, + "End Line": 623 + }, + { + "Function Name": "ExportBuffer", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 580, + "End Line": 585 + }, + { + "Function Name": "MlirToFlatBufferTranslateFunction", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 4698, + "End Line": 4702 + }, + { + "Function Name": "Translator::BuildMetadata", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 8, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1179, - "End Line": 1182 + "Start Line": 3668, + "End Line": 3675 }, { - "Function Name": "lookup", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, + "Function Name": "Translator::CreateCustomOpCustomOptions", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 658, - "End Line": 659 + "Start Line": 1804, + "End Line": 1808 }, { - "Function Name": "id", - "Structural Impact": 1.6, + "Function Name": "Insert", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 625, + "End Line": 627 + }, + { + "Function Name": "IsConst", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 371, - "End Line": 373 + "Start Line": 272, + "End Line": 277 }, { - "Function Name": "component", + "Function Name": "IsUnsupportedLocation", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 303, + "End Line": 306 + }, + { + "Function Name": "ApplyData", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 587, + "End Line": 590 + }, + { + "Function Name": "Translator::UniqueName", "Structural Impact": 1.6, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1140, - "End Line": 1142 + "Start Line": 1064, + "End Line": 1066 }, { - "Function Name": "engine", + "Function Name": "operator()", "Structural Impact": 1.6, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1156, - "End Line": 1158 + "Start Line": 3679, + "End Line": 3681 + }, + { + "Function Name": "GetData", + "Structural Impact": 1.4, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 592, + "End Line": 600 + }, + { + "Function Name": "hash", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 602, + "End Line": 602 + }, + { + "Function Name": "byte_size_hint", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 603, + "End Line": 603 + }, + { + "Function Name": "buffers", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 629, + "End Line": 629 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 66, - "Sequential Logic Declarations": 207, - "Function Parameters": 54, - "Function/Method Declarations": 49, + "Control Flow Branches": 660, + "Sequential Logic Declarations": 841, + "Function Parameters": 119, + "Function/Method Declarations": 81, "Class/Entity Declarations": 6, - "Defensive Programming Constructs": 101, - "Type/Safety Bypasses": 7, + "Defensive Programming Constructs": 79, + "Type/Safety Bypasses": 0, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 32, - "State Mutations / Variable Reassignments": 88, - "Commented-out Code (Dead Logic)": 22, - "Structured Documentation Blocks": 234, - "Unit Test Assertions": 7, - "Asynchronous/Concurrent Execution": 22, + "Exposed API / Public Exports": 3, + "State Mutations / Variable Reassignments": 2707, + "Commented-out Code (Dead Logic)": 5, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 1, + "Closures and Anonymous Functions": 25, + "Global State Dependencies": 14, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 5, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 1, + "Module Dependencies (Imports)": 116, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 7, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 290, + "Manual Memory Allocation": 0, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 105, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 4, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 228, + "Resource Deallocation & Cleanup": 1, + "Private / Encapsulated Scopes": 3, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 3520, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 1, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 753, + "Design Camel Case": 17, + "Design Snake Case": 730, + "Design Pascal Case": 6, + "Design Upper Case": 0, + "Design Short Vars": 27, + "Design Long Vars": 27, + "Duplicate Logic": 0, + "Orphaned Logic": 52, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 2, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 116, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "absl/algorithm/container.h", + "absl/base/attributes.h", + "absl/container/flat_hash_map.h", + "absl/container/flat_hash_set.h", + "absl/functional/any_invocable.h", + "absl/functional/function_ref.h", + "absl/log/check.h", + "absl/log/log.h", + "absl/status/status.h", + "absl/strings/match.h", + "absl/strings/str_cat.h", + "absl/strings/str_format.h", + "absl/strings/str_join.h", + "absl/strings/string_view.h", + "algorithm", + "cassert", + "cstdint", + "cstdio", + "cstring", + "flatbuffers/buffer.h", + "flatbuffers/flatbuffer_builder.h", + "flatbuffers/flexbuffers.h", + "flatbuffers/vector.h", + "functional", + "iterator", + "limits", + "llvm/ADT/ArrayRef.h", + "llvm/ADT/DenseMap.h", + "llvm/ADT/STLExtras.h", + "llvm/ADT/SmallVector.h", + "llvm/ADT/StringRef.h", + "llvm/ADT/StringSwitch.h", + "llvm/Support/Casting.h", + "llvm/Support/FormatVariadic.h", + "llvm/Support/SwapByteOrder.h", + "llvm/Support/raw_ostream.h", + "map", + "memory", + "mlir/Dialect/Arith/IR/Arith.h", + "mlir/Dialect/Func/IR/FuncOps.h", + "mlir/Dialect/Quant/IR/QuantTypes.h", + "mlir/IR/Attributes.h", + "mlir/IR/Builders.h", + "mlir/IR/BuiltinAttributeInterfaces.h", + "mlir/IR/BuiltinAttributes.h", + "mlir/IR/BuiltinOps.h", + "mlir/IR/BuiltinTypeInterfaces.h", + "mlir/IR/BuiltinTypes.h", + "mlir/IR/Diagnostics.h", + "mlir/IR/DialectResourceBlobManager.h", + "mlir/IR/Location.h", + "mlir/IR/MLIRContext.h", + "mlir/IR/OpDefinition.h", + "mlir/IR/Operation.h", + "mlir/IR/PatternMatch.h", + "mlir/IR/TypeUtilities.h", + "mlir/IR/Types.h", + "mlir/IR/Value.h", + "mlir/IR/Visitors.h", + "mlir/Support/LLVM.h", + "mlir/Support/LogicalResult.h", + "optional", + "set", + "stablehlo/dialect/StablehloOps.h", + "stablehlo/dialect/VhloOps.h", + "stddef.h", + "stdlib.h", + "string", + "tensorflow/compiler/mlir/lite/converter_flags.pb.h", + "tensorflow/compiler/mlir/lite/core/c/builtin_op_data.h", + "tensorflow/compiler/mlir/lite/core/macros.h", + "tensorflow/compiler/mlir/lite/delegates/flex/allowlisted_flex_ops.h", + "tensorflow/compiler/mlir/lite/experimental/remat/metadata_util.h", + "tensorflow/compiler/mlir/lite/flatbuffer_export.h", + "tensorflow/compiler/mlir/lite/flatbuffer_operator.h", + "tensorflow/compiler/mlir/lite/ir/tfl_ops.h", + "tensorflow/compiler/mlir/lite/metrics/converter_error_data.pb.h", + "tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h", + "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.h", + "tensorflow/compiler/mlir/lite/schema/mutable/debug_metadata_generated.h", + "tensorflow/compiler/mlir/lite/schema/mutable/schema_generated.h", + "tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h", + "tensorflow/compiler/mlir/lite/schema/schema_generated.h", + "tensorflow/compiler/mlir/lite/tools/versioning/op_version.h", + "tensorflow/compiler/mlir/lite/tools/versioning/runtime_version.h", + "tensorflow/compiler/mlir/lite/utils/const_tensor_utils.h", + "tensorflow/compiler/mlir/lite/utils/control_edges.h", + "tensorflow/compiler/mlir/lite/utils/convert_type.h", + "tensorflow/compiler/mlir/lite/utils/low_bit_utils.h", + "tensorflow/compiler/mlir/lite/utils/metadata_utils.h", + "tensorflow/compiler/mlir/lite/utils/mlir_module_utils.h", + "tensorflow/compiler/mlir/lite/utils/region_isolation.h", + "tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h", + "tensorflow/compiler/mlir/lite/utils/string_utils.h", + "tensorflow/compiler/mlir/lite/version.h", + "tensorflow/compiler/mlir/op_or_arg_name_mapper.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h", + "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h", + "tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.h", + "tensorflow/compiler/mlir/tensorflow/utils/translate_utils.h", + "tensorflow/core/framework/attr_value.pb.h", + "tensorflow/core/framework/node_def.pb.h", + "tensorflow/core/framework/op.h", + "tensorflow/core/framework/tensor.h", + "tensorflow/core/framework/types.pb.h", + "tensorflow/core/platform/tstring.h", + "tsl/platform/tstring.h", + "type_traits", + "unordered_map", + "unordered_set", + "utility", + "vector" + ] + }, + "cpp/mlir/mlir_bridge_rollout_policy.cc": { + "1. Artifact Identity": { + "Filename": "mlir_bridge_rollout_policy.cc", + "Path": "cpp/mlir/mlir_bridge_rollout_policy.cc", + "Language": "Cpp", + "Architect": "2020 The TensorFlow Authors. All Rights Reserved", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "cpp", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .cc)" + }, + "2. Topological Coordinates": { + "X": 6676.75, + "Y": -91.82, + "Z": 2961.17 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": "Unclassified", + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 51, + "Coding LOC": 27, + "Documentation LOC": 13, + "Structural Magnitude": 19.04, + "Control Flow Ratio": "44.4%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.37 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "17.97%", + "Error & Exception Exposure": "53.5%", + "Tech Debt Exposure": "99.88%", + "Testing Exposure": "2.62%", + "API Exposure": "0.0%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "0.0%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "11.92%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "GetMlirBridgeRolloutPolicy", + "Structural Impact": 14.1, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 4, + "Input Parameters": 6, + "Control Flow Ratio": "57.1%", + "Start Line": 27, + "End Line": 43 + }, + { + "Function Name": "LogGraphFeatures", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 45, + "End Line": 48 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 4, + "Sequential Logic Declarations": 5, + "Function Parameters": 1, + "Function/Method Declarations": 2, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 2, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 2, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 0, "Global State Dependencies": 0, - "Decorators and Annotations": 6, - "Generic Type Abstractions": 106, - "Collection Iterators / Comprehensions": 4, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 2, - "Module Dependencies (Imports)": 18, - "Authorship Metadata": 0, - "Planned Work (TODOs)": 3, - "Acknowledged Tech Debt (FIXMEs)": 2, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 6, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 47, - "Manual Memory Allocation": 2, + "Pointer Arithmetic & Addressing": 0, + "Manual Memory Allocation": 0, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, "Ad-hoc Print / Debug Statements": 0, "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 1, + "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 9, + "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 5, + "Immutable Data Declarations": 4, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 32, + "Private / Encapsulated Scopes": 0, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, "Structural Tab Indentations": 0, - "Structural Space Indentations": 692, + "Structural Space Indentations": 16, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -252382,15 +252865,15 @@ "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 102, + "Core Var Decl": 0, "Design Camel Case": 0, - "Design Snake Case": 83, - "Design Pascal Case": 7, + "Design Snake Case": 0, + "Design Pascal Case": 0, "Design Upper Case": 0, - "Design Short Vars": 22, + "Design Short Vars": 0, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 16, + "Orphaned Logic": 2, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -252414,716 +252897,553 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 43, + "Direct Upstream (Fragility)": 6, "Direct Downstream (Dependency Blast Radius)": 0, "Total Upstream (Absolute Fragility)": 0, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "AsContextMut", - "Asyncness", - "ComponentExportIndex", - "ComponentNamedList", - "Engine", - "EntityType", - "Func", - "Lift", - "Linker", - "Lower", - "Module", - "PrimaryMap", - "ResourceType", - "Store", - "StoreComponentInstanceId", - "StoreContextMut", - "StoreOpaque", - "TypedFunc", - "TypedResource", - "TypedResourceIndex", - "VMFuncRef", - "alloc::sync::Arc", - "component::*", - "core::marker", - "core::pin::Pin", - "core::ptr::NonNull", - "crate::AsContext", - "crate::component::\n Component", - "crate::component::RuntimeInstance", - "crate::component::func::HostFunc", - "crate::component::matching::InstanceType", - "crate::component::store::ComponentInstanceId", - "crate::instance::OwnedImports", - "crate::linker::DefinitionType", - "crate::prelude::*", - "crate::runtime::vm::component::ComponentInstance", - "crate::runtime::vm::self", - "crate::store::AsStoreOpaque", - "types::ComponentItem", - "wasmtime::Engine", - "wasmtime::component::Component", - "wasmtime_environ::EngineOrModuleTypeIndex", - "wasmtime_environ::EntityIndex" + "optional", + "tensorflow/compiler/jit/flags.h", + "tensorflow/compiler/mlir/tf2xla/mlir_bridge_rollout_policy.h", + "tensorflow/core/framework/function.h", + "tensorflow/core/graph/graph.h", + "tensorflow/core/protobuf/config.pb.h" ] }, - "rust/wasmtime/wasmtime_isle_parser.rs": { + "cpp/mlir/mlir_graph_optimization_pass.cc": { "1. Artifact Identity": { - "Filename": "wasmtime_isle_parser.rs", - "Path": "rust/wasmtime/wasmtime_isle_parser.rs", - "Language": "Rust", - "Architect": "Unknown Architect", + "Filename": "mlir_graph_optimization_pass.cc", + "Path": "cpp/mlir/mlir_graph_optimization_pass.cc", + "Language": "Cpp", + "Architect": "2020 The TensorFlow Authors. All Rights Reserved", "Indentation Style": "Spaces", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "rust", + "Folder Dominant Lang": "cpp", "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .rs)" + "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": -4072.27, - "Y": 229.78, - "Z": 2304.3 + "X": 6071.73, + "Y": -26.07, + "Z": 2817.78 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": null, + "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 983, - "Coding LOC": 892, - "Documentation LOC": 19, - "Structural Magnitude": 860.94, - "Control Flow Ratio": "58.5%", + "Total LOC": 540, + "Coding LOC": 417, + "Documentation LOC": 57, + "Structural Magnitude": 339.14, + "Control Flow Ratio": "48.7%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.818 + "Raw Cognitive Density": 1.209 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "49.79%", - "Error & Exception Exposure": "13.43%", - "Tech Debt Exposure": "9.31%", - "Testing Exposure": "2.56%", - "API Exposure": "2.01%", + "Cognitive Load Exposure": "86.25%", + "Error & Exception Exposure": "84.33%", + "Tech Debt Exposure": "19.45%", + "Testing Exposure": "80.0%", + "API Exposure": "0.0%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "99.73%", + "State Flux Exposure": "100.0%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "15.94%", + "Documentation Exposure": "13.75%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "parse_spec_expr", - "Structural Impact": 53.9, - "Lines of Code (LOC)": 59, - "Control Flow Branches": 35, - "Input Parameters": 1, - "Control Flow Ratio": "61.4%", - "Start Line": 414, - "End Line": 472 - }, - { - "Function Name": "parse_pattern", - "Structural Impact": 53.3, - "Lines of Code (LOC)": 47, + "Function Name": "MlirFunctionOptimizationPass::Run", + "Structural Impact": 119.5, + "Lines of Code (LOC)": 229, "Control Flow Branches": 35, - "Input Parameters": 1, - "Control Flow Ratio": "77.8%", - "Start Line": 829, - "End Line": 875 - }, - { - "Function Name": "parse_model_type", - "Structural Impact": 34.1, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 22, - "Input Parameters": 1, - "Control Flow Ratio": "78.6%", - "Start Line": 623, - "End Line": 654 - }, - { - "Function Name": "parse_model", - "Structural Impact": 34.0, - "Lines of Code (LOC)": 57, - "Control Flow Branches": 21, - "Input Parameters": 1, - "Control Flow Ratio": "47.7%", - "Start Line": 565, - "End Line": 621 - }, - { - "Function Name": "parse_expr", - "Structural Impact": 30.9, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 20, - "Input Parameters": 1, - "Control Flow Ratio": "76.9%", - "Start Line": 914, - "End Line": 937 - }, - { - "Function Name": "parse_spec", - "Structural Impact": 30.7, - "Lines of Code (LOC)": 49, - "Control Flow Branches": 19, - "Input Parameters": 1, - "Control Flow Ratio": "61.3%", - "Start Line": 364, - "End Line": 412 - }, - { - "Function Name": "parse_extern", - "Structural Impact": 25.6, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 16, - "Input Parameters": 1, - "Control Flow Ratio": "61.5%", - "Start Line": 740, - "End Line": 770 - }, - { - "Function Name": "parse_def", - "Structural Impact": 23.7, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 15, - "Input Parameters": 1, - "Control Flow Ratio": "75.0%", - "Start Line": 179, - "End Line": 200 + "Input Parameters": 8, + "Control Flow Ratio": "68.6%", + "Start Line": 176, + "End Line": 404 }, { - "Function Name": "parse_iflet_or_expr", - "Structural Impact": 23.6, - "Lines of Code (LOC)": 19, + "Function Name": "MlirV1CompatGraphOptimizationPass::Run", + "Structural Impact": 28.9, + "Lines of Code (LOC)": 126, "Control Flow Branches": 15, "Input Parameters": 1, - "Control Flow Ratio": "78.9%", - "Start Line": 877, - "End Line": 895 + "Control Flow Ratio": "48.4%", + "Start Line": 412, + "End Line": 537 }, { - "Function Name": "parse_expr_inner_parens", - "Structural Impact": 21.8, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 11, + "Function Name": "DumpModule", + "Structural Impact": 12.4, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 5, "Input Parameters": 2, - "Control Flow Ratio": "55.0%", - "Start Line": 939, - "End Line": 958 - }, - { - "Function Name": "str_to_ident", - "Structural Impact": 21.1, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 9, - "Input Parameters": 3, - "Control Flow Ratio": "75.0%", - "Start Line": 202, - "End Line": 223 - }, - { - "Function Name": "parse_typevalue", - "Structural Impact": 19.3, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 12, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 282, - "End Line": 300 - }, - { - "Function Name": "parse_rule", - "Structural Impact": 18.9, - "Lines of Code (LOC)": 38, - "Control Flow Branches": 11, - "Input Parameters": 1, - "Control Flow Ratio": "57.9%", - "Start Line": 790, - "End Line": 827 - }, - { - "Function Name": "parse_decl", - "Structural Impact": 17.1, - "Lines of Code (LOC)": 30, - "Control Flow Branches": 10, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 333, - "End Line": 362 + "Control Flow Ratio": "27.8%", + "Start Line": 117, + "End Line": 157 }, { - "Function Name": "parse_type", - "Structural Impact": 14.2, - "Lines of Code (LOC)": 30, - "Control Flow Branches": 8, + "Function Name": "RegisterDialects", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "42.1%", - "Start Line": 251, - "End Line": 280 + "Control Flow Ratio": "0.0%", + "Start Line": 164, + "End Line": 174 }, { - "Function Name": "parse_type_variant", - "Structural Impact": 13.8, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 8, + "Function Name": "StringRefToView", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "53.3%", - "Start Line": 302, - "End Line": 322 + "Control Flow Ratio": "0.0%", + "Start Line": 110, + "End Line": 112 }, { - "Function Name": "parse_tagged_types", - "Structural Impact": 12.8, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 6, - "Input Parameters": 2, - "Control Flow Ratio": "54.5%", - "Start Line": 690, - "End Line": 702 + "Function Name": "MlirOptimizationPassRegistry::Global", + "Structural Impact": 1.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 159, + "End Line": 162 }, { - "Function Name": "parse_spec_bit_vector", - "Structural Impact": 12.4, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "58.3%", - "Start Line": 533, - "End Line": 553 - }, - { - "Function Name": "parse_tagged_type", - "Structural Impact": 10.9, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "55.6%", - "Start Line": 704, - "End Line": 713 - }, - { - "Function Name": "parse_etor", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 6, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 772, - "End Line": 788 - }, - { - "Function Name": "parse_instantiation", - "Structural Impact": 9.7, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 715, - "End Line": 738 - }, - { - "Function Name": "expect", - "Structural Impact": 9.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 62, - "End Line": 71 - }, - { - "Function Name": "eat", - "Structural Impact": 9.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 73, - "End Line": 82 - }, - { - "Function Name": "parse_signature", - "Structural Impact": 9.2, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 675, - "End Line": 688 - }, - { - "Function Name": "parse_letdef", - "Structural Impact": 8.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 960, - "End Line": 968 - }, - { - "Function Name": "parse_spec_op", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 58, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 474, - "End Line": 531 - }, - { - "Function Name": "parse_type_field", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 324, - "End Line": 331 - }, - { - "Function Name": "parse_const", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "42.9%", - "Start Line": 231, - "End Line": 242 - }, - { - "Function Name": "parse_converter", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "37.5%", - "Start Line": 970, - "End Line": 981 - }, - { - "Function Name": "pos", - "Structural Impact": 6.1, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 92, - "End Line": 100 - }, - { - "Function Name": "is_spec_bit_vector", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 125, - "End Line": 130 - }, - { - "Function Name": "is_spec_bool", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 132, - "End Line": 137 - }, - { - "Function Name": "is", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 84, - "End Line": 90 - }, - { - "Function Name": "eat_sym_str", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 156, - "End Line": 162 - }, - { - "Function Name": "parse_spec_bool", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 555, - "End Line": 563 - }, - { - "Function Name": "parse_form", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 656, - "End Line": 665 - }, - { - "Function Name": "parse_defs", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 171, - "End Line": 177 - }, - { - "Function Name": "parse_signatures", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 667, - "End Line": 673 - }, - { - "Function Name": "is_const", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 118, - "End Line": 123 - }, - { - "Function Name": "expect_symbol", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 149, - "End Line": 154 - }, - { - "Function Name": "expect_int", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 164, - "End Line": 169 - }, - { - "Function Name": "parse_iflet", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 897, - "End Line": 902 - }, - { - "Function Name": "parse_iflet_if", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 904, - "End Line": 912 - }, - { - "Function Name": "parse_ident", - "Structural Impact": 3.1, + "Function Name": "MlirV1CompatOptimizationPassRegistry::Global", + "Structural Impact": 1.2, "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 225, - "End Line": 229 - }, - { - "Function Name": "parse_pragma", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 244, - "End Line": 249 - }, - { - "Function Name": "error", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 55, - "End Line": 60 - }, - { - "Function Name": "new", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 41, - "End Line": 46 - }, - { - "Function Name": "new_without_pos_tracking", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 48, - "End Line": 53 - }, - { - "Function Name": "parse", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 10, - "End Line": 13 - }, - { - "Function Name": "parse_without_pos", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 17, - "End Line": 20 - }, - { - "Function Name": "is_lparen", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 102, - "End Line": 104 - }, - { - "Function Name": "is_rparen", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 105, - "End Line": 107 - }, - { - "Function Name": "is_at", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 108, - "End Line": 110 - }, - { - "Function Name": "is_sym", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 111, - "End Line": 113 - }, - { - "Function Name": "is_int", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 114, - "End Line": 116 - }, - { - "Function Name": "expect_lparen", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 139, - "End Line": 141 - }, + "Start Line": 406, + "End Line": 410 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 55, + "Sequential Logic Declarations": 58, + "Function Parameters": 17, + "Function/Method Declarations": 7, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 2, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 164, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 6, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 44, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 94, + "Manual Memory Allocation": 2, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 1, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 10, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 349, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 42, + "Design Camel Case": 1, + "Design Snake Case": 41, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 0, + "Design Long Vars": 6, + "Duplicate Logic": 0, + "Orphaned Logic": 4, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 44, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "absl/container/flat_hash_set.h", + "absl/log/log.h", + "absl/status/status.h", + "absl/strings/string_view.h", + "llvm/ADT/StringRef.h", + "llvm/Support/FormatVariadic.h", + "llvm/Support/raw_ostream.h", + "memory", + "mlir/Dialect/Arith/IR/Arith.h", + "mlir/Dialect/Func/Extensions/AllExtensions.h", + "mlir/Dialect/Func/IR/FuncOps.h", + "mlir/Dialect/Shape/IR/Shape.h", + "mlir/IR/BuiltinOps.h", + "mlir/IR/MLIRContext.h", + "mlir/IR/OperationSupport.h", + "mlir/IR/OwningOpRef.h", + "string", + "tensorflow/compiler/mlir/mlir_graph_optimization_pass.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h", + "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h", + "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h", + "tensorflow/compiler/mlir/tensorflow/utils/device_util.h", + "tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h", + "tensorflow/compiler/mlir/tf2xla/api/v2/graph_to_tf_executor.h", + "tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h", + "tensorflow/core/common_runtime/device_set.h", + "tensorflow/core/common_runtime/function_optimization_registry.h", + "tensorflow/core/common_runtime/optimization_registry.h", + "tensorflow/core/framework/graph_debug_info.pb.h", + "tensorflow/core/framework/metrics.h", + "tensorflow/core/graph/graph.h", + "tensorflow/core/lib/monitoring/counter.h", + "tensorflow/core/platform/env.h", + "tensorflow/core/platform/errors.h", + "tensorflow/core/platform/file_system.h", + "tensorflow/core/platform/status.h", + "tensorflow/core/protobuf/config.pb.h", + "tensorflow/core/public/session_options.h", + "tensorflow/core/util/debug_data_dumper.h", + "utility", + "vector", + "xla/tsl/platform/errors.h" + ] + }, + "cpp/mlir/stablehlo.cc": { + "1. Artifact Identity": { + "Filename": "stablehlo.cc", + "Path": "cpp/mlir/stablehlo.cc", + "Language": "Cpp", + "Architect": "2023 The TensorFlow Authors. All Rights Reserved", + "Indentation Style": "Neutral / No Indentation", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "cpp", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .cc)" + }, + "2. Topological Coordinates": { + "X": 6869.9, + "Y": 108.29, + "Z": 2504.34 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": "Unclassified", + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 26, + "Coding LOC": 7, + "Documentation LOC": 11, + "Structural Magnitude": 1.94, + "Control Flow Ratio": "0.0%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.286 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "5.0%", + "Error & Exception Exposure": "0.0%", + "Tech Debt Exposure": "100.0%", + "Testing Exposure": "1.14%", + "API Exposure": "0.0%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "0.0%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "46.67%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "6.51%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ { - "Function Name": "expect_rparen", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "NB_MODULE", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 142, - "End Line": 144 - }, + "Start Line": 22, + "End Line": 22 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 0, + "Sequential Logic Declarations": 2, + "Function Parameters": 0, + "Function/Method Declarations": 1, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 0, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 0, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 0, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 2, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 0, + "Manual Memory Allocation": 0, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 0, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 0, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 0, + "Design Camel Case": 0, + "Design Snake Case": 0, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 0, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 1, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 2, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "nanobind/nanobind.h", + "stablehlo/integrations/python/StablehloApi.h" + ] + }, + "cpp/mlir/tf_mlir_opt_main.cc": { + "1. Artifact Identity": { + "Filename": "tf_mlir_opt_main.cc", + "Path": "cpp/mlir/tf_mlir_opt_main.cc", + "Language": "Cpp", + "Architect": "2019 Google Inc. All Rights Reserved", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "cpp", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .cc)" + }, + "2. Topological Coordinates": { + "X": 5901.4, + "Y": 73.38, + "Z": 2437.31 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": "Unclassified", + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 72, + "Coding LOC": 49, + "Documentation LOC": 12, + "Structural Magnitude": 6.38, + "Control Flow Ratio": "0.0%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.122 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "7.51%", + "Error & Exception Exposure": "59.66%", + "Tech Debt Exposure": "63.67%", + "Testing Exposure": "2.34%", + "API Exposure": "0.0%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "34.36%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "12.24%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ { - "Function Name": "expect_at", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "main", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 34, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 145, - "End Line": 147 + "Start Line": 38, + "End Line": 71 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 358, - "Sequential Logic Declarations": 254, - "Function Parameters": 80, - "Function/Method Declarations": 58, - "Class/Entity Declarations": 2, - "Defensive Programming Constructs": 247, - "Type/Safety Bypasses": 9, + "Control Flow Branches": 0, + "Sequential Logic Declarations": 1, + "Function Parameters": 1, + "Function/Method Declarations": 1, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 0, + "Type/Safety Bypasses": 0, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 3, - "State Mutations / Variable Reassignments": 186, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 2, "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 11, + "Structured Documentation Blocks": 0, "Unit Test Assertions": 0, "Asynchronous/Concurrent Execution": 0, "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 1, + "Closures and Anonymous Functions": 0, "Global State Dependencies": 0, - "Decorators and Annotations": 1, - "Generic Type Abstractions": 52, - "Collection Iterators / Comprehensions": 6, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 3, - "Authorship Metadata": 0, + "Module Dependencies (Imports)": 21, + "Authorship Metadata": 1, "Planned Work (TODOs)": 0, "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, @@ -253131,23 +253451,23 @@ "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 61, - "Manual Memory Allocation": 5, + "Pointer Arithmetic & Addressing": 2, + "Manual Memory Allocation": 0, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 2, + "Explicit Type Casts": 0, "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 6, + "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 2, + "Immutable Data Declarations": 0, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 3, + "Private / Encapsulated Scopes": 2, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, "Structural Tab Indentations": 0, - "Structural Space Indentations": 877, + "Structural Space Indentations": 26, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -253164,15 +253484,15 @@ "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 147, + "Core Var Decl": 0, "Design Camel Case": 0, - "Design Snake Case": 141, + "Design Snake Case": 0, "Design Pascal Case": 0, "Design Upper Case": 0, - "Design Short Vars": 20, + "Design Short Vars": 0, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 2, + "Orphaned Logic": 1, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -253196,195 +253516,2095 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 6, + "Direct Upstream (Fragility)": 21, "Direct Downstream (Dependency Blast Radius)": 0, "Total Upstream (Absolute Fragility)": 0, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "Pos", - "Span", - "Token", - "crate::ast::*", - "crate::error::Error", - "crate::lexer::Lexer" + "mlir/InitAllPasses.h", + "mlir/Support/LogicalResult.h", + "mlir/Tools/mlir-opt/MlirOptMain.h", + "mlir/Transforms/Passes.h", + "tensorflow//compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h", + "tensorflow/compiler/mlir/init_mlir.h", + "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h", + "tensorflow/compiler/mlir/register_common_dialects.h", + "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.h", + "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h", + "tensorflow/compiler/mlir/tensorflow/transforms/passes.h", + "tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h", + "tensorflow/compiler/mlir/tensorflow/transforms/test_passes.h", + "tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.h", + "tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.h", + "tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h", + "tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h", + "tensorflow/compiler/mlir/tf2xla/internal/passes/mlir_to_graph_passes.h", + "tensorflow/compiler/mlir/tf2xla/transforms/passes.h", + "xla/mlir/framework/transforms/passes.h", + "xla/mlir_hlo/mhlo/transforms/passes.h" ] }, - "rust/wasmtime/wasmtime_pulley_interp.rs": { + "cpp/mlir/tf_tfl_translate.cc": { "1. Artifact Identity": { - "Filename": "wasmtime_pulley_interp.rs", - "Path": "rust/wasmtime/wasmtime_pulley_interp.rs", - "Language": "Rust", - "Architect": "Unknown Architect", + "Filename": "tf_tfl_translate.cc", + "Path": "cpp/mlir/tf_tfl_translate.cc", + "Language": "Cpp", + "Architect": "2019 The TensorFlow Authors. All Rights Reserved", "Indentation Style": "Spaces", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "rust", + "Folder Dominant Lang": "cpp", "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .rs)" + "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": -3757.35, - "Y": 160.25, - "Z": 1985.2 + "X": 6441.55, + "Y": 102.5, + "Z": 2153.53 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": null, + "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 5631, - "Coding LOC": 4640, - "Documentation LOC": 308, - "Structural Magnitude": 3577.1, - "Control Flow Ratio": "19.0%", + "Total LOC": 293, + "Coding LOC": 227, + "Documentation LOC": 34, + "Structural Magnitude": 191.64, + "Control Flow Ratio": "51.7%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.884 + "Raw Cognitive Density": 0.895 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "32.2%", - "Error & Exception Exposure": "80.65%", - "Tech Debt Exposure": "100.0%", + "Cognitive Load Exposure": "64.14%", + "Error & Exception Exposure": "90.34%", + "Tech Debt Exposure": "69.08%", "Testing Exposure": "80.0%", - "API Exposure": "4.64%", - "Concurrency Exposure": "14.26%", - "State Flux Exposure": "99.98%", - "Commented Logic Exposure": "4.89%", + "API Exposure": "0.0%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", + "Documentation Exposure": "18.3%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "push_frame_save", - "Structural Impact": 14.3, - "Lines of Code (LOC)": 47, - "Control Flow Branches": 5, - "Input Parameters": 3, - "Control Flow Ratio": "45.5%", - "Start Line": 2006, - "End Line": 2052 - }, - { - "Function Name": "call_start", - "Structural Impact": 11.8, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "35.7%", - "Start Line": 105, - "End Line": 133 - }, - { - "Function Name": "call_end", - "Structural Impact": 11.6, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 4, - "Input Parameters": 3, - "Control Flow Ratio": "26.7%", - "Start Line": 164, - "End Line": 195 - }, - { - "Function Name": "xrem32_s", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 2207, - "End Line": 2222 - }, - { - "Function Name": "xrem64_s", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 4, + "Function Name": "main", + "Structural Impact": 66.1, + "Lines of Code (LOC)": 214, + "Control Flow Branches": 31, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 2224, - "End Line": 2239 - }, - { - "Function Name": "check_xnn_from_f64", - "Structural Impact": 8.7, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, - "Input Parameters": 3, - "Control Flow Ratio": "42.9%", - "Start Line": 1145, - "End Line": 1158 - }, - { - "Function Name": "xselect32", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 2499, - "End Line": 2513 - }, - { - "Function Name": "xselect64", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 2515, - "End Line": 2529 - }, - { - "Function Name": "fselect32", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 3262, - "End Line": 3276 - }, - { - "Function Name": "fselect64", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 3278, - "End Line": 3292 - }, - { - "Function Name": "vselect", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 5550, - "End Line": 5565 - }, - { - "Function Name": "vshuffle", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "33.3%", - "Start Line": 5375, - "End Line": 5388 - }, - { - "Function Name": "xdiv32_s", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 18, + "Control Flow Ratio": "55.4%", + "Start Line": 79, + "End Line": 292 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 31, + "Sequential Logic Declarations": 29, + "Function Parameters": 3, + "Function/Method Declarations": 1, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 1, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 121, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 1, + "Global State Dependencies": 1, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 43, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 4, + "Acknowledged Tech Debt (FIXMEs)": 1, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 1, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 14, + "Manual Memory Allocation": 0, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 0, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 176, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 16, + "Design Camel Case": 0, + "Design Snake Case": 16, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 0, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 1, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 43, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "absl/status/statusor.h", + "absl/strings/str_split.h", + "absl/types/span.h", + "llvm/ADT/STLExtras.h", + "llvm/ADT/SmallVector.h", + "llvm/ADT/StringExtras.h", + "llvm/ADT/StringRef.h", + "llvm/Support/CommandLine.h", + "llvm/Support/SourceMgr.h", + "llvm/Support/ToolOutputFile.h", + "llvm/Support/raw_ostream.h", + "memory", + "mlir/Dialect/Func/Extensions/AllExtensions.h", + "mlir/Dialect/Func/IR/FuncOps.h", + "mlir/IR/AsmState.h", + "mlir/IR/BuiltinOps.h", + "mlir/IR/Diagnostics.h", + "mlir/IR/DialectRegistry.h", + "mlir/IR/MLIRContext.h", + "mlir/Parser/Parser.h", + "mlir/Pass/PassManager.h", + "mlir/Support/FileUtilities.h", + "stablehlo/dialect/ChloOps.h", + "stablehlo/dialect/StablehloOps.h", + "string", + "tensorflow/compiler/mlir/init_mlir.h", + "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h", + "tensorflow/compiler/mlir/lite/converter_flags.pb.h", + "tensorflow/compiler/mlir/lite/flatbuffer_export_flags.h", + "tensorflow/compiler/mlir/lite/ir/tfl_ops.h", + "tensorflow/compiler/mlir/lite/quantization/common/quantization_lib/quantization_config.h", + "tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.h", + "tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h", + "tensorflow/compiler/mlir/lite/transforms/passes.h", + "tensorflow/compiler/mlir/tensorflow/dialect_registration.h", + "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h", + "tensorflow/core/framework/types.pb.h", + "tensorflow/core/platform/errors.h", + "unordered_set", + "utility", + "vector", + "xla/hlo/translate/hlo_to_mhlo/translate.h", + "xla/mlir_hlo/mhlo/IR/hlo_ops.h" + ] + } + } + }, + "rust/wasmtime": { + "Directory Group Magnitude": 4875.28, + "File Count": 4, + "Ecosystem Fingerprint (Archetypes)": { + "Unclassified": "100.0%" + }, + "Average Risk Exposures": { + "Cognitive Load Exposure": "23.76%", + "Error & Exception Exposure": "29.56%", + "Tech Debt Exposure": "73.11%", + "Testing Exposure": "21.84%", + "API Exposure": "4.0%", + "Concurrency Exposure": "17.75%", + "State Flux Exposure": "72.34%", + "Commented Logic Exposure": "6.32%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "22.06%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "Files": { + "rust/wasmtime/wasmtime_component_macro.rs": { + "1. Artifact Identity": { + "Filename": "wasmtime_component_macro.rs", + "Path": "rust/wasmtime/wasmtime_component_macro.rs", + "Language": "Rust", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "rust", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .rs)" + }, + "2. Topological Coordinates": { + "X": -3442.01, + "Y": 139.99, + "Z": 2385.34 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": null, + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 56, + "Coding LOC": 42, + "Documentation LOC": 6, + "Structural Magnitude": 14.94, + "Control Flow Ratio": "0.0%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.0 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "2.37%", + "Error & Exception Exposure": "0.0%", + "Tech Debt Exposure": "99.91%", + "Testing Exposure": "2.4%", + "API Exposure": "4.43%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "0.0%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "48.47%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "lift", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 13, + "End Line": 21 + }, + { + "Function Name": "lower", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 23, + "End Line": 31 + }, + { + "Function Name": "component_type", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 33, + "End Line": 41 + }, + { + "Function Name": "flags", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 43, + "End Line": 48 + }, + { + "Function Name": "bindgen", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 50, + "End Line": 55 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 0, + "Sequential Logic Declarations": 3, + "Function Parameters": 5, + "Function/Method Declarations": 5, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 0, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 5, + "State Mutations / Variable Reassignments": 0, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 6, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 0, + "Decorators and Annotations": 5, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 1, + "Authorship Metadata": 0, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 15, + "Pointer Arithmetic & Addressing": 5, + "Manual Memory Allocation": 0, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 0, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 5, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 24, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 0, + "Design Camel Case": 0, + "Design Snake Case": 0, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 0, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 4, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 3, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "Error", + "parse_macro_input", + "syn::DeriveInput" + ] + }, + "rust/wasmtime/wasmtime_instance.rs": { + "1. Artifact Identity": { + "Filename": "wasmtime_instance.rs", + "Path": "rust/wasmtime/wasmtime_instance.rs", + "Language": "Rust", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "rust", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .rs)" + }, + "2. Topological Coordinates": { + "X": -3689.2, + "Y": 123.16, + "Z": 1245.68 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": null, + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 1209, + "Coding LOC": 750, + "Documentation LOC": 366, + "Structural Magnitude": 422.3, + "Control Flow Ratio": "24.2%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.424 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "10.67%", + "Error & Exception Exposure": "24.16%", + "Tech Debt Exposure": "83.2%", + "Testing Exposure": "2.41%", + "API Exposure": "4.93%", + "Concurrency Exposure": "56.73%", + "State Flux Exposure": "89.66%", + "Commented Logic Exposure": "20.39%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "11.92%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "run", + "Structural Impact": 46.2, + "Lines of Code (LOC)": 165, + "Control Flow Branches": 18, + "Input Parameters": 3, + "Control Flow Ratio": "45.0%", + "Start Line": 749, + "End Line": 913 + }, + { + "Function Name": "assert_type_matches", + "Structural Impact": 13.3, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 3, + "Input Parameters": 7, + "Control Flow Ratio": "25.0%", + "Start Line": 1015, + "End Line": 1054 + }, + { + "Function Name": "build_imports", + "Structural Impact": 12.7, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 4, + "Input Parameters": 4, + "Control Flow Ratio": "36.4%", + "Start Line": 983, + "End Line": 1013 + }, + { + "Function Name": "get_typed_func", + "Structural Impact": 10.8, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 4, + "Input Parameters": 3, + "Control Flow Ratio": "40.0%", + "Start Line": 188, + "End Line": 202 + }, + { + "Function Name": "_instantiate", + "Structural Impact": 9.2, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 1184, + "End Line": 1207 + }, + { + "Function Name": "get_module", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "37.5%", + "Start Line": 220, + "End Line": 237 + }, + { + "Function Name": "resource_transfer_borrow", + "Structural Impact": 8.5, + "Lines of Code (LOC)": 23, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "25.0%", + "Start Line": 425, + "End Line": 447 + }, + { + "Function Name": "new", + "Structural Impact": 7.3, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 721, + "End Line": 747 + }, + { + "Function Name": "new_unchecked", + "Structural Impact": 7.1, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 1116, + "End Line": 1137 + }, + { + "Function Name": "get_func", + "Structural Impact": 7.0, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "20.0%", + "Start Line": 155, + "End Line": 175 + }, + { + "Function Name": "get_resource", + "Structural Impact": 6.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "28.6%", + "Start Line": 255, + "End Line": 272 + }, + { + "Function Name": "options_memory_raw", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "28.6%", + "Start Line": 461, + "End Line": 477 + }, + { + "Function Name": "lookup_vmexport", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "11.1%", + "Start Line": 609, + "End Line": 644 + }, + { + "Function Name": "lookup_vmdef", + "Structural Impact": 5.7, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "20.0%", + "Start Line": 572, + "End Line": 605 + }, + { + "Function Name": "_get_export", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "20.0%", + "Start Line": 298, + "End Line": 319 + }, + { + "Function Name": "resource_transfer_own", + "Structural Impact": 5.4, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 5, + "Control Flow Ratio": "20.0%", + "Start Line": 413, + "End Line": 423 + }, + { + "Function Name": "get_export_index", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "20.0%", + "Start Line": 334, + "End Line": 346 + }, + { + "Function Name": "resource", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "11.1%", + "Start Line": 915, + "End Line": 934 + }, + { + "Function Name": "options_memory", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 479, + "End Line": 496 + }, + { + "Function Name": "options_memory_mut", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "14.3%", + "Start Line": 498, + "End Line": 513 + }, + { + "Function Name": "lookup_export", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 348, + "End Line": 356 + }, + { + "Function Name": "extract_memory", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 936, + "End Line": 944 + }, + { + "Function Name": "extract_table", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "20.0%", + "Start Line": 973, + "End Line": 981 + }, + { + "Function Name": "extract_realloc", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 946, + "End Line": 953 + }, + { + "Function Name": "extract_callback", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 955, + "End Line": 962 + }, + { + "Function Name": "extract_post_return", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 964, + "End Line": 971 + }, + { + "Function Name": "component_and_store_mut", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 48, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 520, + "End Line": 567 + }, + { + "Function Name": "instantiate", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1163, + "End Line": 1173 + }, + { + "Function Name": "resource_new32", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 377, + "End Line": 386 + }, + { + "Function Name": "resource_rep32", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 390, + "End Line": 399 + }, + { + "Function Name": "resource_drop", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 402, + "End Line": 411 + }, + { + "Function Name": "get_export", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 289, + "End Line": 296 + }, + { + "Function Name": "options", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 453, + "End Line": 459 + }, + { + "Function Name": "instance_pre", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 359, + "End Line": 369 + }, + { + "Function Name": "lookup_vmdef", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 449, + "End Line": 451 + }, + { + "Function Name": "lookup", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 672, + "End Line": 678 + }, + { + "Function Name": "from_wasmtime", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 55, + "End Line": 59 + }, + { + "Function Name": "instance_resource_types_mut", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1072, + "End Line": 1077 + }, + { + "Function Name": "lookup", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 666, + "End Line": 668 + }, + { + "Function Name": "lookup", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 682, + "End Line": 684 + }, + { + "Function Name": "instance", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1058, + "End Line": 1060 + }, + { + "Function Name": "instance_mut", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1063, + "End Line": 1065 + }, + { + "Function Name": "clone", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1098, + "End Line": 1106 + }, + { + "Function Name": "instance_type", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1144, + "End Line": 1153 + }, + { + "Function Name": "instantiate_async", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1179, + "End Line": 1182 + }, + { + "Function Name": "lookup", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 658, + "End Line": 659 + }, + { + "Function Name": "id", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 371, + "End Line": 373 + }, + { + "Function Name": "component", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1140, + "End Line": 1142 + }, + { + "Function Name": "engine", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1156, + "End Line": 1158 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 66, + "Sequential Logic Declarations": 207, + "Function Parameters": 54, + "Function/Method Declarations": 49, + "Class/Entity Declarations": 6, + "Defensive Programming Constructs": 101, + "Type/Safety Bypasses": 7, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 32, + "State Mutations / Variable Reassignments": 88, + "Commented-out Code (Dead Logic)": 22, + "Structured Documentation Blocks": 234, + "Unit Test Assertions": 7, + "Asynchronous/Concurrent Execution": 22, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 1, + "Global State Dependencies": 0, + "Decorators and Annotations": 6, + "Generic Type Abstractions": 106, + "Collection Iterators / Comprehensions": 4, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 2, + "Module Dependencies (Imports)": 18, + "Authorship Metadata": 0, + "Planned Work (TODOs)": 3, + "Acknowledged Tech Debt (FIXMEs)": 2, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 47, + "Manual Memory Allocation": 2, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 0, + "Fatal Aborts & Exceptions": 1, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 9, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 5, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 32, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 692, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 102, + "Design Camel Case": 0, + "Design Snake Case": 83, + "Design Pascal Case": 7, + "Design Upper Case": 0, + "Design Short Vars": 22, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 16, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 43, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "AsContextMut", + "Asyncness", + "ComponentExportIndex", + "ComponentNamedList", + "Engine", + "EntityType", + "Func", + "Lift", + "Linker", + "Lower", + "Module", + "PrimaryMap", + "ResourceType", + "Store", + "StoreComponentInstanceId", + "StoreContextMut", + "StoreOpaque", + "TypedFunc", + "TypedResource", + "TypedResourceIndex", + "VMFuncRef", + "alloc::sync::Arc", + "component::*", + "core::marker", + "core::pin::Pin", + "core::ptr::NonNull", + "crate::AsContext", + "crate::component::\n Component", + "crate::component::RuntimeInstance", + "crate::component::func::HostFunc", + "crate::component::matching::InstanceType", + "crate::component::store::ComponentInstanceId", + "crate::instance::OwnedImports", + "crate::linker::DefinitionType", + "crate::prelude::*", + "crate::runtime::vm::component::ComponentInstance", + "crate::runtime::vm::self", + "crate::store::AsStoreOpaque", + "types::ComponentItem", + "wasmtime::Engine", + "wasmtime::component::Component", + "wasmtime_environ::EngineOrModuleTypeIndex", + "wasmtime_environ::EntityIndex" + ] + }, + "rust/wasmtime/wasmtime_isle_parser.rs": { + "1. Artifact Identity": { + "Filename": "wasmtime_isle_parser.rs", + "Path": "rust/wasmtime/wasmtime_isle_parser.rs", + "Language": "Rust", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "rust", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .rs)" + }, + "2. Topological Coordinates": { + "X": -4072.27, + "Y": 229.78, + "Z": 2304.3 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": null, + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 983, + "Coding LOC": 892, + "Documentation LOC": 19, + "Structural Magnitude": 860.94, + "Control Flow Ratio": "58.5%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.818 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "49.79%", + "Error & Exception Exposure": "13.43%", + "Tech Debt Exposure": "9.31%", + "Testing Exposure": "2.56%", + "API Exposure": "2.01%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "99.73%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "15.94%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "parse_spec_expr", + "Structural Impact": 53.9, + "Lines of Code (LOC)": 59, + "Control Flow Branches": 35, + "Input Parameters": 1, + "Control Flow Ratio": "61.4%", + "Start Line": 414, + "End Line": 472 + }, + { + "Function Name": "parse_pattern", + "Structural Impact": 53.3, + "Lines of Code (LOC)": 47, + "Control Flow Branches": 35, + "Input Parameters": 1, + "Control Flow Ratio": "77.8%", + "Start Line": 829, + "End Line": 875 + }, + { + "Function Name": "parse_model_type", + "Structural Impact": 34.1, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 22, + "Input Parameters": 1, + "Control Flow Ratio": "78.6%", + "Start Line": 623, + "End Line": 654 + }, + { + "Function Name": "parse_model", + "Structural Impact": 34.0, + "Lines of Code (LOC)": 57, + "Control Flow Branches": 21, + "Input Parameters": 1, + "Control Flow Ratio": "47.7%", + "Start Line": 565, + "End Line": 621 + }, + { + "Function Name": "parse_expr", + "Structural Impact": 30.9, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 20, + "Input Parameters": 1, + "Control Flow Ratio": "76.9%", + "Start Line": 914, + "End Line": 937 + }, + { + "Function Name": "parse_spec", + "Structural Impact": 30.7, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 19, + "Input Parameters": 1, + "Control Flow Ratio": "61.3%", + "Start Line": 364, + "End Line": 412 + }, + { + "Function Name": "parse_extern", + "Structural Impact": 25.6, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 16, + "Input Parameters": 1, + "Control Flow Ratio": "61.5%", + "Start Line": 740, + "End Line": 770 + }, + { + "Function Name": "parse_def", + "Structural Impact": 23.7, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 15, + "Input Parameters": 1, + "Control Flow Ratio": "75.0%", + "Start Line": 179, + "End Line": 200 + }, + { + "Function Name": "parse_iflet_or_expr", + "Structural Impact": 23.6, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 15, + "Input Parameters": 1, + "Control Flow Ratio": "78.9%", + "Start Line": 877, + "End Line": 895 + }, + { + "Function Name": "parse_expr_inner_parens", + "Structural Impact": 21.8, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 11, + "Input Parameters": 2, + "Control Flow Ratio": "55.0%", + "Start Line": 939, + "End Line": 958 + }, + { + "Function Name": "str_to_ident", + "Structural Impact": 21.1, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 9, + "Input Parameters": 3, + "Control Flow Ratio": "75.0%", + "Start Line": 202, + "End Line": 223 + }, + { + "Function Name": "parse_typevalue", + "Structural Impact": 19.3, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 12, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 282, + "End Line": 300 + }, + { + "Function Name": "parse_rule", + "Structural Impact": 18.9, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 11, + "Input Parameters": 1, + "Control Flow Ratio": "57.9%", + "Start Line": 790, + "End Line": 827 + }, + { + "Function Name": "parse_decl", + "Structural Impact": 17.1, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 333, + "End Line": 362 + }, + { + "Function Name": "parse_type", + "Structural Impact": 14.2, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 8, + "Input Parameters": 1, + "Control Flow Ratio": "42.1%", + "Start Line": 251, + "End Line": 280 + }, + { + "Function Name": "parse_type_variant", + "Structural Impact": 13.8, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 8, + "Input Parameters": 1, + "Control Flow Ratio": "53.3%", + "Start Line": 302, + "End Line": 322 + }, + { + "Function Name": "parse_tagged_types", + "Structural Impact": 12.8, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 6, + "Input Parameters": 2, + "Control Flow Ratio": "54.5%", + "Start Line": 690, + "End Line": 702 + }, + { + "Function Name": "parse_spec_bit_vector", + "Structural Impact": 12.4, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "58.3%", + "Start Line": 533, + "End Line": 553 + }, + { + "Function Name": "parse_tagged_type", + "Structural Impact": 10.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "55.6%", + "Start Line": 704, + "End Line": 713 + }, + { + "Function Name": "parse_etor", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 772, + "End Line": 788 + }, + { + "Function Name": "parse_instantiation", + "Structural Impact": 9.7, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 715, + "End Line": 738 + }, + { + "Function Name": "expect", + "Structural Impact": 9.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 62, + "End Line": 71 + }, + { + "Function Name": "eat", + "Structural Impact": 9.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 73, + "End Line": 82 + }, + { + "Function Name": "parse_signature", + "Structural Impact": 9.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 675, + "End Line": 688 + }, + { + "Function Name": "parse_letdef", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 960, + "End Line": 968 + }, + { + "Function Name": "parse_spec_op", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 58, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 474, + "End Line": 531 + }, + { + "Function Name": "parse_type_field", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 324, + "End Line": 331 + }, + { + "Function Name": "parse_const", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "42.9%", + "Start Line": 231, + "End Line": 242 + }, + { + "Function Name": "parse_converter", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "37.5%", + "Start Line": 970, + "End Line": 981 + }, + { + "Function Name": "pos", + "Structural Impact": 6.1, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 92, + "End Line": 100 + }, + { + "Function Name": "is_spec_bit_vector", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 125, + "End Line": 130 + }, + { + "Function Name": "is_spec_bool", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 132, + "End Line": 137 + }, + { + "Function Name": "is", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 84, + "End Line": 90 + }, + { + "Function Name": "eat_sym_str", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 156, + "End Line": 162 + }, + { + "Function Name": "parse_spec_bool", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 555, + "End Line": 563 + }, + { + "Function Name": "parse_form", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 656, + "End Line": 665 + }, + { + "Function Name": "parse_defs", + "Structural Impact": 4.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 171, + "End Line": 177 + }, + { + "Function Name": "parse_signatures", + "Structural Impact": 4.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 667, + "End Line": 673 + }, + { + "Function Name": "is_const", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 118, + "End Line": 123 + }, + { + "Function Name": "expect_symbol", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 149, + "End Line": 154 + }, + { + "Function Name": "expect_int", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 164, + "End Line": 169 + }, + { + "Function Name": "parse_iflet", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 897, + "End Line": 902 + }, + { + "Function Name": "parse_iflet_if", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 904, + "End Line": 912 + }, + { + "Function Name": "parse_ident", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 225, + "End Line": 229 + }, + { + "Function Name": "parse_pragma", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 244, + "End Line": 249 + }, + { + "Function Name": "error", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 55, + "End Line": 60 + }, + { + "Function Name": "new", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 41, + "End Line": 46 + }, + { + "Function Name": "new_without_pos_tracking", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 48, + "End Line": 53 + }, + { + "Function Name": "parse", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 10, + "End Line": 13 + }, + { + "Function Name": "parse_without_pos", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 17, + "End Line": 20 + }, + { + "Function Name": "is_lparen", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 102, + "End Line": 104 + }, + { + "Function Name": "is_rparen", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 105, + "End Line": 107 + }, + { + "Function Name": "is_at", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 108, + "End Line": 110 + }, + { + "Function Name": "is_sym", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 111, + "End Line": 113 + }, + { + "Function Name": "is_int", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 114, + "End Line": 116 + }, + { + "Function Name": "expect_lparen", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 139, + "End Line": 141 + }, + { + "Function Name": "expect_rparen", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 142, + "End Line": 144 + }, + { + "Function Name": "expect_at", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 145, + "End Line": 147 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 358, + "Sequential Logic Declarations": 254, + "Function Parameters": 80, + "Function/Method Declarations": 58, + "Class/Entity Declarations": 2, + "Defensive Programming Constructs": 247, + "Type/Safety Bypasses": 9, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 3, + "State Mutations / Variable Reassignments": 186, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 11, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 1, + "Global State Dependencies": 0, + "Decorators and Annotations": 1, + "Generic Type Abstractions": 52, + "Collection Iterators / Comprehensions": 6, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 3, + "Authorship Metadata": 0, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 61, + "Manual Memory Allocation": 5, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 2, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 6, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 2, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 3, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 877, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 147, + "Design Camel Case": 0, + "Design Snake Case": 141, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 20, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 2, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 6, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "Pos", + "Span", + "Token", + "crate::ast::*", + "crate::error::Error", + "crate::lexer::Lexer" + ] + }, + "rust/wasmtime/wasmtime_pulley_interp.rs": { + "1. Artifact Identity": { + "Filename": "wasmtime_pulley_interp.rs", + "Path": "rust/wasmtime/wasmtime_pulley_interp.rs", + "Language": "Rust", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "rust", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .rs)" + }, + "2. Topological Coordinates": { + "X": -3757.35, + "Y": 160.25, + "Z": 1985.2 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": null, + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 5631, + "Coding LOC": 4640, + "Documentation LOC": 308, + "Structural Magnitude": 3577.1, + "Control Flow Ratio": "19.0%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.884 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "32.2%", + "Error & Exception Exposure": "80.65%", + "Tech Debt Exposure": "100.0%", + "Testing Exposure": "80.0%", + "API Exposure": "4.64%", + "Concurrency Exposure": "14.26%", + "State Flux Exposure": "99.98%", + "Commented Logic Exposure": "4.89%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "11.92%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "push_frame_save", + "Structural Impact": 14.3, + "Lines of Code (LOC)": 47, + "Control Flow Branches": 5, + "Input Parameters": 3, + "Control Flow Ratio": "45.5%", + "Start Line": 2006, + "End Line": 2052 + }, + { + "Function Name": "call_start", + "Structural Impact": 11.8, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "35.7%", + "Start Line": 105, + "End Line": 133 + }, + { + "Function Name": "call_end", + "Structural Impact": 11.6, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 4, + "Input Parameters": 3, + "Control Flow Ratio": "26.7%", + "Start Line": 164, + "End Line": 195 + }, + { + "Function Name": "xrem32_s", + "Structural Impact": 9.5, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 2207, + "End Line": 2222 + }, + { + "Function Name": "xrem64_s", + "Structural Impact": 9.5, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 2224, + "End Line": 2239 + }, + { + "Function Name": "check_xnn_from_f64", + "Structural Impact": 8.7, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "42.9%", + "Start Line": 1145, + "End Line": 1158 + }, + { + "Function Name": "xselect32", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 2499, + "End Line": 2513 + }, + { + "Function Name": "xselect64", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 2515, + "End Line": 2529 + }, + { + "Function Name": "fselect32", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 3262, + "End Line": 3276 + }, + { + "Function Name": "fselect64", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 3278, + "End Line": 3292 + }, + { + "Function Name": "vselect", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 5550, + "End Line": 5565 + }, + { + "Function Name": "vshuffle", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "33.3%", + "Start Line": 5375, + "End Line": 5388 + }, + { + "Function Name": "xdiv32_s", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 18, "Control Flow Branches": 3, "Input Parameters": 2, "Control Flow Ratio": "42.9%", @@ -258271,3470 +260491,1538 @@ "Start Line": 1847, "End Line": 1852 }, - { - "Function Name": "xshr64_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1854, - "End Line": 1859 - }, - { - "Function Name": "xshl32_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1861, - "End Line": 1866 - }, - { - "Function Name": "xshr32_u_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1868, - "End Line": 1873 - }, - { - "Function Name": "xshr32_s_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1875, - "End Line": 1880 - }, - { - "Function Name": "xshl64_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1882, - "End Line": 1887 - }, - { - "Function Name": "xshr64_u_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1889, - "End Line": 1894 - }, - { - "Function Name": "xshr64_s_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1896, - "End Line": 1901 - }, - { - "Function Name": "xeq64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1915, - "End Line": 1920 - }, - { - "Function Name": "xneq64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1922, - "End Line": 1927 - }, - { - "Function Name": "xslt64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1929, - "End Line": 1934 - }, - { - "Function Name": "xslteq64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1936, - "End Line": 1941 - }, - { - "Function Name": "xult64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1943, - "End Line": 1948 - }, - { - "Function Name": "xulteq64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1950, - "End Line": 1955 - }, - { - "Function Name": "xeq32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1957, - "End Line": 1962 - }, - { - "Function Name": "xneq32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1964, - "End Line": 1969 - }, - { - "Function Name": "xslt32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1971, - "End Line": 1976 - }, - { - "Function Name": "xslteq32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1978, - "End Line": 1983 - }, - { - "Function Name": "xult32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1985, - "End Line": 1990 - }, - { - "Function Name": "xulteq32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1992, - "End Line": 1997 - }, - { - "Function Name": "stack_free32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2102, - "End Line": 2107 - }, - { - "Function Name": "xband32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2265, - "End Line": 2270 - }, - { - "Function Name": "xband64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2282, - "End Line": 2287 - }, - { - "Function Name": "xbor32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2299, - "End Line": 2304 - }, - { - "Function Name": "xbor64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2316, - "End Line": 2321 - }, - { - "Function Name": "xbxor32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2333, - "End Line": 2338 - }, - { - "Function Name": "xbxor64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2350, - "End Line": 2355 - }, - { - "Function Name": "xmin32_u", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2379, - "End Line": 2384 - }, - { - "Function Name": "xmin32_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2386, - "End Line": 2391 - }, - { - "Function Name": "xmax32_u", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2393, - "End Line": 2398 - }, - { - "Function Name": "xmax32_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2400, - "End Line": 2405 - }, - { - "Function Name": "xmin64_u", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2407, - "End Line": 2412 - }, - { - "Function Name": "xmin64_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2414, - "End Line": 2419 - }, - { - "Function Name": "xmax64_u", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2421, - "End Line": 2426 - }, - { - "Function Name": "xmax64_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2428, - "End Line": 2433 - }, - { - "Function Name": "xrotl32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2471, - "End Line": 2476 - }, - { - "Function Name": "xrotl64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2478, - "End Line": 2483 - }, - { - "Function Name": "xrotr32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2485, - "End Line": 2490 - }, - { - "Function Name": "xrotr64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2492, - "End Line": 2497 - }, - { - "Function Name": "xmov_fp", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3147, - "End Line": 3151 - }, - { - "Function Name": "xmov_lr", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3153, - "End Line": 3157 - }, - { - "Function Name": "fcopysign32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3458, - "End Line": 3463 - }, - { - "Function Name": "fcopysign64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3465, - "End Line": 3470 - }, - { - "Function Name": "fadd32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3472, - "End Line": 3477 - }, - { - "Function Name": "fsub32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3479, - "End Line": 3484 - }, - { - "Function Name": "fmul32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3497, - "End Line": 3502 - }, - { - "Function Name": "fdiv32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3515, - "End Line": 3520 - }, - { - "Function Name": "fmaximum32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3550, - "End Line": 3555 - }, - { - "Function Name": "fminimum32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3557, - "End Line": 3562 - }, - { - "Function Name": "fadd64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3718, - "End Line": 3723 - }, - { - "Function Name": "fsub64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3725, - "End Line": 3730 - }, - { - "Function Name": "fmul64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3732, - "End Line": 3737 - }, - { - "Function Name": "fdiv64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3739, - "End Line": 3744 - }, - { - "Function Name": "fmaximum64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3746, - "End Line": 3751 - }, - { - "Function Name": "fminimum64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3753, - "End Line": 3758 - }, - { - "Function Name": "set_fp", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 208, - "End Line": 210 - }, - { - "Function Name": "set_lr", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 213, - "End Line": 215 - }, - { - "Function Name": "eq", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 339, - "End Line": 341 - }, - { - "Function Name": "fmt", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 355, - "End Line": 357 - }, - { - "Function Name": "set_i32", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 486, - "End Line": 488 - }, - { - "Function Name": "set_u32", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 490, - "End Line": 492 - }, - { - "Function Name": "set_i64", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 494, - "End Line": 496 - }, - { - "Function Name": "set_u64", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 498, - "End Line": 500 - }, - { - "Function Name": "set_ptr", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 502, - "End Line": 504 - }, - { - "Function Name": "fmt", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 521, - "End Line": 523 - }, - { - "Function Name": "set_f32", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 564, - "End Line": 566 - }, - { - "Function Name": "set_f64", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 568, - "End Line": 570 - }, - { - "Function Name": "fmt", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 589, - "End Line": 591 - }, - { - "Function Name": "set_u128", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 642, - "End Line": 644 - }, - { - "Function Name": "set_i8x16", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 651, - "End Line": 653 - }, - { - "Function Name": "set_u8x16", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 660, - "End Line": 662 - }, - { - "Function Name": "set_i16x8", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 669, - "End Line": 671 - }, - { - "Function Name": "set_u16x8", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 678, - "End Line": 680 - }, - { - "Function Name": "set_i32x4", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 687, - "End Line": 689 - }, - { - "Function Name": "set_u32x4", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 696, - "End Line": 698 - }, - { - "Function Name": "set_i64x2", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 705, - "End Line": 707 - }, - { - "Function Name": "set_u64x2", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 714, - "End Line": 716 - }, - { - "Function Name": "set_f64x2", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 723, - "End Line": 725 - }, - { - "Function Name": "set_f32x4", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 732, - "End Line": 734 - }, - { - "Function Name": "index", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 858, - "End Line": 860 - }, - { - "Function Name": "index_mut", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 864, - "End Line": 866 - }, - { - "Function Name": "index", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 872, - "End Line": 874 - }, - { - "Function Name": "index_mut", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 878, - "End Line": 880 - }, - { - "Function Name": "done_decode", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 964, - "End Line": 966 - }, - { - "Function Name": "load_ne", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + { + "Function Name": "xshr64_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1111, - "End Line": 1114 + "Start Line": 1854, + "End Line": 1859 }, { - "Function Name": "jump", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "xshl32_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1428, - "End Line": 1430 + "Start Line": 1861, + "End Line": 1866 }, { - "Function Name": "xzero", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "xshr32_u_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1676, - "End Line": 1679 + "Start Line": 1868, + "End Line": 1873 }, { - "Function Name": "xone", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "xshr32_s_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1681, - "End Line": 1684 + "Start Line": 1875, + "End Line": 1880 }, { - "Function Name": "call_indirect_host", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "xshl64_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2833, - "End Line": 2835 + "Start Line": 1882, + "End Line": 1887 }, { - "Function Name": "addr", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, + "Function Name": "xshr64_u_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1189, - "End Line": 1190 + "Start Line": 1889, + "End Line": 1894 }, { - "Function Name": "pop_frame", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 8, + "Function Name": "xshr64_s_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2071, - "End Line": 2078 + "Start Line": 1896, + "End Line": 1901 }, { - "Function Name": "new_i32", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xeq64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 431, - "End Line": 435 + "Start Line": 1915, + "End Line": 1920 }, { - "Function Name": "new_u32", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xneq64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 437, - "End Line": 441 + "Start Line": 1922, + "End Line": 1927 }, { - "Function Name": "new_i64", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xslt64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 443, - "End Line": 447 + "Start Line": 1929, + "End Line": 1934 }, { - "Function Name": "new_u64", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xslteq64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 449, - "End Line": 453 + "Start Line": 1936, + "End Line": 1941 }, { - "Function Name": "new_ptr", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xult64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 455, - "End Line": 459 + "Start Line": 1943, + "End Line": 1948 }, { - "Function Name": "new_f32", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xulteq64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 542, - "End Line": 546 + "Start Line": 1950, + "End Line": 1955 }, { - "Function Name": "new_f64", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xeq32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 548, - "End Line": 552 + "Start Line": 1957, + "End Line": 1962 }, { - "Function Name": "new_u128", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xneq32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 631, - "End Line": 635 + "Start Line": 1964, + "End Line": 1969 }, { - "Function Name": "done_return_to_host", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xslt32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1001, - "End Line": 1005 + "Start Line": 1971, + "End Line": 1976 }, { - "Function Name": "pop", - "Structural Impact": 1.7, + "Function Name": "xslteq32", + "Structural Impact": 2.0, "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1060, - "End Line": 1065 + "Start Line": 1978, + "End Line": 1983 }, { - "Function Name": "state", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xult32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 48, - "End Line": 50 + "Start Line": 1985, + "End Line": 1990 }, { - "Function Name": "state_mut", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xulteq32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 53, - "End Line": 55 + "Start Line": 1992, + "End Line": 1997 }, { - "Function Name": "fp", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "stack_free32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 198, - "End Line": 200 + "Start Line": 2102, + "End Line": 2107 }, { - "Function Name": "lr", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xband32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 203, - "End Line": 205 + "Start Line": 2265, + "End Line": 2270 }, { - "Function Name": "executing_pc", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xband64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 223, - "End Line": 226 + "Start Line": 2282, + "End Line": 2287 }, { - "Function Name": "drop", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xbor32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 230, - "End Line": 232 + "Start Line": 2299, + "End Line": 2304 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xbor64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 274, - "End Line": 276 + "Start Line": 2316, + "End Line": 2321 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xbxor32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 280, - "End Line": 282 + "Start Line": 2333, + "End Line": 2338 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xbxor64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 286, - "End Line": 288 + "Start Line": 2350, + "End Line": 2355 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmin32_u", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 292, - "End Line": 294 + "Start Line": 2379, + "End Line": 2384 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmin32_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 298, - "End Line": 300 + "Start Line": 2386, + "End Line": 2391 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmax32_u", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 304, - "End Line": 306 + "Start Line": 2393, + "End Line": 2398 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmax32_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 310, - "End Line": 312 + "Start Line": 2400, + "End Line": 2405 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmin64_u", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 316, - "End Line": 318 + "Start Line": 2407, + "End Line": 2412 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmin64_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 322, - "End Line": 324 + "Start Line": 2414, + "End Line": 2419 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmax64_u", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 329, - "End Line": 331 + "Start Line": 2421, + "End Line": 2426 }, { - "Function Name": "get_i32", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xmax64_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 461, - "End Line": 464 + "Start Line": 2428, + "End Line": 2433 }, { - "Function Name": "get_u32", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xrotl32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 466, - "End Line": 469 + "Start Line": 2471, + "End Line": 2476 }, { - "Function Name": "get_i64", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xrotl64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 471, - "End Line": 474 + "Start Line": 2478, + "End Line": 2483 }, { - "Function Name": "get_u64", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xrotr32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 476, - "End Line": 479 + "Start Line": 2485, + "End Line": 2490 }, { - "Function Name": "get_ptr", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xrotr64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 481, - "End Line": 484 + "Start Line": 2492, + "End Line": 2497 }, { - "Function Name": "get_f32", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xmov_fp", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 554, - "End Line": 557 + "Start Line": 3147, + "End Line": 3151 }, { - "Function Name": "get_f64", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xmov_lr", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 559, - "End Line": 562 + "Start Line": 3153, + "End Line": 3157 }, { - "Function Name": "get_u128", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fcopysign32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 637, - "End Line": 640 + "Start Line": 3458, + "End Line": 3463 }, { - "Function Name": "get_i8x16", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fcopysign64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 646, - "End Line": 649 + "Start Line": 3465, + "End Line": 3470 }, { - "Function Name": "get_u8x16", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fadd32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 655, - "End Line": 658 + "Start Line": 3472, + "End Line": 3477 }, { - "Function Name": "get_i16x8", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fsub32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 664, - "End Line": 667 + "Start Line": 3479, + "End Line": 3484 }, { - "Function Name": "get_u16x8", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fmul32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 673, - "End Line": 676 + "Start Line": 3497, + "End Line": 3502 }, { - "Function Name": "get_i32x4", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fdiv32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 682, - "End Line": 685 + "Start Line": 3515, + "End Line": 3520 }, { - "Function Name": "get_u32x4", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fmaximum32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 691, - "End Line": 694 + "Start Line": 3550, + "End Line": 3555 }, { - "Function Name": "get_i64x2", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fminimum32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 700, - "End Line": 703 + "Start Line": 3557, + "End Line": 3562 }, { - "Function Name": "get_u64x2", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fadd64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 709, - "End Line": 712 + "Start Line": 3718, + "End Line": 3723 }, { - "Function Name": "get_f64x2", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fsub64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 718, - "End Line": 721 + "Start Line": 3725, + "End Line": 3730 }, { - "Function Name": "get_f32x4", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fmul64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 727, - "End Line": 730 + "Start Line": 3732, + "End Line": 3737 }, { - "Function Name": "top", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fdiv64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 790, - "End Line": 793 + "Start Line": 3739, + "End Line": 3744 }, { - "Function Name": "base", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "fmaximum64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 799, - "End Line": 801 + "Start Line": 3746, + "End Line": 3751 }, { - "Function Name": "len", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "fminimum64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 804, - "End Line": 806 + "Start Line": 3753, + "End Line": 3758 }, { - "Function Name": "debug_assert_done_reason_none", - "Structural Impact": 1.6, + "Function Name": "set_fp", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 960, - "End Line": 962 + "Start Line": 208, + "End Line": 210 }, { - "Function Name": "done_trap", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "set_lr", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 977, - "End Line": 980 + "Start Line": 213, + "End Line": 215 }, { - "Function Name": "current_pc", - "Structural Impact": 1.6, + "Function Name": "eq", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1041, - "End Line": 1043 + "Start Line": 339, + "End Line": 341 }, { - "Function Name": "record_executing_pc_for_profiling", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fmt", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1173, - "End Line": 1176 + "Start Line": 355, + "End Line": 357 }, { - "Function Name": "bytecode", - "Structural Impact": 1.6, + "Function Name": "set_i32", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1337, - "End Line": 1339 + "Start Line": 486, + "End Line": 488 }, { - "Function Name": "nop", - "Structural Impact": 1.6, + "Function Name": "set_u32", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1341, - "End Line": 1343 + "Start Line": 490, + "End Line": 492 }, { - "Function Name": "trap", - "Structural Impact": 1.6, + "Function Name": "set_i64", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2829, - "End Line": 2831 + "Start Line": 494, + "End Line": 496 }, { - "Function Name": "new", - "Structural Impact": 1.1, + "Function Name": "set_u64", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 35, - "End Line": 37 + "Start Line": 498, + "End Line": 500 }, { - "Function Name": "default", - "Structural Impact": 1.1, + "Function Name": "set_ptr", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 424, - "End Line": 426 + "Start Line": 502, + "End Line": 504 }, { - "Function Name": "default", - "Structural Impact": 1.1, + "Function Name": "fmt", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 535, - "End Line": 537 + "Start Line": 521, + "End Line": 523 }, { - "Function Name": "default", - "Structural Impact": 1.1, + "Function Name": "set_f32", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 623, - "End Line": 625 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 411, - "Sequential Logic Declarations": 1748, - "Function Parameters": 738, - "Function/Method Declarations": 649, - "Class/Entity Declarations": 18, - "Defensive Programming Constructs": 93, - "Type/Safety Bypasses": 26, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 54, - "State Mutations / Variable Reassignments": 1277, - "Commented-out Code (Dead Logic)": 2, - "Structured Documentation Blocks": 227, - "Unit Test Assertions": 15, - "Asynchronous/Concurrent Execution": 12, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 1, - "Global State Dependencies": 0, - "Decorators and Annotations": 258, - "Generic Type Abstractions": 838, - "Collection Iterators / Comprehensions": 206, - "Scientific & Mathematical Operations": 57, - "Metaprogramming & Reflection": 2, - "Module Dependencies (Imports)": 20, - "Authorship Metadata": 0, - "Planned Work (TODOs)": 6, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 2, - "Pointer Arithmetic & Addressing": 621, - "Manual Memory Allocation": 3, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 92, - "Fatal Aborts & Exceptions": 1, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 22, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 4, - "Resource Deallocation & Cleanup": 1, - "Private / Encapsulated Scopes": 54, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 4482, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 859, - "Design Camel Case": 0, - "Design Snake Case": 839, - "Design Pascal Case": 20, - "Design Upper Case": 0, - "Design Short Vars": 608, - "Design Long Vars": 0, - "Duplicate Logic": 3, - "Orphaned Logic": 521, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 25, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "ExecutingPcRef", - "IndexMut", - "Interpreter", - "MachineState", - "TrapKind", - "alloc::string::ToString", - "core::fmt", - "core::mem", - "core::ops::ControlFlow", - "core::ops::Index", - "core::ptr::NonNull", - "crate::decode::*", - "crate::encode::Encode", - "crate::imms::*", - "crate::profile::ExecutingPc", - "crate::regs::*", - "done::Done", - "done::DoneReason", - "f32_cvt_to_int_bounds", - "f64_cvt_to_int_bounds", - "pulley_macros::interp_disable_if_cfg", - "super::Encode", - "wasmtime_core::alloc::TryVec", - "wasmtime_core::error::OutOfMemory", - "wasmtime_core::math::WasmFloat" - ] - } - } - }, - "cpp/mlir": { - "Directory Group Magnitude": 4633.54, - "File Count": 6, - "Ecosystem Fingerprint (Archetypes)": { - "Unclassified": "100.0%" - }, - "Average Risk Exposures": { - "Cognitive Load Exposure": "44.93%", - "Error & Exception Exposure": "63.81%", - "Tech Debt Exposure": "65.7%", - "Testing Exposure": "40.98%", - "API Exposure": "0.27%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "55.73%", - "Commented Logic Exposure": "0.87%", - "Specification Exposure": "91.11%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "12.44%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "Files": { - "cpp/mlir/flatbuffer_export.cc": { - "1. Artifact Identity": { - "Filename": "flatbuffer_export.cc", - "Path": "cpp/mlir/flatbuffer_export.cc", - "Language": "Cpp", - "Architect": "2022 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6426.43, - "Y": 61.77, - "Z": 2662.16 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 4731, - "Coding LOC": 3850, - "Documentation LOC": 414, - "Structural Magnitude": 4089.6, - "Control Flow Ratio": "44.0%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.266 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "88.72%", - "Error & Exception Exposure": "95.0%", - "Tech Debt Exposure": "42.11%", - "Testing Exposure": "80.0%", - "API Exposure": "1.64%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "5.19%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "Translator::BuildOperator", - "Structural Impact": 280.3, - "Lines of Code (LOC)": 776, - "Control Flow Branches": 107, - "Input Parameters": 4, - "Control Flow Ratio": "36.1%", - "Start Line": 2582, - "End Line": 3357 - }, - { - "Function Name": "Translator::BuildSubGraph", - "Structural Impact": 117.8, - "Lines of Code (LOC)": 235, - "Control Flow Branches": 52, - "Input Parameters": 3, - "Control Flow Ratio": "60.5%", - "Start Line": 3432, - "End Line": 3666 - }, - { - "Function Name": "Translator::BuildTensor", - "Structural Impact": 95.2, - "Lines of Code (LOC)": 141, - "Control Flow Branches": 35, - "Input Parameters": 5, - "Control Flow Ratio": "61.4%", - "Start Line": 1422, - "End Line": 1562 - }, - { - "Function Name": "GetTFLiteType", - "Structural Impact": 92.5, - "Lines of Code (LOC)": 84, - "Control Flow Branches": 50, "Input Parameters": 2, - "Control Flow Ratio": "60.2%", - "Start Line": 187, - "End Line": 270 - }, - { - "Function Name": "Translator::BuildBuffer", - "Structural Impact": 62.3, - "Lines of Code (LOC)": 206, - "Control Flow Branches": 51, - "Input Parameters": 0, - "Control Flow Ratio": "54.8%", - "Start Line": 1106, - "End Line": 1311 - }, - { - "Function Name": "Translator::TranslateInternal", - "Structural Impact": 54.0, - "Lines of Code (LOC)": 241, - "Control Flow Branches": 41, - "Input Parameters": 0, - "Control Flow Ratio": "59.4%", - "Start Line": 4188, - "End Line": 4428 - }, - { - "Function Name": "BuildSignaturedef", - "Structural Impact": 35.3, - "Lines of Code (LOC)": 79, - "Control Flow Branches": 13, - "Input Parameters": 4, - "Control Flow Ratio": "50.0%", - "Start Line": 3988, - "End Line": 4066 - }, - { - "Function Name": "Translator::BuildVhloCompositeV1Op", - "Structural Impact": 34.6, - "Lines of Code (LOC)": 132, - "Control Flow Branches": 27, - "Input Parameters": 0, - "Control Flow Ratio": "60.0%", - "Start Line": 2020, - "End Line": 2151 + "Control Flow Ratio": "0.0%", + "Start Line": 564, + "End Line": 566 }, { - "Function Name": "CreateFlexbufferVector", - "Structural Impact": 32.0, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 14, - "Input Parameters": 3, - "Control Flow Ratio": "82.4%", - "Start Line": 1901, - "End Line": 1940 + "Function Name": "set_f64", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 568, + "End Line": 570 }, { - "Function Name": "Translator::CreateFlexBuilderWithNodeAttrs", - "Structural Impact": 31.5, - "Lines of Code (LOC)": 70, - "Control Flow Branches": 27, - "Input Parameters": 0, - "Control Flow Ratio": "77.1%", - "Start Line": 1810, - "End Line": 1879 + "Function Name": "fmt", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 589, + "End Line": 591 }, { - "Function Name": "IsValidTFLiteMlirModule", - "Structural Impact": 30.4, - "Lines of Code (LOC)": 71, - "Control Flow Branches": 18, - "Input Parameters": 1, - "Control Flow Ratio": "43.9%", - "Start Line": 418, - "End Line": 488 + "Function Name": "set_u128", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 642, + "End Line": 644 }, { - "Function Name": "GetOpDescriptionForDebug", - "Structural Impact": 22.2, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 13, - "Input Parameters": 1, - "Control Flow Ratio": "81.2%", - "Start Line": 309, - "End Line": 356 + "Function Name": "set_i8x16", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 651, + "End Line": 653 }, { - "Function Name": "Translator::BuildSparsityParameters", - "Structural Impact": 21.9, - "Lines of Code (LOC)": 97, - "Control Flow Branches": 16, - "Input Parameters": 0, - "Control Flow Ratio": "72.7%", - "Start Line": 4550, - "End Line": 4646 + "Function Name": "set_u8x16", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 660, + "End Line": 662 }, { - "Function Name": "Translator::Translate", - "Structural Impact": 20.4, - "Lines of Code (LOC)": 49, - "Control Flow Branches": 8, - "Input Parameters": 3, - "Control Flow Ratio": "38.1%", - "Start Line": 4138, - "End Line": 4186 + "Function Name": "set_i16x8", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 669, + "End Line": 671 }, { - "Function Name": "CreateLocation", - "Structural Impact": 19.6, - "Lines of Code (LOC)": 92, - "Control Flow Branches": 14, - "Input Parameters": 0, - "Control Flow Ratio": "48.3%", - "Start Line": 3687, - "End Line": 3778 + "Function Name": "set_u16x8", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 678, + "End Line": 680 }, { - "Function Name": "Translator::InitializeNamesFromAttribute", - "Structural Impact": 15.7, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 7, + "Function Name": "set_i32x4", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "41.2%", - "Start Line": 3359, - "End Line": 3394 + "Control Flow Ratio": "0.0%", + "Start Line": 687, + "End Line": 689 }, { - "Function Name": "Translator::CreateMetadataVector", - "Structural Impact": 14.2, - "Lines of Code (LOC)": 63, - "Control Flow Branches": 10, - "Input Parameters": 0, - "Control Flow Ratio": "58.8%", - "Start Line": 3887, - "End Line": 3949 + "Function Name": "set_u32x4", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 696, + "End Line": 698 }, { - "Function Name": "Translator::AppendBufferData", - "Structural Impact": 13.4, - "Lines of Code (LOC)": 69, - "Control Flow Branches": 9, - "Input Parameters": 0, - "Control Flow Ratio": "39.1%", - "Start Line": 4430, - "End Line": 4498 + "Function Name": "set_i64x2", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 705, + "End Line": 707 }, { - "Function Name": "Translator::UpdateBufferOffsets", - "Structural Impact": 13.4, - "Lines of Code (LOC)": 49, - "Control Flow Branches": 10, - "Input Parameters": 0, - "Control Flow Ratio": "45.5%", - "Start Line": 4500, - "End Line": 4548 + "Function Name": "set_u64x2", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 714, + "End Line": 716 }, { - "Function Name": "Translator::BuildIfOperator", - "Structural Impact": 12.7, - "Lines of Code (LOC)": 53, - "Control Flow Branches": 9, - "Input Parameters": 0, - "Control Flow Ratio": "28.1%", - "Start Line": 1648, - "End Line": 1700 + "Function Name": "set_f64x2", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 723, + "End Line": 725 }, { - "Function Name": "UpdateEntryFunction", - "Structural Impact": 12.5, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "43.8%", - "Start Line": 4110, - "End Line": 4133 + "Function Name": "set_f32x4", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 732, + "End Line": 734 }, { - "Function Name": "GetStringsFromDictionaryAttr", - "Structural Impact": 12.1, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 10, - "Input Parameters": 0, - "Control Flow Ratio": "62.5%", - "Start Line": 3965, - "End Line": 3986 + "Function Name": "index", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 858, + "End Line": 860 }, { - "Function Name": "Translator::BuildCustomOperator", - "Structural Impact": 11.6, - "Lines of Code (LOC)": 53, - "Control Flow Branches": 3, - "Input Parameters": 4, - "Control Flow Ratio": "33.3%", - "Start Line": 1733, - "End Line": 1785 + "Function Name": "index_mut", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 864, + "End Line": 866 }, { - "Function Name": "Translator::BuildTensorFromType", - "Structural Impact": 11.4, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 8, - "Input Parameters": 0, - "Control Flow Ratio": "53.3%", - "Start Line": 1373, - "End Line": 1420 + "Function Name": "index", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 872, + "End Line": 874 }, { - "Function Name": "HasValidTFLiteType", - "Structural Impact": 10.0, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 4, + "Function Name": "index_mut", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "28.6%", - "Start Line": 385, - "End Line": 411 + "Control Flow Ratio": "0.0%", + "Start Line": 878, + "End Line": 880 }, { - "Function Name": "Translator::BuildVhloRngBitGeneratorV1Op", - "Structural Impact": 9.7, - "Lines of Code (LOC)": 33, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "77.8%", - "Start Line": 2451, - "End Line": 2483 + "Function Name": "done_decode", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 964, + "End Line": 966 }, { - "Function Name": "Translator::BuildStablehloRngBitGeneratorOp", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 30, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "77.8%", - "Start Line": 2249, - "End Line": 2278 + "Function Name": "load_ne", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1111, + "End Line": 1114 }, { - "Function Name": "Translator::BuildWhileOperator", - "Structural Impact": 8.6, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 6, - "Input Parameters": 0, - "Control Flow Ratio": "30.0%", - "Start Line": 1615, - "End Line": 1646 + "Function Name": "jump", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1428, + "End Line": 1430 }, { - "Function Name": "Translator::BuildVhloCaseOp", - "Structural Impact": 8.2, - "Lines of Code (LOC)": 64, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 2517, - "End Line": 2580 + "Function Name": "xzero", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1676, + "End Line": 1679 }, { - "Function Name": "Translator::ExtractControlEdges", - "Structural Impact": 8.2, - "Lines of Code (LOC)": 45, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 4648, - "End Line": 4692 + "Function Name": "xone", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1681, + "End Line": 1684 }, { - "Function Name": "Translator::GetOpcodeIndex", - "Structural Impact": 7.9, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 3, + "Function Name": "call_indirect_host", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1881, - "End Line": 1899 + "Control Flow Ratio": "0.0%", + "Start Line": 2833, + "End Line": 2835 }, { - "Function Name": "IsTFResourceOp", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "36.4%", - "Start Line": 279, - "End Line": 293 + "Function Name": "addr", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1189, + "End Line": 1190 }, { - "Function Name": "Translator::BuildExternalBuffer", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 37, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "38.5%", - "Start Line": 1068, - "End Line": 1104 + "Function Name": "pop_frame", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2071, + "End Line": 2078 }, { - "Function Name": "CreateOpLocation", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 37, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "45.5%", - "Start Line": 3783, - "End Line": 3819 + "Function Name": "new_i32", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 431, + "End Line": 435 }, { - "Function Name": "Translator::GetQuantizationForQuantStatsOpOutput", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "62.5%", - "Start Line": 3402, - "End Line": 3430 + "Function Name": "new_u32", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 437, + "End Line": 441 }, { - "Function Name": "Translator::SerializeDebugMetadata", - "Structural Impact": 7.2, - "Lines of Code (LOC)": 64, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 3822, - "End Line": 3885 + "Function Name": "new_i64", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 443, + "End Line": 447 }, { - "Function Name": "Translator::BuildTFVariantType", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "44.4%", - "Start Line": 1343, - "End Line": 1371 + "Function Name": "new_u64", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 449, + "End Line": 453 }, { - "Function Name": "GetOpsSummary", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "40.0%", - "Start Line": 360, - "End Line": 383 + "Function Name": "new_ptr", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 455, + "End Line": 459 }, { - "Function Name": "Translator::GetOperatorDebugMetadataIndex", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, + "Function Name": "new_f32", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "37.5%", - "Start Line": 1328, - "End Line": 1341 + "Control Flow Ratio": "0.0%", + "Start Line": 542, + "End Line": 546 }, { - "Function Name": "GetTflitePadding", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "40.0%", - "Start Line": 508, - "End Line": 523 + "Function Name": "new_f64", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 548, + "End Line": 552 }, { - "Function Name": "attribute_buffer_applier_factories_", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "42.9%", - "Start Line": 679, - "End Line": 702 + "Function Name": "new_u128", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 631, + "End Line": 635 }, { - "Function Name": "MlirToFlatBufferTranslateFunction", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 23, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "37.5%", - "Start Line": 4706, - "End Line": 4728 + "Function Name": "done_return_to_host", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1001, + "End Line": 1005 }, { - "Function Name": "Translator::BuildStablehloScatterOp", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 54, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "14.3%", - "Start Line": 2153, - "End Line": 2206 + "Function Name": "pop", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1060, + "End Line": 1065 }, { - "Function Name": "Translator::BuildVhloScatterV1Op", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 52, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "14.3%", - "Start Line": 2350, - "End Line": 2401 + "Function Name": "state", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 48, + "End Line": 50 }, { - "Function Name": "GetTflitePoolParams", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "16.7%", - "Start Line": 529, - "End Line": 546 + "Function Name": "state_mut", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 53, + "End Line": 55 }, { - "Function Name": "Translator::BuildVhloReduceWindowV1Op", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 47, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "10.0%", - "Start Line": 2403, - "End Line": 2449 + "Function Name": "fp", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 198, + "End Line": 200 }, { - "Function Name": "Translator::CreateSignatureDefs", - "Structural Impact": 4.2, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 1, + "Function Name": "lr", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "12.5%", - "Start Line": 4082, - "End Line": 4108 + "Control Flow Ratio": "0.0%", + "Start Line": 203, + "End Line": 205 }, { - "Function Name": "Translator::GetList", - "Structural Impact": 4.1, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 4068, - "End Line": 4080 + "Function Name": "executing_pc", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 223, + "End Line": 226 }, { - "Function Name": "Translator::BuildStablehloReduceWindowOp", - "Structural Impact": 4.0, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "9.1%", - "Start Line": 2208, - "End Line": 2247 + "Function Name": "drop", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 230, + "End Line": 232 }, { - "Function Name": "Translator::EstimateArithmeticCount", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 1048, - "End Line": 1062 + "Control Flow Ratio": "0.0%", + "Start Line": 274, + "End Line": 276 }, { - "Function Name": "Translator::BuildIfOperator", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "16.7%", - "Start Line": 1564, - "End Line": 1587 + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 280, + "End Line": 282 }, { - "Function Name": "Translator::BuildVhloGatherV1Op", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 42, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2307, - "End Line": 2348 + "Start Line": 286, + "End Line": 288 }, { - "Function Name": "IsUnsupportedFlexOp", - "Structural Impact": 3.0, + "Function Name": "from", + "Structural Impact": 1.6, "Lines of Code (LOC)": 3, - "Control Flow Branches": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 296, - "End Line": 298 + "Control Flow Ratio": "0.0%", + "Start Line": 292, + "End Line": 294 }, { - "Function Name": "Translator::BuildStablehloGatherOp", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 39, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1980, - "End Line": 2018 + "Start Line": 298, + "End Line": 300 }, { - "Function Name": "Translator::BuildStablehloOperatorwithoutOptions", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 14, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1942, - "End Line": 1955 + "Start Line": 304, + "End Line": 306 }, { - "Function Name": "GetTensorFlowNodeDef", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 490, - "End Line": 504 + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 310, + "End Line": 312 }, { - "Function Name": "Insert", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 7, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 5, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 617, - "End Line": 623 + "Start Line": 316, + "End Line": 318 }, { - "Function Name": "Translator::CreateFlexOpCustomOptions", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 1787, - "End Line": 1802 + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 322, + "End Line": 324 }, { - "Function Name": "Translator::UnnamedRegionToSubgraph", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 1313, - "End Line": 1326 + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 329, + "End Line": 331 }, { - "Function Name": "ExportBuffer", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 6, + "Function Name": "get_i32", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 580, - "End Line": 585 + "Start Line": 461, + "End Line": 464 }, { - "Function Name": "Translator::BuildNumericVerifyOperator", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 30, + "Function Name": "get_u32", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1702, - "End Line": 1731 + "Start Line": 466, + "End Line": 469 }, { - "Function Name": "Translator::BuildStablehloPrecisionConfig", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 1957, - "End Line": 1966 + "Function Name": "get_i64", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 471, + "End Line": 474 }, { - "Function Name": "Translator::BuildVhloPrecisionConfigV1", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 1968, - "End Line": 1978 + "Function Name": "get_u64", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 476, + "End Line": 479 }, { - "Function Name": "Translator::BuildVhloPadV1Op", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 31, + "Function Name": "get_ptr", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2485, - "End Line": 2515 + "Start Line": 481, + "End Line": 484 }, { - "Function Name": "GetStringsFromAttrWithSeparator", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 3953, - "End Line": 3961 + "Function Name": "get_f32", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 554, + "End Line": 557 }, { - "Function Name": "Translator::BuildStablehloPadOp", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 26, + "Function Name": "get_f64", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2280, - "End Line": 2305 + "Start Line": 559, + "End Line": 562 }, { - "Function Name": "Translator::BuildCallOnceOperator", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 25, + "Function Name": "get_u128", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1589, - "End Line": 1613 + "Start Line": 637, + "End Line": 640 }, { - "Function Name": "Translator::IsStatefulOperand", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 3396, - "End Line": 3400 + "Function Name": "get_i8x16", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 646, + "End Line": 649 }, { - "Function Name": "Translator::BuildMetadata", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 8, + "Function Name": "get_u8x16", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3668, - "End Line": 3675 + "Start Line": 655, + "End Line": 658 }, { - "Function Name": "Insert", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "get_i16x8", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 625, - "End Line": 627 + "Start Line": 664, + "End Line": 667 }, { - "Function Name": "IsConst", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "get_u16x8", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 272, - "End Line": 277 + "Start Line": 673, + "End Line": 676 }, { - "Function Name": "ApplyData", + "Function Name": "get_i32x4", "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 587, - "End Line": 590 + "Start Line": 682, + "End Line": 685 }, { - "Function Name": "GetData", - "Structural Impact": 1.4, - "Lines of Code (LOC)": 9, + "Function Name": "get_u32x4", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 592, - "End Line": 600 + "Start Line": 691, + "End Line": 694 }, { - "Function Name": "IsUnsupportedLocation", - "Structural Impact": 1.2, + "Function Name": "get_i64x2", + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 303, - "End Line": 306 + "Start Line": 700, + "End Line": 703 }, { - "Function Name": "Translator::CreateCustomOpCustomOptions", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 5, + "Function Name": "get_u64x2", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1804, - "End Line": 1808 + "Start Line": 709, + "End Line": 712 }, { - "Function Name": "MlirToFlatBufferTranslateFunction", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 5, + "Function Name": "get_f64x2", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 4698, - "End Line": 4702 + "Start Line": 718, + "End Line": 721 }, { - "Function Name": "hash", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "get_f32x4", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 602, - "End Line": 602 + "Start Line": 727, + "End Line": 730 }, { - "Function Name": "byte_size_hint", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "top", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 603, - "End Line": 603 + "Start Line": 790, + "End Line": 793 }, - { - "Function Name": "buffers", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + { + "Function Name": "base", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 629, - "End Line": 629 + "Start Line": 799, + "End Line": 801 }, { - "Function Name": "Translator::UniqueName", - "Structural Impact": 1.1, + "Function Name": "len", + "Structural Impact": 1.6, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1064, - "End Line": 1066 + "Start Line": 804, + "End Line": 806 }, { - "Function Name": "operator()", - "Structural Impact": 1.1, + "Function Name": "debug_assert_done_reason_none", + "Structural Impact": 1.6, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3679, - "End Line": 3681 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 660, - "Sequential Logic Declarations": 841, - "Function Parameters": 119, - "Function/Method Declarations": 81, - "Class/Entity Declarations": 6, - "Defensive Programming Constructs": 79, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 3, - "State Mutations / Variable Reassignments": 2707, - "Commented-out Code (Dead Logic)": 5, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 25, - "Global State Dependencies": 14, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 5, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 1, - "Module Dependencies (Imports)": 116, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 7, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 290, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 105, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 4, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 228, - "Resource Deallocation & Cleanup": 1, - "Private / Encapsulated Scopes": 3, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 3520, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 1, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 753, - "Design Camel Case": 17, - "Design Snake Case": 730, - "Design Pascal Case": 6, - "Design Upper Case": 0, - "Design Short Vars": 27, - "Design Long Vars": 27, - "Duplicate Logic": 0, - "Orphaned Logic": 52, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 2, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 116, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "absl/algorithm/container.h", - "absl/base/attributes.h", - "absl/container/flat_hash_map.h", - "absl/container/flat_hash_set.h", - "absl/functional/any_invocable.h", - "absl/functional/function_ref.h", - "absl/log/check.h", - "absl/log/log.h", - "absl/status/status.h", - "absl/strings/match.h", - "absl/strings/str_cat.h", - "absl/strings/str_format.h", - "absl/strings/str_join.h", - "absl/strings/string_view.h", - "algorithm", - "cassert", - "cstdint", - "cstdio", - "cstring", - "flatbuffers/buffer.h", - "flatbuffers/flatbuffer_builder.h", - "flatbuffers/flexbuffers.h", - "flatbuffers/vector.h", - "functional", - "iterator", - "limits", - "llvm/ADT/ArrayRef.h", - "llvm/ADT/DenseMap.h", - "llvm/ADT/STLExtras.h", - "llvm/ADT/SmallVector.h", - "llvm/ADT/StringRef.h", - "llvm/ADT/StringSwitch.h", - "llvm/Support/Casting.h", - "llvm/Support/FormatVariadic.h", - "llvm/Support/SwapByteOrder.h", - "llvm/Support/raw_ostream.h", - "map", - "memory", - "mlir/Dialect/Arith/IR/Arith.h", - "mlir/Dialect/Func/IR/FuncOps.h", - "mlir/Dialect/Quant/IR/QuantTypes.h", - "mlir/IR/Attributes.h", - "mlir/IR/Builders.h", - "mlir/IR/BuiltinAttributeInterfaces.h", - "mlir/IR/BuiltinAttributes.h", - "mlir/IR/BuiltinOps.h", - "mlir/IR/BuiltinTypeInterfaces.h", - "mlir/IR/BuiltinTypes.h", - "mlir/IR/Diagnostics.h", - "mlir/IR/DialectResourceBlobManager.h", - "mlir/IR/Location.h", - "mlir/IR/MLIRContext.h", - "mlir/IR/OpDefinition.h", - "mlir/IR/Operation.h", - "mlir/IR/PatternMatch.h", - "mlir/IR/TypeUtilities.h", - "mlir/IR/Types.h", - "mlir/IR/Value.h", - "mlir/IR/Visitors.h", - "mlir/Support/LLVM.h", - "mlir/Support/LogicalResult.h", - "optional", - "set", - "stablehlo/dialect/StablehloOps.h", - "stablehlo/dialect/VhloOps.h", - "stddef.h", - "stdlib.h", - "string", - "tensorflow/compiler/mlir/lite/converter_flags.pb.h", - "tensorflow/compiler/mlir/lite/core/c/builtin_op_data.h", - "tensorflow/compiler/mlir/lite/core/macros.h", - "tensorflow/compiler/mlir/lite/delegates/flex/allowlisted_flex_ops.h", - "tensorflow/compiler/mlir/lite/experimental/remat/metadata_util.h", - "tensorflow/compiler/mlir/lite/flatbuffer_export.h", - "tensorflow/compiler/mlir/lite/flatbuffer_operator.h", - "tensorflow/compiler/mlir/lite/ir/tfl_ops.h", - "tensorflow/compiler/mlir/lite/metrics/converter_error_data.pb.h", - "tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h", - "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.h", - "tensorflow/compiler/mlir/lite/schema/mutable/debug_metadata_generated.h", - "tensorflow/compiler/mlir/lite/schema/mutable/schema_generated.h", - "tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h", - "tensorflow/compiler/mlir/lite/schema/schema_generated.h", - "tensorflow/compiler/mlir/lite/tools/versioning/op_version.h", - "tensorflow/compiler/mlir/lite/tools/versioning/runtime_version.h", - "tensorflow/compiler/mlir/lite/utils/const_tensor_utils.h", - "tensorflow/compiler/mlir/lite/utils/control_edges.h", - "tensorflow/compiler/mlir/lite/utils/convert_type.h", - "tensorflow/compiler/mlir/lite/utils/low_bit_utils.h", - "tensorflow/compiler/mlir/lite/utils/metadata_utils.h", - "tensorflow/compiler/mlir/lite/utils/mlir_module_utils.h", - "tensorflow/compiler/mlir/lite/utils/region_isolation.h", - "tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h", - "tensorflow/compiler/mlir/lite/utils/string_utils.h", - "tensorflow/compiler/mlir/lite/version.h", - "tensorflow/compiler/mlir/op_or_arg_name_mapper.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h", - "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h", - "tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.h", - "tensorflow/compiler/mlir/tensorflow/utils/translate_utils.h", - "tensorflow/core/framework/attr_value.pb.h", - "tensorflow/core/framework/node_def.pb.h", - "tensorflow/core/framework/op.h", - "tensorflow/core/framework/tensor.h", - "tensorflow/core/framework/types.pb.h", - "tensorflow/core/platform/tstring.h", - "tsl/platform/tstring.h", - "type_traits", - "unordered_map", - "unordered_set", - "utility", - "vector" - ] - }, - "cpp/mlir/mlir_bridge_rollout_policy.cc": { - "1. Artifact Identity": { - "Filename": "mlir_bridge_rollout_policy.cc", - "Path": "cpp/mlir/mlir_bridge_rollout_policy.cc", - "Language": "Cpp", - "Architect": "2020 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6671.97, - "Y": -90.97, - "Z": 2955.91 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 51, - "Coding LOC": 27, - "Documentation LOC": 13, - "Structural Magnitude": 10.74, - "Control Flow Ratio": "44.4%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.37 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "17.97%", - "Error & Exception Exposure": "53.5%", - "Tech Debt Exposure": "99.88%", - "Testing Exposure": "2.43%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "0.0%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "GetMlirBridgeRolloutPolicy", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "57.1%", - "Start Line": 27, - "End Line": 43 + "Start Line": 960, + "End Line": 962 }, { - "Function Name": "LogGraphFeatures", - "Structural Impact": 2.4, + "Function Name": "done_trap", + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 45, - "End Line": 48 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 4, - "Sequential Logic Declarations": 5, - "Function Parameters": 1, - "Function/Method Declarations": 2, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 2, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 2, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 0, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 6, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 0, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 4, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 16, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 0, - "Design Camel Case": 0, - "Design Snake Case": 0, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 2, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 6, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "optional", - "tensorflow/compiler/jit/flags.h", - "tensorflow/compiler/mlir/tf2xla/mlir_bridge_rollout_policy.h", - "tensorflow/core/framework/function.h", - "tensorflow/core/graph/graph.h", - "tensorflow/core/protobuf/config.pb.h" - ] - }, - "cpp/mlir/mlir_graph_optimization_pass.cc": { - "1. Artifact Identity": { - "Filename": "mlir_graph_optimization_pass.cc", - "Path": "cpp/mlir/mlir_graph_optimization_pass.cc", - "Language": "Cpp", - "Architect": "2020 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6071.66, - "Y": -25.91, - "Z": 2816.49 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 540, - "Coding LOC": 417, - "Documentation LOC": 57, - "Structural Magnitude": 333.94, - "Control Flow Ratio": "48.7%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.209 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "86.25%", - "Error & Exception Exposure": "84.33%", - "Tech Debt Exposure": "19.45%", - "Testing Exposure": "80.0%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "13.75%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ + "Start Line": 977, + "End Line": 980 + }, { - "Function Name": "MlirFunctionOptimizationPass::Run", - "Structural Impact": 119.5, - "Lines of Code (LOC)": 229, - "Control Flow Branches": 35, - "Input Parameters": 8, - "Control Flow Ratio": "68.6%", - "Start Line": 176, - "End Line": 404 + "Function Name": "current_pc", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1041, + "End Line": 1043 }, { - "Function Name": "MlirV1CompatGraphOptimizationPass::Run", - "Structural Impact": 28.9, - "Lines of Code (LOC)": 126, - "Control Flow Branches": 15, + "Function Name": "record_executing_pc_for_profiling", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "48.4%", - "Start Line": 412, - "End Line": 537 + "Control Flow Ratio": "0.0%", + "Start Line": 1173, + "End Line": 1176 }, { - "Function Name": "DumpModule", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "27.8%", - "Start Line": 117, - "End Line": 157 + "Function Name": "bytecode", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1337, + "End Line": 1339 }, { - "Function Name": "RegisterDialects", + "Function Name": "nop", "Structural Impact": 1.6, - "Lines of Code (LOC)": 11, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 164, - "End Line": 174 + "Start Line": 1341, + "End Line": 1343 }, { - "Function Name": "MlirOptimizationPassRegistry::Global", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 4, + "Function Name": "trap", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 159, - "End Line": 162 + "Start Line": 2829, + "End Line": 2831 }, { - "Function Name": "MlirV1CompatOptimizationPassRegistry::Global", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 5, + "Function Name": "new", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 406, - "End Line": 410 + "Start Line": 35, + "End Line": 37 }, { - "Function Name": "StringRefToView", + "Function Name": "default", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 110, - "End Line": 112 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 55, - "Sequential Logic Declarations": 58, - "Function Parameters": 17, - "Function/Method Declarations": 7, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 2, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 164, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 6, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 44, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 94, - "Manual Memory Allocation": 2, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 1, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 10, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 349, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 42, - "Design Camel Case": 1, - "Design Snake Case": 41, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 6, - "Duplicate Logic": 0, - "Orphaned Logic": 4, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 44, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "absl/container/flat_hash_set.h", - "absl/log/log.h", - "absl/status/status.h", - "absl/strings/string_view.h", - "llvm/ADT/StringRef.h", - "llvm/Support/FormatVariadic.h", - "llvm/Support/raw_ostream.h", - "memory", - "mlir/Dialect/Arith/IR/Arith.h", - "mlir/Dialect/Func/Extensions/AllExtensions.h", - "mlir/Dialect/Func/IR/FuncOps.h", - "mlir/Dialect/Shape/IR/Shape.h", - "mlir/IR/BuiltinOps.h", - "mlir/IR/MLIRContext.h", - "mlir/IR/OperationSupport.h", - "mlir/IR/OwningOpRef.h", - "string", - "tensorflow/compiler/mlir/mlir_graph_optimization_pass.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h", - "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h", - "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h", - "tensorflow/compiler/mlir/tensorflow/utils/device_util.h", - "tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h", - "tensorflow/compiler/mlir/tf2xla/api/v2/graph_to_tf_executor.h", - "tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h", - "tensorflow/core/common_runtime/device_set.h", - "tensorflow/core/common_runtime/function_optimization_registry.h", - "tensorflow/core/common_runtime/optimization_registry.h", - "tensorflow/core/framework/graph_debug_info.pb.h", - "tensorflow/core/framework/metrics.h", - "tensorflow/core/graph/graph.h", - "tensorflow/core/lib/monitoring/counter.h", - "tensorflow/core/platform/env.h", - "tensorflow/core/platform/errors.h", - "tensorflow/core/platform/file_system.h", - "tensorflow/core/platform/status.h", - "tensorflow/core/protobuf/config.pb.h", - "tensorflow/core/public/session_options.h", - "tensorflow/core/util/debug_data_dumper.h", - "utility", - "vector", - "xla/tsl/platform/errors.h" - ] - }, - "cpp/mlir/stablehlo.cc": { - "1. Artifact Identity": { - "Filename": "stablehlo.cc", - "Path": "cpp/mlir/stablehlo.cc", - "Language": "Cpp", - "Architect": "2023 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Neutral / No Indentation", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6867.63, - "Y": 108.15, - "Z": 2504.68 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 26, - "Coding LOC": 7, - "Documentation LOC": 11, - "Structural Magnitude": 1.24, - "Control Flow Ratio": "0.0%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.286 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "5.0%", - "Error & Exception Exposure": "0.0%", - "Tech Debt Exposure": "100.0%", - "Testing Exposure": "1.11%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "0.0%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "46.67%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "6.51%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ + "Start Line": 424, + "End Line": 426 + }, { - "Function Name": "NB_MODULE", + "Function Name": "default", "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 22, - "End Line": 22 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 0, - "Sequential Logic Declarations": 2, - "Function Parameters": 0, - "Function/Method Declarations": 1, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 0, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 0, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 0, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 2, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 0, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 0, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 0, - "Design Camel Case": 0, - "Design Snake Case": 0, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 1, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 2, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "nanobind/nanobind.h", - "stablehlo/integrations/python/StablehloApi.h" - ] - }, - "cpp/mlir/tf_mlir_opt_main.cc": { - "1. Artifact Identity": { - "Filename": "tf_mlir_opt_main.cc", - "Path": "cpp/mlir/tf_mlir_opt_main.cc", - "Language": "Cpp", - "Architect": "2019 Google Inc. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 5901.47, - "Y": 73.35, - "Z": 2437.07 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 72, - "Coding LOC": 49, - "Documentation LOC": 12, - "Structural Magnitude": 6.38, - "Control Flow Ratio": "0.0%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.122 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "7.51%", - "Error & Exception Exposure": "59.66%", - "Tech Debt Exposure": "63.67%", - "Testing Exposure": "2.34%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "34.36%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "12.24%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ + "Start Line": 535, + "End Line": 537 + }, { - "Function Name": "main", - "Structural Impact": 3.4, - "Lines of Code (LOC)": 34, + "Function Name": "default", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 38, - "End Line": 71 + "Start Line": 623, + "End Line": 625 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 0, - "Sequential Logic Declarations": 1, - "Function Parameters": 1, - "Function/Method Declarations": 1, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 0, - "Type/Safety Bypasses": 0, + "Control Flow Branches": 411, + "Sequential Logic Declarations": 1748, + "Function Parameters": 738, + "Function/Method Declarations": 649, + "Class/Entity Declarations": 18, + "Defensive Programming Constructs": 93, + "Type/Safety Bypasses": 26, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 2, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, + "Exposed API / Public Exports": 54, + "State Mutations / Variable Reassignments": 1277, + "Commented-out Code (Dead Logic)": 2, + "Structured Documentation Blocks": 227, + "Unit Test Assertions": 15, + "Asynchronous/Concurrent Execution": 12, "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, + "Closures and Anonymous Functions": 1, "Global State Dependencies": 0, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 21, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, + "Decorators and Annotations": 258, + "Generic Type Abstractions": 838, + "Collection Iterators / Comprehensions": 206, + "Scientific & Mathematical Operations": 57, + "Metaprogramming & Reflection": 2, + "Module Dependencies (Imports)": 20, + "Authorship Metadata": 0, + "Planned Work (TODOs)": 6, "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 2, - "Manual Memory Allocation": 0, + "Preprocessor Macros": 2, + "Pointer Arithmetic & Addressing": 621, + "Manual Memory Allocation": 3, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, + "Explicit Type Casts": 92, + "Fatal Aborts & Exceptions": 1, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, + "Bitwise Operations": 22, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 2, + "Immutable Data Declarations": 4, + "Resource Deallocation & Cleanup": 1, + "Private / Encapsulated Scopes": 54, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, "Structural Tab Indentations": 0, - "Structural Space Indentations": 26, + "Structural Space Indentations": 4482, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -261751,15 +262039,15 @@ "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 0, + "Core Var Decl": 859, "Design Camel Case": 0, - "Design Snake Case": 0, - "Design Pascal Case": 0, + "Design Snake Case": 839, + "Design Pascal Case": 20, "Design Upper Case": 0, - "Design Short Vars": 0, + "Design Short Vars": 608, "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 1, + "Duplicate Logic": 3, + "Orphaned Logic": 521, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -261783,245 +262071,37 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 21, + "Direct Upstream (Fragility)": 25, "Direct Downstream (Dependency Blast Radius)": 0, "Total Upstream (Absolute Fragility)": 0, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "mlir/InitAllPasses.h", - "mlir/Support/LogicalResult.h", - "mlir/Tools/mlir-opt/MlirOptMain.h", - "mlir/Transforms/Passes.h", - "tensorflow//compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h", - "tensorflow/compiler/mlir/init_mlir.h", - "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h", - "tensorflow/compiler/mlir/register_common_dialects.h", - "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.h", - "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h", - "tensorflow/compiler/mlir/tensorflow/transforms/passes.h", - "tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h", - "tensorflow/compiler/mlir/tensorflow/transforms/test_passes.h", - "tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.h", - "tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.h", - "tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h", - "tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h", - "tensorflow/compiler/mlir/tf2xla/internal/passes/mlir_to_graph_passes.h", - "tensorflow/compiler/mlir/tf2xla/transforms/passes.h", - "xla/mlir/framework/transforms/passes.h", - "xla/mlir_hlo/mhlo/transforms/passes.h" - ] - }, - "cpp/mlir/tf_tfl_translate.cc": { - "1. Artifact Identity": { - "Filename": "tf_tfl_translate.cc", - "Path": "cpp/mlir/tf_tfl_translate.cc", - "Language": "Cpp", - "Architect": "2019 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6440.42, - "Y": 102.3, - "Z": 2154.19 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 293, - "Coding LOC": 227, - "Documentation LOC": 34, - "Structural Magnitude": 191.64, - "Control Flow Ratio": "51.7%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.895 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "64.14%", - "Error & Exception Exposure": "90.34%", - "Tech Debt Exposure": "69.08%", - "Testing Exposure": "80.0%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "18.3%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "main", - "Structural Impact": 66.1, - "Lines of Code (LOC)": 214, - "Control Flow Branches": 31, - "Input Parameters": 2, - "Control Flow Ratio": "55.4%", - "Start Line": 79, - "End Line": 292 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 31, - "Sequential Logic Declarations": 29, - "Function Parameters": 3, - "Function/Method Declarations": 1, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 1, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 121, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 1, - "Global State Dependencies": 1, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 43, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 4, - "Acknowledged Tech Debt (FIXMEs)": 1, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 1, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 14, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 176, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 16, - "Design Camel Case": 0, - "Design Snake Case": 16, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 1, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 43, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "absl/status/statusor.h", - "absl/strings/str_split.h", - "absl/types/span.h", - "llvm/ADT/STLExtras.h", - "llvm/ADT/SmallVector.h", - "llvm/ADT/StringExtras.h", - "llvm/ADT/StringRef.h", - "llvm/Support/CommandLine.h", - "llvm/Support/SourceMgr.h", - "llvm/Support/ToolOutputFile.h", - "llvm/Support/raw_ostream.h", - "memory", - "mlir/Dialect/Func/Extensions/AllExtensions.h", - "mlir/Dialect/Func/IR/FuncOps.h", - "mlir/IR/AsmState.h", - "mlir/IR/BuiltinOps.h", - "mlir/IR/Diagnostics.h", - "mlir/IR/DialectRegistry.h", - "mlir/IR/MLIRContext.h", - "mlir/Parser/Parser.h", - "mlir/Pass/PassManager.h", - "mlir/Support/FileUtilities.h", - "stablehlo/dialect/ChloOps.h", - "stablehlo/dialect/StablehloOps.h", - "string", - "tensorflow/compiler/mlir/init_mlir.h", - "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h", - "tensorflow/compiler/mlir/lite/converter_flags.pb.h", - "tensorflow/compiler/mlir/lite/flatbuffer_export_flags.h", - "tensorflow/compiler/mlir/lite/ir/tfl_ops.h", - "tensorflow/compiler/mlir/lite/quantization/common/quantization_lib/quantization_config.h", - "tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.h", - "tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h", - "tensorflow/compiler/mlir/lite/transforms/passes.h", - "tensorflow/compiler/mlir/tensorflow/dialect_registration.h", - "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h", - "tensorflow/core/framework/types.pb.h", - "tensorflow/core/platform/errors.h", - "unordered_set", - "utility", - "vector", - "xla/hlo/translate/hlo_to_mhlo/translate.h", - "xla/mlir_hlo/mhlo/IR/hlo_ops.h" + "ExecutingPcRef", + "IndexMut", + "Interpreter", + "MachineState", + "TrapKind", + "alloc::string::ToString", + "core::fmt", + "core::mem", + "core::ops::ControlFlow", + "core::ops::Index", + "core::ptr::NonNull", + "crate::decode::*", + "crate::encode::Encode", + "crate::imms::*", + "crate::profile::ExecutingPc", + "crate::regs::*", + "done::Done", + "done::DoneReason", + "f32_cvt_to_int_bounds", + "f64_cvt_to_int_bounds", + "pulley_macros::interp_disable_if_cfg", + "super::Encode", + "wasmtime_core::alloc::TryVec", + "wasmtime_core::error::OutOfMemory", + "wasmtime_core::math::WasmFloat" ] } } @@ -331683,7 +331763,7 @@ } }, "cpp/powertoys": { - "Directory Group Magnitude": 2037.8, + "Directory Group Magnitude": 2061.0, "File Count": 7, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -332370,9 +332450,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": 240.24, - "Y": -77.75, - "Z": -4202.11 + "X": 239.92, + "Y": -77.74, + "Z": -4202.17 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -332384,7 +332464,7 @@ "Total LOC": 55, "Coding LOC": 45, "Documentation LOC": 0, - "Structural Magnitude": 28.3, + "Structural Magnitude": 29.3, "Control Flow Ratio": "50.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -332396,7 +332476,7 @@ "Cognitive Load Exposure": "68.76%", "Error & Exception Exposure": "75.17%", "Tech Debt Exposure": "69.71%", - "Testing Exposure": "2.49%", + "Testing Exposure": "2.51%", "API Exposure": "0.0%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "99.96%", @@ -332420,10 +332500,10 @@ }, { "Function Name": "DllGetClassObject", - "Structural Impact": 1.2, + "Structural Impact": 2.2, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", "Start Line": 11, "End Line": 14 @@ -332573,9 +332653,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": 807.59, - "Y": 13.48, - "Z": -4668.4 + "X": 807.66, + "Y": 13.64, + "Z": -4669.19 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -332587,7 +332667,7 @@ "Total LOC": 277, "Coding LOC": 235, "Documentation LOC": 15, - "Structural Magnitude": 294.7, + "Structural Magnitude": 315.7, "Control Flow Ratio": "58.2%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -332613,10 +332693,10 @@ "5. Function Analysis": [ { "Function Name": "KeyboardHookProc", - "Structural Impact": 26.4, + "Structural Impact": 47.4, "Lines of Code (LOC)": 107, "Control Flow Branches": 20, - "Input Parameters": 0, + "Input Parameters": 3, "Control Flow Ratio": "64.5%", "Start Line": 82, "End Line": 188 @@ -333354,9 +333434,9 @@ "Identity Proof": "Ecosystem Consensus Lock (81% Local Dominance)" }, "2. Topological Coordinates": { - "X": 677.21, - "Y": -222.23, - "Z": -3407.75 + "X": 677.05, + "Y": -222.35, + "Z": -3407.18 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -333368,7 +333448,7 @@ "Total LOC": 63, "Coding LOC": 49, "Documentation LOC": 0, - "Structural Magnitude": 16.98, + "Structural Magnitude": 18.18, "Control Flow Ratio": "7.7%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, @@ -333380,7 +333460,7 @@ "Cognitive Load Exposure": "15.0%", "Error & Exception Exposure": "57.23%", "Tech Debt Exposure": "0.0%", - "Testing Exposure": "2.37%", + "Testing Exposure": "2.38%", "API Exposure": "7.18%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "54.21%", @@ -333394,20 +333474,20 @@ "5. Function Analysis": [ { "Function Name": "operator()", - "Structural Impact": 2.4, + "Structural Impact": 3.2, "Lines of Code (LOC)": 7, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", "Start Line": 14, "End Line": 20 }, { "Function Name": "operator()", - "Structural Impact": 1.2, + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", "Start Line": 26, "End Line": 29 @@ -425552,9 +425632,9 @@ "Identity Proof": "Single Indicator (Ext: .proto)" }, "2. Topological Coordinates": { - "X": 6613.9, + "X": 6616.54, "Y": -160.84, - "Z": 3711.34 + "Z": 3712.65 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -425709,9 +425789,9 @@ "Identity Proof": "Single Indicator (Ext: .proto)" }, "2. Topological Coordinates": { - "X": 6836.72, + "X": 6839.36, "Y": -103.73, - "Z": 2977.8 + "Z": 2979.11 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -425866,9 +425946,9 @@ "Identity Proof": "Single Indicator (Ext: .proto)" }, "2. Topological Coordinates": { - "X": 6815.61, + "X": 6818.25, "Y": -123.93, - "Z": 3244.2 + "Z": 3245.52 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -432434,9 +432514,9 @@ "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": 7205.06, + "X": 7207.46, "Y": 164.39, - "Z": 2505.78 + "Z": 2506.67 }, "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 d852dff9c..7d4bb7e93 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-26T14:12:50.082683+00:00", - "Total Scan Duration": "32.27 seconds" + "Analysis ISO Timestamp": "2026-08-26T15:27:45.955779+00:00", + "Total Scan Duration": "31.79 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -199,7 +199,7 @@ "avg_cognitive_load": 24.695, "avg_safety_score": 38.656, "avg_tech_debt": 25.019, - "avg_documentation": 21.561 + "avg_documentation": 21.568 }, "composition": { "xml": { @@ -245,7 +245,7 @@ "c": { "files": 44, "loc": 74236, - "impact": 104104.82 + "impact": 104150.01999999999 }, "batch": { "files": 3, @@ -295,12 +295,12 @@ "cpp": { "files": 33, "loc": 44831, - "impact": 56859.11999999999 + "impact": 57237.41999999999 }, "csharp": { "files": 8, "loc": 18933, - "impact": 15223.760000000002 + "impact": 15283.560000000001 }, "css": { "files": 4, @@ -679,7 +679,7 @@ }, "cpp/NVDA": { "file_count": 12, - "total_mass": 7611.24, + "total_mass": 7633.24, "avg_exposures": { "cognitive_load": 31.09, "safety_score": 43.44, @@ -698,20 +698,20 @@ }, "cpp/godot": { "file_count": 16, - "total_mass": 36944.92, + "total_mass": 36981.52, "avg_exposures": { - "cognitive_load": 59.78, + "cognitive_load": 59.79, "safety_score": 73.56, "tech_debt": 22.49, "verification": 55.29, - "api_exposure": 5.39, + "api_exposure": 5.41, "concurrency": 0.0, "state_flux": 81.22, "dead_code": 2.11, "spec_match": 81.25, "stability": 40.62, "churn": 0.0, - "documentation": 24.12, + "documentation": 24.4, "secrets_risk": 0.0 } }, @@ -1040,7 +1040,7 @@ }, "lua/redis": { "file_count": 6, - "total_mass": 6669.82, + "total_mass": 6709.02, "avg_exposures": { "cognitive_load": 55.64, "safety_score": 67.12, @@ -1053,7 +1053,7 @@ "spec_match": 100.0, "stability": 50.0, "churn": 0.0, - "documentation": 87.14, + "documentation": 87.31, "secrets_risk": 0.0 } }, @@ -1135,7 +1135,7 @@ }, "cobol/gnucobol_internals": { "file_count": 5, - "total_mass": 15668.75, + "total_mass": 15672.45, "avg_exposures": { "cognitive_load": 48.32, "safety_score": 68.48, @@ -1268,7 +1268,7 @@ }, "csharp/roslyn": { "file_count": 7, - "total_mass": 15179.22, + "total_mass": 15239.02, "avg_exposures": { "cognitive_load": 25.48, "safety_score": 42.59, @@ -1952,7 +1952,7 @@ }, "livecode/core": { "file_count": 11, - "total_mass": 26647.22, + "total_mass": 26670.22, "avg_exposures": { "cognitive_load": 33.19, "safety_score": 56.39, @@ -2123,12 +2123,12 @@ }, "cpp/mlir": { "file_count": 6, - "total_mass": 4633.54, + "total_mass": 4909.34, "avg_exposures": { "cognitive_load": 44.93, "safety_score": 63.81, "tech_debt": 65.7, - "verification": 40.98, + "verification": 41.02, "api_exposure": 0.27, "concurrency": 0.0, "state_flux": 55.73, @@ -2136,13 +2136,13 @@ "spec_match": 91.11, "stability": 50.0, "churn": 0.0, - "documentation": 12.44, + "documentation": 12.6, "secrets_risk": 0.0 } }, "cpp/powertoys": { "file_count": 7, - "total_mass": 2037.8, + "total_mass": 2061.0, "avg_exposures": { "cognitive_load": 55.05, "safety_score": 78.8, @@ -9666,25 +9666,25 @@ } }, "cpp/godot": { - "Directory Group Magnitude": 36944.92, + "Directory Group Magnitude": 36981.52, "File Count": 16, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "81.2%", "Static: Literature & Documentation": "18.8%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "59.78%", + "Cognitive Load Exposure": "59.79%", "Error & Exception Exposure": "73.56%", "Tech Debt Exposure": "22.49%", "Testing Exposure": "55.29%", - "API Exposure": "5.39%", + "API Exposure": "5.41%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "81.22%", "Commented Logic Exposure": "2.11%", "Specification Exposure": "81.25%", "Instability Exposure": "40.62%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "24.12%", + "Documentation Exposure": "24.4%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -10015,9 +10015,9 @@ "Identity Proof": "Sibling Anchor (.c)" }, "2. Topological Coordinates": { - "X": -829.66, + "X": -829.67, "Y": -58.81, - "Z": 3827.29 + "Z": 3827.33 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -10029,7 +10029,7 @@ "Total LOC": 1155, "Coding LOC": 902, "Documentation LOC": 82, - "Structural Magnitude": 853.54, + "Structural Magnitude": 855.84, "Control Flow Ratio": "16.3%", "Popularity Rank": 2, "Raw Churn Frequency": 0.0, @@ -10165,33 +10165,33 @@ }, { "Function Name": "constexpr", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 3, + "Structural Impact": 3.7, + "Lines of Code (LOC)": 4, "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 861, - "End Line": 863 + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 852, + "End Line": 855 }, { "Function Name": "constexpr", - "Structural Impact": 2.4, + "Structural Impact": 3.2, "Lines of Code (LOC)": 7, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", "Start Line": 1072, "End Line": 1078 }, { "Function Name": "constexpr", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 852, - "End Line": 855 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 861, + "End Line": 863 }, { "Function Name": "_setv", @@ -17950,9 +17950,9 @@ "Identity Proof": "Sibling Anchor (C++)" }, "2. Topological Coordinates": { - "X": -1012.14, - "Y": -126.12, - "Z": 2821.21 + "X": -1012.19, + "Y": -126.13, + "Z": 2821.1 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -17964,7 +17964,7 @@ "Total LOC": 945, "Coding LOC": 670, "Documentation LOC": 81, - "Structural Magnitude": 520.8, + "Structural Magnitude": 525.9, "Control Flow Ratio": "12.5%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, @@ -18068,56 +18068,56 @@ "Start Line": 686, "End Line": 688 }, - { - "Function Name": "atr", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 828, - "End Line": 828 - }, { "Function Name": "operator()", - "Structural Impact": 2.5, + "Structural Impact": 3.9, "Lines of Code (LOC)": 9, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "33.3%", "Start Line": 179, "End Line": 187 }, - { - "Function Name": "_update_children_cache", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "50.0%", - "Start Line": 346, - "End Line": 350 - }, { "Function Name": "operator()", - "Structural Impact": 2.0, + "Structural Impact": 3.5, "Lines of Code (LOC)": 1, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", "Start Line": 191, "End Line": 191 }, { "Function Name": "operator()", - "Structural Impact": 2.0, + "Structural Impact": 3.5, "Lines of Code (LOC)": 1, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", "Start Line": 195, "End Line": 195 }, + { + "Function Name": "atr", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 828, + "End Line": 828 + }, + { + "Function Name": "_update_children_cache", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 346, + "End Line": 350 + }, { "Function Name": "Node::rpc", "Structural Impact": 1.9, @@ -18128,6 +18128,16 @@ "Start Line": 911, "End Line": 914 }, + { + "Function Name": "operator()", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 137, + "End Line": 137 + }, { "Function Name": "make_binds", "Structural Impact": 1.7, @@ -18258,16 +18268,6 @@ "Start Line": 70, "End Line": 71 }, - { - "Function Name": "operator()", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 137, - "End Line": 137 - }, { "Function Name": "operator*", "Structural Impact": 1.1, @@ -20847,9 +20847,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": -1277.22, - "Y": -157.91, - "Z": 3368.76 + "X": -1277.32, + "Y": -157.93, + "Z": 3368.75 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -20861,27 +20861,27 @@ "Total LOC": 3582, "Coding LOC": 3071, "Documentation LOC": 76, - "Structural Magnitude": 4056.62, + "Structural Magnitude": 4078.72, "Control Flow Ratio": "70.1%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.578 + "Raw Cognitive Density": 1.577 }, "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "95.41%", "Error & Exception Exposure": "94.73%", "Tech Debt Exposure": "8.42%", "Testing Exposure": "80.0%", - "API Exposure": "12.23%", + "API Exposure": "12.31%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "100.0%", "Commented Logic Exposure": "4.86%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "55.28%", + "Documentation Exposure": "56.88%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -21355,6 +21355,36 @@ "Start Line": 1066, "End Line": 1072 }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2229, + "End Line": 2245 + }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2247, + "End Line": 2264 + }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2266, + "End Line": 2281 + }, { "Function Name": "Variant::ObjData::unref", "Structural Impact": 3.5, @@ -21615,6 +21645,26 @@ "Start Line": 182, "End Line": 187 }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2219, + "End Line": 2227 + }, + { + "Function Name": "Variant::operator Vector", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 2283, + "End Line": 2292 + }, { "Function Name": "_init_type_name_map", "Structural Impact": 2.4, @@ -21935,6 +21985,16 @@ "Start Line": 864, "End Line": 866 }, + { + "Function Name": "operator<", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1553, + "End Line": 1555 + }, { "Function Name": "Variant::Variant", "Structural Impact": 1.6, @@ -22365,16 +22425,6 @@ "Start Line": 1535, "End Line": 1537 }, - { - "Function Name": "operator<", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 1553, - "End Line": 1555 - }, { "Function Name": "Variant::operator String", "Structural Impact": 1.1, @@ -22421,13 +22471,13 @@ "Control Flow Branches": 1065, "Sequential Logic Declarations": 455, "Function Parameters": 171, - "Function/Method Declarations": 153, + "Function/Method Declarations": 158, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 21, "Type/Safety Bypasses": 1, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 148, + "Exposed API / Public Exports": 153, "State Mutations / Variable Reassignments": 2026, "Commented-out Code (Dead Logic)": 1, "Structured Documentation Blocks": 4, @@ -22543,9 +22593,9 @@ "Identity Proof": "Sibling Anchor (C++)" }, "2. Topological Coordinates": { - "X": -33.47, - "Y": 141.51, - "Z": 3412.45 + "X": -33.31, + "Y": 141.54, + "Z": 3412.51 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -22557,27 +22607,27 @@ "Total LOC": 985, "Coding LOC": 779, "Documentation LOC": 63, - "Structural Magnitude": 514.08, + "Structural Magnitude": 521.18, "Control Flow Ratio": "13.2%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.28 + "Raw Cognitive Density": 1.285 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "72.57%", + "Cognitive Load Exposure": "72.74%", "Error & Exception Exposure": "92.18%", "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "9.84%", + "API Exposure": "10.11%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "99.91%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "23.78%", + "Documentation Exposure": "26.61%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -22771,6 +22821,16 @@ "Start Line": 394, "End Line": 396 }, + { + "Function Name": "operator()", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 897, + "End Line": 899 + }, { "Function Name": "compare", "Structural Impact": 1.8, @@ -23032,24 +23092,44 @@ "End Line": 477 }, { - "Function Name": "Variant", + "Function Name": "operator BitField", "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 872, - "End Line": 872 + "Start Line": 478, + "End Line": 479 }, { - "Function Name": "operator()", + "Function Name": "operator TypedArray", "Structural Impact": 1.1, - "Lines of Code (LOC)": 3, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 897, - "End Line": 899 + "Start Line": 480, + "End Line": 481 + }, + { + "Function Name": "operator TypedDictionary", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 482, + "End Line": 483 + }, + { + "Function Name": "Variant", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 872, + "End Line": 872 }, { "Function Name": "Variant::_get_obj", @@ -23077,13 +23157,13 @@ "Control Flow Branches": 42, "Sequential Logic Declarations": 275, "Function Parameters": 217, - "Function/Method Declarations": 49, + "Function/Method Declarations": 52, "Class/Entity Declarations": 16, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 31, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 32, + "Exposed API / Public Exports": 35, "State Mutations / Variable Reassignments": 342, "Commented-out Code (Dead Logic)": 0, "Structured Documentation Blocks": 4, @@ -36781,7 +36861,7 @@ } }, "livecode/core": { - "Directory Group Magnitude": 26647.22, + "Directory Group Magnitude": 26670.22, "File Count": 11, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -38674,7 +38754,7 @@ "Total LOC": 7360, "Coding LOC": 5338, "Documentation LOC": 634, - "Structural Magnitude": 7085.06, + "Structural Magnitude": 7108.06, "Control Flow Ratio": "64.4%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -39278,6 +39358,16 @@ "Start Line": 7118, "End Line": 7164 }, + { + "Function Name": "__MCStringResolveIndirect", + "Structural Impact": 19.3, + "Lines of Code (LOC)": 74, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "76.9%", + "Start Line": 7244, + "End Line": 7317 + }, { "Function Name": "MCStringFirstIndexOfCharInRange", "Structural Impact": 19.1, @@ -39358,6 +39448,16 @@ "Start Line": 3605, "End Line": 3637 }, + { + "Function Name": "__MCStringCopyMutable", + "Structural Impact": 15.9, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "70.0%", + "Start Line": 7319, + "End Line": 7359 + }, { "Function Name": "MCStringContains", "Structural Impact": 15.6, @@ -39428,16 +39528,6 @@ "Start Line": 4755, "End Line": 4787 }, - { - "Function Name": "__MCStringResolveIndirect", - "Structural Impact": 14.7, - "Lines of Code (LOC)": 74, - "Control Flow Branches": 10, - "Input Parameters": 0, - "Control Flow Ratio": "76.9%", - "Start Line": 7244, - "End Line": 7317 - }, { "Function Name": "MCStringMapIndices", "Structural Impact": 14.6, @@ -39558,6 +39648,16 @@ "Start Line": 2994, "End Line": 3019 }, + { + "Function Name": "__MCStringMakeIndirect", + "Structural Impact": 11.6, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 7207, + "End Line": 7241 + }, { "Function Name": "__MCStringFetchCodepointAfter", "Structural Impact": 11.3, @@ -39708,16 +39808,6 @@ "Start Line": 6186, "End Line": 6218 }, - { - "Function Name": "__MCStringCopyMutable", - "Structural Impact": 10.1, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "70.0%", - "Start Line": 7319, - "End Line": 7359 - }, { "Function Name": "MCStringCreateMutable", "Structural Impact": 10.0, @@ -39788,16 +39878,6 @@ "Start Line": 5042, "End Line": 5063 }, - { - "Function Name": "__MCStringMakeIndirect", - "Structural Impact": 8.8, - "Lines of Code (LOC)": 35, - "Control Flow Branches": 6, - "Input Parameters": 0, - "Control Flow Ratio": "60.0%", - "Start Line": 7207, - "End Line": 7241 - }, { "Function Name": "MCStringDivideAtChar", "Structural Impact": 8.2, @@ -39878,6 +39958,16 @@ "Start Line": 6723, "End Line": 6743 }, + { + "Function Name": "__MCStringMakeImmutable", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "57.1%", + "Start Line": 7187, + "End Line": 7204 + }, { "Function Name": "__MCStringCountGraphemesInRange", "Structural Impact": 7.9, @@ -39898,6 +39988,16 @@ "Start Line": 3834, "End Line": 3854 }, + { + "Function Name": "__MCStringDestroy", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "80.0%", + "Start Line": 5909, + "End Line": 5922 + }, { "Function Name": "MCStringNormalizedCopyNFC", "Structural Impact": 7.8, @@ -40118,16 +40218,6 @@ "Start Line": 6964, "End Line": 6978 }, - { - "Function Name": "__MCStringMakeImmutable", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "57.1%", - "Start Line": 7187, - "End Line": 7204 - }, { "Function Name": "MCStringCreateWithCStringAndRelease", "Structural Impact": 5.8, @@ -40138,16 +40228,6 @@ "Start Line": 244, "End Line": 256 }, - { - "Function Name": "__MCStringDestroy", - "Structural Impact": 5.7, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "80.0%", - "Start Line": 5909, - "End Line": 5922 - }, { "Function Name": "MCStringEncodeAndRelease", "Structural Impact": 5.2, @@ -40288,6 +40368,16 @@ "Start Line": 6712, "End Line": 6721 }, + { + "Function Name": "__MCStringImmutableCopy", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "33.3%", + "Start Line": 5939, + "End Line": 5945 + }, { "Function Name": "MCStringConvertToCString", "Structural Impact": 4.2, @@ -40318,6 +40408,16 @@ "Start Line": 616, "End Line": 628 }, + { + "Function Name": "__MCStringCreateIndirect", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 7168, + "End Line": 7179 + }, { "Function Name": "MCStringCreateWithWString", "Structural Impact": 4.0, @@ -40578,16 +40678,6 @@ "Start Line": 1277, "End Line": 1288 }, - { - "Function Name": "__MCStringCreateIndirect", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 7168, - "End Line": 7179 - }, { "Function Name": "MCStringDecode", "Structural Impact": 2.5, @@ -40658,16 +40748,6 @@ "Start Line": 4857, "End Line": 4864 }, - { - "Function Name": "__MCStringImmutableCopy", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 5939, - "End Line": 5945 - }, { "Function Name": "MCSTR", "Structural Impact": 2.2, @@ -40848,6 +40928,26 @@ "Start Line": 6746, "End Line": 6751 }, + { + "Function Name": "__MCStringCopyDescription", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5924, + "End Line": 5927 + }, + { + "Function Name": "__MCStringIsEqualTo", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 5934, + "End Line": 5937 + }, { "Function Name": "MCStringIsMutable", "Structural Impact": 1.8, @@ -40909,51 +41009,31 @@ "End Line": 6090 }, { - "Function Name": "is_valid_iconv_fd", + "Function Name": "__MCStringHash", "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 6363, - "End Line": 6366 - }, - { - "Function Name": "__MCStringCopyDescription", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 5924, - "End Line": 5927 - }, - { - "Function Name": "__MCStringHash", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", "Start Line": 5929, "End Line": 5932 }, { - "Function Name": "__MCStringIsEqualTo", - "Structural Impact": 1.2, + "Function Name": "is_valid_iconv_fd", + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 5934, - "End Line": 5937 + "Start Line": 6363, + "End Line": 6366 }, { "Function Name": "__MCStringIsIndirect", - "Structural Impact": 1.2, + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", "Start Line": 7182, "End Line": 7185 @@ -63033,7 +63113,7 @@ } }, "cobol/gnucobol_internals": { - "Directory Group Magnitude": 15668.75, + "Directory Group Magnitude": 15672.45, "File Count": 5, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -63081,7 +63161,7 @@ "Total LOC": 7364, "Coding LOC": 6537, "Documentation LOC": 315, - "Structural Magnitude": 10878.84, + "Structural Magnitude": 10882.54, "Control Flow Ratio": "78.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -63925,6 +64005,16 @@ "Start Line": 4989, "End Line": 5006 }, + { + "Function Name": "cob_get_filename_print", + "Structural Impact": 9.7, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "80.0%", + "Start Line": 7148, + "End Line": 7168 + }, { "Function Name": "cob_cache_del", "Structural Impact": 9.4, @@ -64125,16 +64215,6 @@ "Start Line": 6692, "End Line": 6710 }, - { - "Function Name": "cob_get_filename_print", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "80.0%", - "Start Line": 7148, - "End Line": 7168 - }, { "Function Name": "cob_fork_fileio", "Structural Impact": 5.8, @@ -84738,7 +84818,7 @@ } }, "csharp/roslyn": { - "Directory Group Magnitude": 15179.22, + "Directory Group Magnitude": 15239.02, "File Count": 7, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "85.7%", @@ -88359,7 +88439,7 @@ "Total LOC": 14680, "Coding LOC": 10808, "Documentation LOC": 1928, - "Structural Magnitude": 9394.56, + "Structural Magnitude": 9454.36, "Control Flow Ratio": "59.4%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -88383,6 +88463,16 @@ "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ + { + "Function Name": "ParseNamespaceBodyWorker", + "Structural Impact": 198.0, + "Lines of Code (LOC)": 285, + "Control Flow Branches": 74, + "Input Parameters": 5, + "Control Flow Ratio": "80.4%", + "Start Line": 562, + "End Line": 846 + }, { "Function Name": "ParseVariableDeclarator", "Structural Impact": 191.8, @@ -88403,16 +88493,6 @@ "Start Line": 11213, "End Line": 11343 }, - { - "Function Name": "ParseNamespaceBodyWorker", - "Structural Impact": 144.2, - "Lines of Code (LOC)": 285, - "Control Flow Branches": 74, - "Input Parameters": 2, - "Control Flow Ratio": "80.4%", - "Start Line": 562, - "End Line": 846 - }, { "Function Name": "ParsePrimaryExpression", "Structural Impact": 140.9, @@ -88793,6 +88873,16 @@ "Start Line": 7719, "End Line": 7853 }, + { + "Function Name": "ParseNamespaceBody", + "Structural Impact": 33.6, + "Lines of Code (LOC)": 136, + "Control Flow Branches": 11, + "Input Parameters": 4, + "Control Flow Ratio": "33.3%", + "Start Line": 410, + "End Line": 545 + }, { "Function Name": "IsTerminator", "Structural Impact": 33.2, @@ -88943,16 +89033,6 @@ "Start Line": 8548, "End Line": 8650 }, - { - "Function Name": "ParseNamespaceBody", - "Structural Impact": 27.6, - "Lines of Code (LOC)": 136, - "Control Flow Branches": 11, - "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 410, - "End Line": 545 - }, { "Function Name": "ParseLocalDeclarationStatement", "Structural Impact": 27.6, @@ -93128,7 +93208,7 @@ "7. Structural Signatures (Net Mitigated Signals)": { "Control Flow Branches": 2758, "Sequential Logic Declarations": 1882, - "Function Parameters": 630, + "Function Parameters": 632, "Function/Method Declarations": 474, "Class/Entity Declarations": 16, "Defensive Programming Constructs": 278, @@ -214417,7 +214497,7 @@ } }, "cpp/NVDA": { - "Directory Group Magnitude": 7611.24, + "Directory Group Magnitude": 7633.24, "File Count": 12, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "66.7%", @@ -220449,9 +220529,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": -4322.0, + "X": -4322.12, "Y": -11.18, - "Z": -1447.71 + "Z": -1447.6 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -220463,7 +220543,7 @@ "Total LOC": 1247, "Coding LOC": 1115, "Documentation LOC": 62, - "Structural Magnitude": 2100.1, + "Structural Magnitude": 2122.1, "Control Flow Ratio": "71.3%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -220539,10 +220619,10 @@ }, { "Function Name": "VBufStorage_buffer_t::replaceSubtrees", - "Structural Impact": 36.1, + "Structural Impact": 48.6, "Lines of Code (LOC)": 123, "Control Flow Branches": 29, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "74.4%", "Start Line": 642, "End Line": 764 @@ -220577,6 +220657,16 @@ "Start Line": 225, "End Line": 258 }, + { + "Function Name": "outputEscapedAttribute", + "Structural Impact": 21.0, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 9, + "Input Parameters": 3, + "Control Flow Ratio": "81.8%", + "Start Line": 130, + "End Line": 149 + }, { "Function Name": "VBufStorage_buffer_t::locateControlFieldNodeAtOffset", "Structural Impact": 20.6, @@ -220647,16 +220737,6 @@ "Start Line": 959, "End Line": 971 }, - { - "Function Name": "outputEscapedAttribute", - "Structural Impact": 11.0, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 9, - "Input Parameters": 0, - "Control Flow Ratio": "81.8%", - "Start Line": 130, - "End Line": 149 - }, { "Function Name": "VBufStorage_fieldNode_t::locateTextFieldNodeAtOffset", "Structural Impact": 9.5, @@ -221037,16 +221117,6 @@ "Start Line": 425, "End Line": 427 }, - { - "Function Name": "VBufStorage_buffer_t::VBufStorage_buffer_t", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 539, - "End Line": 541 - }, { "Function Name": "VBufStorage_fieldNode_t::getDebugInfo", "Structural Impact": 1.2, @@ -221106,6 +221176,16 @@ "Control Flow Ratio": "0.0%", "Start Line": 317, "End Line": 319 + }, + { + "Function Name": "VBufStorage_buffer_t::VBufStorage_buffer_t", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 539, + "End Line": 541 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -227495,7 +227575,7 @@ } }, "lua/redis": { - "Directory Group Magnitude": 6669.82, + "Directory Group Magnitude": 6709.02, "File Count": 6, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -227512,7 +227592,7 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "87.14%", + "Documentation Exposure": "87.31%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -228888,9 +228968,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 3025.72, - "Y": -312.15, - "Z": -5478.3 + "X": 3025.76, + "Y": -312.22, + "Z": -5478.71 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -228902,7 +228982,7 @@ "Total LOC": 1771, "Coding LOC": 1250, "Documentation LOC": 321, - "Structural Magnitude": 1356.0, + "Structural Magnitude": 1395.2, "Control Flow Ratio": "59.3%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -228922,7 +229002,7 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "91.82%", + "Documentation Exposure": "92.83%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -228936,6 +229016,16 @@ "Start Line": 582, "End Line": 766 }, + { + "Function Name": "luaCallFunction", + "Structural Impact": 55.3, + "Lines of Code (LOC)": 87, + "Control Flow Branches": 17, + "Input Parameters": 7, + "Control Flow Ratio": "94.4%", + "Start Line": 1662, + "End Line": 1748 + }, { "Function Name": "luaRedisGenericCommand", "Structural Impact": 41.7, @@ -228986,16 +229076,6 @@ "Start Line": 852, "End Line": 880 }, - { - "Function Name": "luaCallFunction", - "Structural Impact": 22.4, - "Lines of Code (LOC)": 87, - "Control Flow Branches": 17, - "Input Parameters": 0, - "Control Flow Ratio": "94.4%", - "Start Line": 1662, - "End Line": 1748 - }, { "Function Name": "luaRedisAclCheckCmdPermissionsCommand", "Structural Impact": 17.3, @@ -229226,6 +229306,16 @@ "Start Line": 1193, "End Line": 1210 }, + { + "Function Name": "luaSaveOnRegistry", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 144, + "End Line": 152 + }, { "Function Name": "luaProtectedTableError", "Structural Impact": 6.3, @@ -229286,6 +229376,16 @@ "Start Line": 1546, "End Line": 1554 }, + { + "Function Name": "luaGetFromRegistry", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "16.7%", + "Start Line": 157, + "End Line": 175 + }, { "Function Name": "luaMaskCountHook", "Structural Impact": 4.4, @@ -229337,24 +229437,24 @@ "End Line": 1242 }, { - "Function Name": "luaSaveOnRegistry", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "50.0%", - "Start Line": 144, - "End Line": 152 + "Function Name": "luaRegisterRedisAPI", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 91, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1452, + "End Line": 1542 }, { - "Function Name": "luaGetFromRegistry", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "16.7%", - "Start Line": 157, - "End Line": 175 + "Function Name": "luaRegisterLogFunction", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1429, + "End Line": 1450 }, { "Function Name": "luaLoadLib", @@ -229376,26 +229476,6 @@ "Start Line": 217, "End Line": 221 }, - { - "Function Name": "luaRegisterLogFunction", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 1429, - "End Line": 1450 - }, - { - "Function Name": "luaRegisterRedisAPI", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 91, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 1452, - "End Line": 1542 - }, { "Function Name": "luaPushError", "Structural Impact": 1.9, @@ -229406,6 +229486,16 @@ "Start Line": 563, "End Line": 565 }, + { + "Function Name": "luaRegisterVersion", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1419, + "End Line": 1427 + }, { "Function Name": "luaSetErrorMetatable", "Structural Impact": 1.7, @@ -229485,16 +229575,6 @@ "Control Flow Ratio": "0.0%", "Start Line": 1750, "End Line": 1752 - }, - { - "Function Name": "luaRegisterVersion", - "Structural Impact": 1.4, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 1419, - "End Line": 1427 } ], "6. Contextual Mitigations & Amplifications": "None Detected", @@ -251539,833 +251619,1236 @@ } } }, - "rust/wasmtime": { - "Directory Group Magnitude": 4875.28, - "File Count": 4, + "cpp/mlir": { + "Directory Group Magnitude": 4909.34, + "File Count": 6, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "23.76%", - "Error & Exception Exposure": "29.56%", - "Tech Debt Exposure": "73.11%", - "Testing Exposure": "21.84%", - "API Exposure": "4.0%", - "Concurrency Exposure": "17.75%", - "State Flux Exposure": "72.34%", - "Commented Logic Exposure": "6.32%", - "Specification Exposure": "100.0%", + "Cognitive Load Exposure": "44.93%", + "Error & Exception Exposure": "63.81%", + "Tech Debt Exposure": "65.7%", + "Testing Exposure": "41.02%", + "API Exposure": "0.27%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "55.73%", + "Commented Logic Exposure": "0.87%", + "Specification Exposure": "91.11%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "22.06%", + "Documentation Exposure": "12.6%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { - "rust/wasmtime/wasmtime_component_macro.rs": { + "cpp/mlir/flatbuffer_export.cc": { "1. Artifact Identity": { - "Filename": "wasmtime_component_macro.rs", - "Path": "rust/wasmtime/wasmtime_component_macro.rs", - "Language": "Rust", - "Architect": "Unknown Architect", + "Filename": "flatbuffer_export.cc", + "Path": "cpp/mlir/flatbuffer_export.cc", + "Language": "Cpp", + "Architect": "2022 The TensorFlow Authors. All Rights Reserved", "Indentation Style": "Spaces", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "rust", + "Folder Dominant Lang": "cpp", "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .rs)" + "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": -3442.01, - "Y": 139.99, - "Z": 2385.34 + "X": 6427.46, + "Y": 61.77, + "Z": 2662.59 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": null, + "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 56, - "Coding LOC": 42, - "Documentation LOC": 6, - "Structural Magnitude": 14.94, - "Control Flow Ratio": "0.0%", + "Total LOC": 4731, + "Coding LOC": 3850, + "Documentation LOC": 414, + "Structural Magnitude": 4351.2, + "Control Flow Ratio": "44.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.0 + "Raw Cognitive Density": 1.266 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "2.37%", - "Error & Exception Exposure": "0.0%", - "Tech Debt Exposure": "99.91%", - "Testing Exposure": "2.4%", - "API Exposure": "4.43%", + "Cognitive Load Exposure": "88.72%", + "Error & Exception Exposure": "95.0%", + "Tech Debt Exposure": "42.11%", + "Testing Exposure": "80.0%", + "API Exposure": "1.64%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "0.0%", - "Commented Logic Exposure": "0.0%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "5.19%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "48.47%", + "Documentation Exposure": "12.86%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "lift", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 13, - "End Line": 21 - }, - { - "Function Name": "lower", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 23, - "End Line": 31 - }, - { - "Function Name": "component_type", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 33, - "End Line": 41 + "Function Name": "Translator::BuildOperator", + "Structural Impact": 280.3, + "Lines of Code (LOC)": 776, + "Control Flow Branches": 107, + "Input Parameters": 4, + "Control Flow Ratio": "36.1%", + "Start Line": 2582, + "End Line": 3357 }, { - "Function Name": "flags", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 43, - "End Line": 48 + "Function Name": "Translator::BuildSubGraph", + "Structural Impact": 117.8, + "Lines of Code (LOC)": 235, + "Control Flow Branches": 52, + "Input Parameters": 3, + "Control Flow Ratio": "60.5%", + "Start Line": 3432, + "End Line": 3666 }, { - "Function Name": "bindgen", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 50, - "End Line": 55 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 0, - "Sequential Logic Declarations": 3, - "Function Parameters": 5, - "Function/Method Declarations": 5, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 0, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 5, - "State Mutations / Variable Reassignments": 0, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 6, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 0, - "Decorators and Annotations": 5, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 1, - "Authorship Metadata": 0, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 15, - "Pointer Arithmetic & Addressing": 5, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 5, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 24, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 0, - "Design Camel Case": 0, - "Design Snake Case": 0, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 4, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 3, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "Error", - "parse_macro_input", - "syn::DeriveInput" - ] - }, - "rust/wasmtime/wasmtime_instance.rs": { - "1. Artifact Identity": { - "Filename": "wasmtime_instance.rs", - "Path": "rust/wasmtime/wasmtime_instance.rs", - "Language": "Rust", - "Architect": "Unknown Architect", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "rust", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .rs)" - }, - "2. Topological Coordinates": { - "X": -3689.2, - "Y": 123.16, - "Z": 1245.68 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": null, - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 1209, - "Coding LOC": 750, - "Documentation LOC": 366, - "Structural Magnitude": 422.3, - "Control Flow Ratio": "24.2%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.424 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "10.67%", - "Error & Exception Exposure": "24.16%", - "Tech Debt Exposure": "83.2%", - "Testing Exposure": "2.41%", - "API Exposure": "4.93%", - "Concurrency Exposure": "56.73%", - "State Flux Exposure": "89.66%", - "Commented Logic Exposure": "20.39%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "run", - "Structural Impact": 46.2, - "Lines of Code (LOC)": 165, - "Control Flow Branches": 18, + "Function Name": "Translator::BuildBuffer", + "Structural Impact": 114.3, + "Lines of Code (LOC)": 206, + "Control Flow Branches": 51, "Input Parameters": 3, - "Control Flow Ratio": "45.0%", - "Start Line": 749, - "End Line": 913 + "Control Flow Ratio": "54.8%", + "Start Line": 1106, + "End Line": 1311 }, { - "Function Name": "assert_type_matches", - "Structural Impact": 13.3, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 3, - "Input Parameters": 7, - "Control Flow Ratio": "25.0%", - "Start Line": 1015, - "End Line": 1054 + "Function Name": "Translator::BuildTensor", + "Structural Impact": 95.2, + "Lines of Code (LOC)": 141, + "Control Flow Branches": 35, + "Input Parameters": 5, + "Control Flow Ratio": "61.4%", + "Start Line": 1422, + "End Line": 1562 }, { - "Function Name": "build_imports", - "Structural Impact": 12.7, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 4, - "Input Parameters": 4, - "Control Flow Ratio": "36.4%", - "Start Line": 983, - "End Line": 1013 + "Function Name": "GetTFLiteType", + "Structural Impact": 92.5, + "Lines of Code (LOC)": 84, + "Control Flow Branches": 50, + "Input Parameters": 2, + "Control Flow Ratio": "60.2%", + "Start Line": 187, + "End Line": 270 }, { - "Function Name": "get_typed_func", - "Structural Impact": 10.8, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 4, - "Input Parameters": 3, - "Control Flow Ratio": "40.0%", - "Start Line": 188, - "End Line": 202 + "Function Name": "Translator::BuildVhloCompositeV1Op", + "Structural Impact": 69.2, + "Lines of Code (LOC)": 132, + "Control Flow Branches": 27, + "Input Parameters": 4, + "Control Flow Ratio": "60.0%", + "Start Line": 2020, + "End Line": 2151 }, { - "Function Name": "_instantiate", - "Structural Impact": 9.2, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 3, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 1184, - "End Line": 1207 + "Function Name": "Translator::TranslateInternal", + "Structural Impact": 54.0, + "Lines of Code (LOC)": 241, + "Control Flow Branches": 41, + "Input Parameters": 0, + "Control Flow Ratio": "59.4%", + "Start Line": 4188, + "End Line": 4428 }, { - "Function Name": "get_module", - "Structural Impact": 8.9, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 3, - "Input Parameters": 3, - "Control Flow Ratio": "37.5%", - "Start Line": 220, - "End Line": 237 + "Function Name": "Translator::CreateFlexBuilderWithNodeAttrs", + "Structural Impact": 52.0, + "Lines of Code (LOC)": 70, + "Control Flow Branches": 27, + "Input Parameters": 2, + "Control Flow Ratio": "77.1%", + "Start Line": 1810, + "End Line": 1879 }, { - "Function Name": "resource_transfer_borrow", - "Structural Impact": 8.5, - "Lines of Code (LOC)": 23, - "Control Flow Branches": 2, + "Function Name": "CreateLocation", + "Structural Impact": 41.3, + "Lines of Code (LOC)": 92, + "Control Flow Branches": 14, "Input Parameters": 5, - "Control Flow Ratio": "25.0%", - "Start Line": 425, - "End Line": 447 + "Control Flow Ratio": "48.3%", + "Start Line": 3687, + "End Line": 3778 }, { - "Function Name": "new", - "Structural Impact": 7.3, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 721, - "End Line": 747 + "Function Name": "BuildSignaturedef", + "Structural Impact": 35.3, + "Lines of Code (LOC)": 79, + "Control Flow Branches": 13, + "Input Parameters": 4, + "Control Flow Ratio": "50.0%", + "Start Line": 3988, + "End Line": 4066 }, { - "Function Name": "new_unchecked", - "Structural Impact": 7.1, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 2, + "Function Name": "CreateFlexbufferVector", + "Structural Impact": 32.0, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 14, "Input Parameters": 3, - "Control Flow Ratio": "50.0%", - "Start Line": 1116, - "End Line": 1137 + "Control Flow Ratio": "82.4%", + "Start Line": 1901, + "End Line": 1940 }, { - "Function Name": "get_func", - "Structural Impact": 7.0, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "20.0%", - "Start Line": 155, - "End Line": 175 + "Function Name": "IsValidTFLiteMlirModule", + "Structural Impact": 30.4, + "Lines of Code (LOC)": 71, + "Control Flow Branches": 18, + "Input Parameters": 1, + "Control Flow Ratio": "43.9%", + "Start Line": 418, + "End Line": 488 }, { - "Function Name": "get_resource", - "Structural Impact": 6.9, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "28.6%", - "Start Line": 255, - "End Line": 272 + "Function Name": "Translator::BuildSparsityParameters", + "Structural Impact": 28.9, + "Lines of Code (LOC)": 97, + "Control Flow Branches": 16, + "Input Parameters": 1, + "Control Flow Ratio": "72.7%", + "Start Line": 4550, + "End Line": 4646 }, { - "Function Name": "options_memory_raw", - "Structural Impact": 6.8, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 2, + "Function Name": "Translator::BuildIfOperator", + "Structural Impact": 22.6, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 9, "Input Parameters": 3, - "Control Flow Ratio": "28.6%", - "Start Line": 461, - "End Line": 477 + "Control Flow Ratio": "28.1%", + "Start Line": 1648, + "End Line": 1700 }, { - "Function Name": "lookup_vmexport", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "11.1%", - "Start Line": 609, - "End Line": 644 + "Function Name": "GetOpDescriptionForDebug", + "Structural Impact": 22.2, + "Lines of Code (LOC)": 48, + "Control Flow Branches": 13, + "Input Parameters": 1, + "Control Flow Ratio": "81.2%", + "Start Line": 309, + "End Line": 356 }, { - "Function Name": "lookup_vmdef", - "Structural Impact": 5.7, - "Lines of Code (LOC)": 34, - "Control Flow Branches": 1, + "Function Name": "Translator::Translate", + "Structural Impact": 20.4, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 8, "Input Parameters": 3, - "Control Flow Ratio": "20.0%", - "Start Line": 572, - "End Line": 605 + "Control Flow Ratio": "38.1%", + "Start Line": 4138, + "End Line": 4186 }, { - "Function Name": "_get_export", - "Structural Impact": 5.6, + "Function Name": "GetStringsFromDictionaryAttr", + "Structural Impact": 20.2, "Lines of Code (LOC)": 22, - "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "20.0%", - "Start Line": 298, - "End Line": 319 + "Control Flow Branches": 10, + "Input Parameters": 2, + "Control Flow Ratio": "62.5%", + "Start Line": 3965, + "End Line": 3986 }, { - "Function Name": "resource_transfer_own", - "Structural Impact": 5.4, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 5, - "Control Flow Ratio": "20.0%", - "Start Line": 413, - "End Line": 423 + "Function Name": "Translator::BuildVhloRngBitGeneratorV1Op", + "Structural Impact": 19.5, + "Lines of Code (LOC)": 33, + "Control Flow Branches": 7, + "Input Parameters": 4, + "Control Flow Ratio": "77.8%", + "Start Line": 2451, + "End Line": 2483 }, { - "Function Name": "get_export_index", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "20.0%", - "Start Line": 334, - "End Line": 346 + "Function Name": "Translator::BuildTensorFromType", + "Structural Impact": 18.0, + "Lines of Code (LOC)": 48, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "53.3%", + "Start Line": 1373, + "End Line": 1420 }, { - "Function Name": "resource", - "Structural Impact": 5.0, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "11.1%", - "Start Line": 915, - "End Line": 934 + "Function Name": "Translator::UpdateBufferOffsets", + "Structural Impact": 18.0, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "45.5%", + "Start Line": 4500, + "End Line": 4548 }, { - "Function Name": "options_memory", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 1, + "Function Name": "Translator::BuildStablehloRngBitGeneratorOp", + "Structural Impact": 17.5, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 7, "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 479, - "End Line": 496 + "Control Flow Ratio": "77.8%", + "Start Line": 2249, + "End Line": 2278 }, { - "Function Name": "options_memory_mut", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "14.3%", - "Start Line": 498, - "End Line": 513 + "Function Name": "CreateOpLocation", + "Structural Impact": 16.5, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 5, + "Input Parameters": 5, + "Control Flow Ratio": "45.5%", + "Start Line": 3783, + "End Line": 3819 }, { - "Function Name": "lookup_export", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 348, - "End Line": 356 + "Function Name": "Translator::InitializeNamesFromAttribute", + "Structural Impact": 15.7, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "41.2%", + "Start Line": 3359, + "End Line": 3394 }, { - "Function Name": "extract_memory", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, + "Function Name": "Translator::BuildWhileOperator", + "Structural Impact": 15.6, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 6, "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 936, - "End Line": 944 + "Control Flow Ratio": "30.0%", + "Start Line": 1615, + "End Line": 1646 }, { - "Function Name": "extract_table", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "20.0%", - "Start Line": 973, - "End Line": 981 + "Function Name": "Translator", + "Structural Impact": 15.1, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 3, + "Input Parameters": 9, + "Control Flow Ratio": "30.0%", + "Start Line": 654, + "End Line": 702 }, { - "Function Name": "extract_realloc", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 3, + "Function Name": "Translator::BuildVhloCaseOp", + "Structural Impact": 14.4, + "Lines of Code (LOC)": 64, + "Control Flow Branches": 4, + "Input Parameters": 4, "Control Flow Ratio": "25.0%", - "Start Line": 946, - "End Line": 953 + "Start Line": 2517, + "End Line": 2580 }, { - "Function Name": "extract_callback", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 955, - "End Line": 962 + "Function Name": "Translator::CreateMetadataVector", + "Structural Impact": 14.2, + "Lines of Code (LOC)": 63, + "Control Flow Branches": 10, + "Input Parameters": 0, + "Control Flow Ratio": "58.8%", + "Start Line": 3887, + "End Line": 3949 }, { - "Function Name": "extract_post_return", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 964, - "End Line": 971 + "Function Name": "Translator::AppendBufferData", + "Structural Impact": 13.4, + "Lines of Code (LOC)": 69, + "Control Flow Branches": 9, + "Input Parameters": 0, + "Control Flow Ratio": "39.1%", + "Start Line": 4430, + "End Line": 4498 }, { - "Function Name": "component_and_store_mut", - "Structural Impact": 4.1, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 520, - "End Line": 567 + "Function Name": "UpdateEntryFunction", + "Structural Impact": 12.5, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "43.8%", + "Start Line": 4110, + "End Line": 4133 }, { - "Function Name": "instantiate", - "Structural Impact": 4.0, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, + "Function Name": "Translator::BuildExternalBuffer", + "Structural Impact": 12.2, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 5, "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 1163, - "End Line": 1173 + "Control Flow Ratio": "38.5%", + "Start Line": 1068, + "End Line": 1104 }, { - "Function Name": "resource_new32", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, + "Function Name": "Translator::BuildCustomOperator", + "Structural Impact": 11.6, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 3, "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 377, - "End Line": 386 + "Control Flow Ratio": "33.3%", + "Start Line": 1733, + "End Line": 1785 }, { - "Function Name": "resource_rep32", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 390, - "End Line": 399 + "Function Name": "Translator::ExtractControlEdges", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 45, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 4648, + "End Line": 4692 }, { - "Function Name": "resource_drop", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, + "Function Name": "MlirToFlatBufferTranslateFunction", + "Structural Impact": 10.1, + "Lines of Code (LOC)": 23, + "Control Flow Branches": 3, "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 402, - "End Line": 411 + "Control Flow Ratio": "37.5%", + "Start Line": 4706, + "End Line": 4728 }, { - "Function Name": "get_export", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 289, - "End Line": 296 + "Function Name": "HasValidTFLiteType", + "Structural Impact": 10.0, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "28.6%", + "Start Line": 385, + "End Line": 411 }, { - "Function Name": "options", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 453, - "End Line": 459 + "Function Name": "Translator::GetQuantizationForQuantStatsOpOutput", + "Structural Impact": 9.9, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "62.5%", + "Start Line": 3402, + "End Line": 3430 }, { - "Function Name": "instance_pre", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 359, - "End Line": 369 + "Function Name": "Translator::SerializeDebugMetadata", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 64, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 3822, + "End Line": 3885 }, { - "Function Name": "lookup_vmdef", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 449, - "End Line": 451 + "Function Name": "Translator::BuildTFVariantType", + "Structural Impact": 8.5, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "44.4%", + "Start Line": 1343, + "End Line": 1371 }, { - "Function Name": "lookup", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, + "Function Name": "Translator::GetOpcodeIndex", + "Structural Impact": 7.9, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 3, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 672, - "End Line": 678 + "Control Flow Ratio": "50.0%", + "Start Line": 1881, + "End Line": 1899 }, { - "Function Name": "from_wasmtime", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 55, - "End Line": 59 + "Function Name": "IsTFResourceOp", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "36.4%", + "Start Line": 279, + "End Line": 293 }, { - "Function Name": "instance_resource_types_mut", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1072, - "End Line": 1077 + "Function Name": "Translator::BuildVhloScatterV1Op", + "Structural Impact": 7.1, + "Lines of Code (LOC)": 52, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "14.3%", + "Start Line": 2350, + "End Line": 2401 }, { - "Function Name": "lookup", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 666, - "End Line": 668 + "Function Name": "Translator::BuildVhloReduceWindowV1Op", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 47, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "10.0%", + "Start Line": 2403, + "End Line": 2449 }, { - "Function Name": "lookup", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 682, - "End Line": 684 + "Function Name": "Translator::BuildStablehloScatterOp", + "Structural Impact": 6.7, + "Lines of Code (LOC)": 54, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "14.3%", + "Start Line": 2153, + "End Line": 2206 }, { - "Function Name": "instance", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, + "Function Name": "GetOpsSummary", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 2, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1058, - "End Line": 1060 + "Control Flow Ratio": "40.0%", + "Start Line": 360, + "End Line": 383 }, { - "Function Name": "instance_mut", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "Translator::GetOperatorDebugMetadataIndex", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "37.5%", + "Start Line": 1328, + "End Line": 1341 + }, + { + "Function Name": "GetTflitePadding", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 508, + "End Line": 523 + }, + { + "Function Name": "Translator::BuildStablehloReduceWindowOp", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "9.1%", + "Start Line": 2208, + "End Line": 2247 + }, + { + "Function Name": "Translator::BuildIfOperator", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "16.7%", + "Start Line": 1564, + "End Line": 1587 + }, + { + "Function Name": "GetTflitePoolParams", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "16.7%", + "Start Line": 529, + "End Line": 546 + }, + { + "Function Name": "Translator::CreateFlexOpCustomOptions", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1787, + "End Line": 1802 + }, + { + "Function Name": "Translator::BuildVhloGatherV1Op", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 42, "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2307, + "End Line": 2348 + }, + { + "Function Name": "Translator::UnnamedRegionToSubgraph", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1313, + "End Line": 1326 + }, + { + "Function Name": "Translator::CreateSignatureDefs", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "12.5%", + "Start Line": 4082, + "End Line": 4108 + }, + { + "Function Name": "Translator::GetList", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 4068, + "End Line": 4080 + }, + { + "Function Name": "Translator::BuildStablehloGatherOp", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 39, + "Control Flow Branches": 0, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 1063, - "End Line": 1065 + "Start Line": 1980, + "End Line": 2018 }, { - "Function Name": "clone", - "Structural Impact": 1.9, + "Function Name": "GetStringsFromAttrWithSeparator", + "Structural Impact": 3.9, "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 3953, + "End Line": 3961 + }, + { + "Function Name": "Translator::BuildVhloPadV1Op", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 31, "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2485, + "End Line": 2515 + }, + { + "Function Name": "Translator::IsStatefulOperand", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 3396, + "End Line": 3400 + }, + { + "Function Name": "GetTensorFlowNodeDef", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 490, + "End Line": 504 + }, + { + "Function Name": "Translator::EstimateArithmeticCount", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 1, "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 1048, + "End Line": 1062 + }, + { + "Function Name": "Translator::BuildNumericVerifyOperator", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 0, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 1098, - "End Line": 1106 + "Start Line": 1702, + "End Line": 1731 }, { - "Function Name": "instance_type", - "Structural Impact": 1.9, + "Function Name": "Translator::BuildVhloPrecisionConfigV1", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 1968, + "End Line": 1978 + }, + { + "Function Name": "Translator::BuildStablehloPrecisionConfig", + "Structural Impact": 3.3, "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 1957, + "End Line": 1966 + }, + { + "Function Name": "Translator::BuildStablehloPadOp", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 2280, + "End Line": 2305 + }, + { + "Function Name": "Translator::BuildCallOnceOperator", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 25, "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 1589, + "End Line": 1613 + }, + { + "Function Name": "IsUnsupportedFlexOp", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 1, "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 296, + "End Line": 298 + }, + { + "Function Name": "Translator::BuildStablehloOperatorwithoutOptions", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 0, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1144, - "End Line": 1153 + "Start Line": 1942, + "End Line": 1955 }, { - "Function Name": "instantiate_async", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "Insert", + "Structural Impact": 2.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 5, + "Control Flow Ratio": "0.0%", + "Start Line": 617, + "End Line": 623 + }, + { + "Function Name": "ExportBuffer", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 580, + "End Line": 585 + }, + { + "Function Name": "MlirToFlatBufferTranslateFunction", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 4698, + "End Line": 4702 + }, + { + "Function Name": "Translator::BuildMetadata", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 8, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1179, - "End Line": 1182 + "Start Line": 3668, + "End Line": 3675 }, { - "Function Name": "lookup", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, + "Function Name": "Translator::CreateCustomOpCustomOptions", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 658, - "End Line": 659 + "Start Line": 1804, + "End Line": 1808 }, { - "Function Name": "id", - "Structural Impact": 1.6, + "Function Name": "Insert", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 625, + "End Line": 627 + }, + { + "Function Name": "IsConst", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 371, - "End Line": 373 + "Start Line": 272, + "End Line": 277 }, { - "Function Name": "component", + "Function Name": "IsUnsupportedLocation", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 303, + "End Line": 306 + }, + { + "Function Name": "ApplyData", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 587, + "End Line": 590 + }, + { + "Function Name": "Translator::UniqueName", "Structural Impact": 1.6, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1140, - "End Line": 1142 + "Start Line": 1064, + "End Line": 1066 }, { - "Function Name": "engine", + "Function Name": "operator()", "Structural Impact": 1.6, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1156, - "End Line": 1158 + "Start Line": 3679, + "End Line": 3681 + }, + { + "Function Name": "GetData", + "Structural Impact": 1.4, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 592, + "End Line": 600 + }, + { + "Function Name": "hash", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 602, + "End Line": 602 + }, + { + "Function Name": "byte_size_hint", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 603, + "End Line": 603 + }, + { + "Function Name": "buffers", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 629, + "End Line": 629 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 66, - "Sequential Logic Declarations": 207, - "Function Parameters": 54, - "Function/Method Declarations": 49, + "Control Flow Branches": 660, + "Sequential Logic Declarations": 841, + "Function Parameters": 119, + "Function/Method Declarations": 81, "Class/Entity Declarations": 6, - "Defensive Programming Constructs": 101, - "Type/Safety Bypasses": 7, + "Defensive Programming Constructs": 79, + "Type/Safety Bypasses": 0, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 32, - "State Mutations / Variable Reassignments": 88, - "Commented-out Code (Dead Logic)": 22, - "Structured Documentation Blocks": 234, - "Unit Test Assertions": 7, - "Asynchronous/Concurrent Execution": 22, + "Exposed API / Public Exports": 3, + "State Mutations / Variable Reassignments": 2707, + "Commented-out Code (Dead Logic)": 5, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 1, + "Closures and Anonymous Functions": 25, + "Global State Dependencies": 14, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 5, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 1, + "Module Dependencies (Imports)": 116, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 7, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 290, + "Manual Memory Allocation": 0, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 105, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 4, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 228, + "Resource Deallocation & Cleanup": 1, + "Private / Encapsulated Scopes": 3, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 3520, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 1, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 753, + "Design Camel Case": 17, + "Design Snake Case": 730, + "Design Pascal Case": 6, + "Design Upper Case": 0, + "Design Short Vars": 27, + "Design Long Vars": 27, + "Duplicate Logic": 0, + "Orphaned Logic": 52, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 2, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 116, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "absl/algorithm/container.h", + "absl/base/attributes.h", + "absl/container/flat_hash_map.h", + "absl/container/flat_hash_set.h", + "absl/functional/any_invocable.h", + "absl/functional/function_ref.h", + "absl/log/check.h", + "absl/log/log.h", + "absl/status/status.h", + "absl/strings/match.h", + "absl/strings/str_cat.h", + "absl/strings/str_format.h", + "absl/strings/str_join.h", + "absl/strings/string_view.h", + "algorithm", + "cassert", + "cstdint", + "cstdio", + "cstring", + "flatbuffers/buffer.h", + "flatbuffers/flatbuffer_builder.h", + "flatbuffers/flexbuffers.h", + "flatbuffers/vector.h", + "functional", + "iterator", + "limits", + "llvm/ADT/ArrayRef.h", + "llvm/ADT/DenseMap.h", + "llvm/ADT/STLExtras.h", + "llvm/ADT/SmallVector.h", + "llvm/ADT/StringRef.h", + "llvm/ADT/StringSwitch.h", + "llvm/Support/Casting.h", + "llvm/Support/FormatVariadic.h", + "llvm/Support/SwapByteOrder.h", + "llvm/Support/raw_ostream.h", + "map", + "memory", + "mlir/Dialect/Arith/IR/Arith.h", + "mlir/Dialect/Func/IR/FuncOps.h", + "mlir/Dialect/Quant/IR/QuantTypes.h", + "mlir/IR/Attributes.h", + "mlir/IR/Builders.h", + "mlir/IR/BuiltinAttributeInterfaces.h", + "mlir/IR/BuiltinAttributes.h", + "mlir/IR/BuiltinOps.h", + "mlir/IR/BuiltinTypeInterfaces.h", + "mlir/IR/BuiltinTypes.h", + "mlir/IR/Diagnostics.h", + "mlir/IR/DialectResourceBlobManager.h", + "mlir/IR/Location.h", + "mlir/IR/MLIRContext.h", + "mlir/IR/OpDefinition.h", + "mlir/IR/Operation.h", + "mlir/IR/PatternMatch.h", + "mlir/IR/TypeUtilities.h", + "mlir/IR/Types.h", + "mlir/IR/Value.h", + "mlir/IR/Visitors.h", + "mlir/Support/LLVM.h", + "mlir/Support/LogicalResult.h", + "optional", + "set", + "stablehlo/dialect/StablehloOps.h", + "stablehlo/dialect/VhloOps.h", + "stddef.h", + "stdlib.h", + "string", + "tensorflow/compiler/mlir/lite/converter_flags.pb.h", + "tensorflow/compiler/mlir/lite/core/c/builtin_op_data.h", + "tensorflow/compiler/mlir/lite/core/macros.h", + "tensorflow/compiler/mlir/lite/delegates/flex/allowlisted_flex_ops.h", + "tensorflow/compiler/mlir/lite/experimental/remat/metadata_util.h", + "tensorflow/compiler/mlir/lite/flatbuffer_export.h", + "tensorflow/compiler/mlir/lite/flatbuffer_operator.h", + "tensorflow/compiler/mlir/lite/ir/tfl_ops.h", + "tensorflow/compiler/mlir/lite/metrics/converter_error_data.pb.h", + "tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h", + "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.h", + "tensorflow/compiler/mlir/lite/schema/mutable/debug_metadata_generated.h", + "tensorflow/compiler/mlir/lite/schema/mutable/schema_generated.h", + "tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h", + "tensorflow/compiler/mlir/lite/schema/schema_generated.h", + "tensorflow/compiler/mlir/lite/tools/versioning/op_version.h", + "tensorflow/compiler/mlir/lite/tools/versioning/runtime_version.h", + "tensorflow/compiler/mlir/lite/utils/const_tensor_utils.h", + "tensorflow/compiler/mlir/lite/utils/control_edges.h", + "tensorflow/compiler/mlir/lite/utils/convert_type.h", + "tensorflow/compiler/mlir/lite/utils/low_bit_utils.h", + "tensorflow/compiler/mlir/lite/utils/metadata_utils.h", + "tensorflow/compiler/mlir/lite/utils/mlir_module_utils.h", + "tensorflow/compiler/mlir/lite/utils/region_isolation.h", + "tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h", + "tensorflow/compiler/mlir/lite/utils/string_utils.h", + "tensorflow/compiler/mlir/lite/version.h", + "tensorflow/compiler/mlir/op_or_arg_name_mapper.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h", + "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h", + "tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.h", + "tensorflow/compiler/mlir/tensorflow/utils/translate_utils.h", + "tensorflow/core/framework/attr_value.pb.h", + "tensorflow/core/framework/node_def.pb.h", + "tensorflow/core/framework/op.h", + "tensorflow/core/framework/tensor.h", + "tensorflow/core/framework/types.pb.h", + "tensorflow/core/platform/tstring.h", + "tsl/platform/tstring.h", + "type_traits", + "unordered_map", + "unordered_set", + "utility", + "vector" + ] + }, + "cpp/mlir/mlir_bridge_rollout_policy.cc": { + "1. Artifact Identity": { + "Filename": "mlir_bridge_rollout_policy.cc", + "Path": "cpp/mlir/mlir_bridge_rollout_policy.cc", + "Language": "Cpp", + "Architect": "2020 The TensorFlow Authors. All Rights Reserved", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "cpp", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .cc)" + }, + "2. Topological Coordinates": { + "X": 6676.75, + "Y": -91.82, + "Z": 2961.17 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": "Unclassified", + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 51, + "Coding LOC": 27, + "Documentation LOC": 13, + "Structural Magnitude": 19.04, + "Control Flow Ratio": "44.4%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.37 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "17.97%", + "Error & Exception Exposure": "53.5%", + "Tech Debt Exposure": "99.88%", + "Testing Exposure": "2.62%", + "API Exposure": "0.0%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "0.0%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "11.92%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "GetMlirBridgeRolloutPolicy", + "Structural Impact": 14.1, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 4, + "Input Parameters": 6, + "Control Flow Ratio": "57.1%", + "Start Line": 27, + "End Line": 43 + }, + { + "Function Name": "LogGraphFeatures", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 45, + "End Line": 48 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 4, + "Sequential Logic Declarations": 5, + "Function Parameters": 1, + "Function/Method Declarations": 2, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 2, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 2, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 0, "Global State Dependencies": 0, - "Decorators and Annotations": 6, - "Generic Type Abstractions": 106, - "Collection Iterators / Comprehensions": 4, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 2, - "Module Dependencies (Imports)": 18, - "Authorship Metadata": 0, - "Planned Work (TODOs)": 3, - "Acknowledged Tech Debt (FIXMEs)": 2, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 6, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 47, - "Manual Memory Allocation": 2, + "Pointer Arithmetic & Addressing": 0, + "Manual Memory Allocation": 0, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, "Ad-hoc Print / Debug Statements": 0, "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 1, + "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 9, + "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 5, + "Immutable Data Declarations": 4, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 32, + "Private / Encapsulated Scopes": 0, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, "Structural Tab Indentations": 0, - "Structural Space Indentations": 692, + "Structural Space Indentations": 16, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -252382,15 +252865,15 @@ "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 102, + "Core Var Decl": 0, "Design Camel Case": 0, - "Design Snake Case": 83, - "Design Pascal Case": 7, + "Design Snake Case": 0, + "Design Pascal Case": 0, "Design Upper Case": 0, - "Design Short Vars": 22, + "Design Short Vars": 0, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 16, + "Orphaned Logic": 2, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -252414,716 +252897,553 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 43, + "Direct Upstream (Fragility)": 6, "Direct Downstream (Dependency Blast Radius)": 0, "Total Upstream (Absolute Fragility)": 0, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "AsContextMut", - "Asyncness", - "ComponentExportIndex", - "ComponentNamedList", - "Engine", - "EntityType", - "Func", - "Lift", - "Linker", - "Lower", - "Module", - "PrimaryMap", - "ResourceType", - "Store", - "StoreComponentInstanceId", - "StoreContextMut", - "StoreOpaque", - "TypedFunc", - "TypedResource", - "TypedResourceIndex", - "VMFuncRef", - "alloc::sync::Arc", - "component::*", - "core::marker", - "core::pin::Pin", - "core::ptr::NonNull", - "crate::AsContext", - "crate::component::\n Component", - "crate::component::RuntimeInstance", - "crate::component::func::HostFunc", - "crate::component::matching::InstanceType", - "crate::component::store::ComponentInstanceId", - "crate::instance::OwnedImports", - "crate::linker::DefinitionType", - "crate::prelude::*", - "crate::runtime::vm::component::ComponentInstance", - "crate::runtime::vm::self", - "crate::store::AsStoreOpaque", - "types::ComponentItem", - "wasmtime::Engine", - "wasmtime::component::Component", - "wasmtime_environ::EngineOrModuleTypeIndex", - "wasmtime_environ::EntityIndex" + "optional", + "tensorflow/compiler/jit/flags.h", + "tensorflow/compiler/mlir/tf2xla/mlir_bridge_rollout_policy.h", + "tensorflow/core/framework/function.h", + "tensorflow/core/graph/graph.h", + "tensorflow/core/protobuf/config.pb.h" ] }, - "rust/wasmtime/wasmtime_isle_parser.rs": { + "cpp/mlir/mlir_graph_optimization_pass.cc": { "1. Artifact Identity": { - "Filename": "wasmtime_isle_parser.rs", - "Path": "rust/wasmtime/wasmtime_isle_parser.rs", - "Language": "Rust", - "Architect": "Unknown Architect", + "Filename": "mlir_graph_optimization_pass.cc", + "Path": "cpp/mlir/mlir_graph_optimization_pass.cc", + "Language": "Cpp", + "Architect": "2020 The TensorFlow Authors. All Rights Reserved", "Indentation Style": "Spaces", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "rust", + "Folder Dominant Lang": "cpp", "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .rs)" + "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": -4072.27, - "Y": 229.78, - "Z": 2304.3 + "X": 6071.73, + "Y": -26.07, + "Z": 2817.78 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": null, + "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 983, - "Coding LOC": 892, - "Documentation LOC": 19, - "Structural Magnitude": 860.94, - "Control Flow Ratio": "58.5%", + "Total LOC": 540, + "Coding LOC": 417, + "Documentation LOC": 57, + "Structural Magnitude": 339.14, + "Control Flow Ratio": "48.7%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.818 + "Raw Cognitive Density": 1.209 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "49.79%", - "Error & Exception Exposure": "13.43%", - "Tech Debt Exposure": "9.31%", - "Testing Exposure": "2.56%", - "API Exposure": "2.01%", + "Cognitive Load Exposure": "86.25%", + "Error & Exception Exposure": "84.33%", + "Tech Debt Exposure": "19.45%", + "Testing Exposure": "80.0%", + "API Exposure": "0.0%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "99.73%", + "State Flux Exposure": "100.0%", "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "15.94%", + "Documentation Exposure": "13.75%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "parse_spec_expr", - "Structural Impact": 53.9, - "Lines of Code (LOC)": 59, - "Control Flow Branches": 35, - "Input Parameters": 1, - "Control Flow Ratio": "61.4%", - "Start Line": 414, - "End Line": 472 - }, - { - "Function Name": "parse_pattern", - "Structural Impact": 53.3, - "Lines of Code (LOC)": 47, + "Function Name": "MlirFunctionOptimizationPass::Run", + "Structural Impact": 119.5, + "Lines of Code (LOC)": 229, "Control Flow Branches": 35, - "Input Parameters": 1, - "Control Flow Ratio": "77.8%", - "Start Line": 829, - "End Line": 875 - }, - { - "Function Name": "parse_model_type", - "Structural Impact": 34.1, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 22, - "Input Parameters": 1, - "Control Flow Ratio": "78.6%", - "Start Line": 623, - "End Line": 654 - }, - { - "Function Name": "parse_model", - "Structural Impact": 34.0, - "Lines of Code (LOC)": 57, - "Control Flow Branches": 21, - "Input Parameters": 1, - "Control Flow Ratio": "47.7%", - "Start Line": 565, - "End Line": 621 - }, - { - "Function Name": "parse_expr", - "Structural Impact": 30.9, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 20, - "Input Parameters": 1, - "Control Flow Ratio": "76.9%", - "Start Line": 914, - "End Line": 937 - }, - { - "Function Name": "parse_spec", - "Structural Impact": 30.7, - "Lines of Code (LOC)": 49, - "Control Flow Branches": 19, - "Input Parameters": 1, - "Control Flow Ratio": "61.3%", - "Start Line": 364, - "End Line": 412 - }, - { - "Function Name": "parse_extern", - "Structural Impact": 25.6, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 16, - "Input Parameters": 1, - "Control Flow Ratio": "61.5%", - "Start Line": 740, - "End Line": 770 - }, - { - "Function Name": "parse_def", - "Structural Impact": 23.7, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 15, - "Input Parameters": 1, - "Control Flow Ratio": "75.0%", - "Start Line": 179, - "End Line": 200 + "Input Parameters": 8, + "Control Flow Ratio": "68.6%", + "Start Line": 176, + "End Line": 404 }, { - "Function Name": "parse_iflet_or_expr", - "Structural Impact": 23.6, - "Lines of Code (LOC)": 19, + "Function Name": "MlirV1CompatGraphOptimizationPass::Run", + "Structural Impact": 28.9, + "Lines of Code (LOC)": 126, "Control Flow Branches": 15, "Input Parameters": 1, - "Control Flow Ratio": "78.9%", - "Start Line": 877, - "End Line": 895 + "Control Flow Ratio": "48.4%", + "Start Line": 412, + "End Line": 537 }, { - "Function Name": "parse_expr_inner_parens", - "Structural Impact": 21.8, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 11, + "Function Name": "DumpModule", + "Structural Impact": 12.4, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 5, "Input Parameters": 2, - "Control Flow Ratio": "55.0%", - "Start Line": 939, - "End Line": 958 - }, - { - "Function Name": "str_to_ident", - "Structural Impact": 21.1, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 9, - "Input Parameters": 3, - "Control Flow Ratio": "75.0%", - "Start Line": 202, - "End Line": 223 - }, - { - "Function Name": "parse_typevalue", - "Structural Impact": 19.3, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 12, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 282, - "End Line": 300 - }, - { - "Function Name": "parse_rule", - "Structural Impact": 18.9, - "Lines of Code (LOC)": 38, - "Control Flow Branches": 11, - "Input Parameters": 1, - "Control Flow Ratio": "57.9%", - "Start Line": 790, - "End Line": 827 - }, - { - "Function Name": "parse_decl", - "Structural Impact": 17.1, - "Lines of Code (LOC)": 30, - "Control Flow Branches": 10, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 333, - "End Line": 362 + "Control Flow Ratio": "27.8%", + "Start Line": 117, + "End Line": 157 }, { - "Function Name": "parse_type", - "Structural Impact": 14.2, - "Lines of Code (LOC)": 30, - "Control Flow Branches": 8, + "Function Name": "RegisterDialects", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "42.1%", - "Start Line": 251, - "End Line": 280 + "Control Flow Ratio": "0.0%", + "Start Line": 164, + "End Line": 174 }, { - "Function Name": "parse_type_variant", - "Structural Impact": 13.8, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 8, + "Function Name": "StringRefToView", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "53.3%", - "Start Line": 302, - "End Line": 322 + "Control Flow Ratio": "0.0%", + "Start Line": 110, + "End Line": 112 }, { - "Function Name": "parse_tagged_types", - "Structural Impact": 12.8, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 6, - "Input Parameters": 2, - "Control Flow Ratio": "54.5%", - "Start Line": 690, - "End Line": 702 + "Function Name": "MlirOptimizationPassRegistry::Global", + "Structural Impact": 1.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 159, + "End Line": 162 }, { - "Function Name": "parse_spec_bit_vector", - "Structural Impact": 12.4, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "58.3%", - "Start Line": 533, - "End Line": 553 - }, - { - "Function Name": "parse_tagged_type", - "Structural Impact": 10.9, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "55.6%", - "Start Line": 704, - "End Line": 713 - }, - { - "Function Name": "parse_etor", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 6, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 772, - "End Line": 788 - }, - { - "Function Name": "parse_instantiation", - "Structural Impact": 9.7, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 715, - "End Line": 738 - }, - { - "Function Name": "expect", - "Structural Impact": 9.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 62, - "End Line": 71 - }, - { - "Function Name": "eat", - "Structural Impact": 9.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 73, - "End Line": 82 - }, - { - "Function Name": "parse_signature", - "Structural Impact": 9.2, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 675, - "End Line": 688 - }, - { - "Function Name": "parse_letdef", - "Structural Impact": 8.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 960, - "End Line": 968 - }, - { - "Function Name": "parse_spec_op", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 58, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 474, - "End Line": 531 - }, - { - "Function Name": "parse_type_field", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 324, - "End Line": 331 - }, - { - "Function Name": "parse_const", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "42.9%", - "Start Line": 231, - "End Line": 242 - }, - { - "Function Name": "parse_converter", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "37.5%", - "Start Line": 970, - "End Line": 981 - }, - { - "Function Name": "pos", - "Structural Impact": 6.1, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 92, - "End Line": 100 - }, - { - "Function Name": "is_spec_bit_vector", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 125, - "End Line": 130 - }, - { - "Function Name": "is_spec_bool", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 132, - "End Line": 137 - }, - { - "Function Name": "is", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 84, - "End Line": 90 - }, - { - "Function Name": "eat_sym_str", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 156, - "End Line": 162 - }, - { - "Function Name": "parse_spec_bool", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 555, - "End Line": 563 - }, - { - "Function Name": "parse_form", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 656, - "End Line": 665 - }, - { - "Function Name": "parse_defs", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 171, - "End Line": 177 - }, - { - "Function Name": "parse_signatures", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 667, - "End Line": 673 - }, - { - "Function Name": "is_const", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 118, - "End Line": 123 - }, - { - "Function Name": "expect_symbol", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 149, - "End Line": 154 - }, - { - "Function Name": "expect_int", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 164, - "End Line": 169 - }, - { - "Function Name": "parse_iflet", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 897, - "End Line": 902 - }, - { - "Function Name": "parse_iflet_if", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 904, - "End Line": 912 - }, - { - "Function Name": "parse_ident", - "Structural Impact": 3.1, + "Function Name": "MlirV1CompatOptimizationPassRegistry::Global", + "Structural Impact": 1.2, "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 225, - "End Line": 229 - }, - { - "Function Name": "parse_pragma", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 244, - "End Line": 249 - }, - { - "Function Name": "error", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 55, - "End Line": 60 - }, - { - "Function Name": "new", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 41, - "End Line": 46 - }, - { - "Function Name": "new_without_pos_tracking", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 48, - "End Line": 53 - }, - { - "Function Name": "parse", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 10, - "End Line": 13 - }, - { - "Function Name": "parse_without_pos", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 17, - "End Line": 20 - }, - { - "Function Name": "is_lparen", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 102, - "End Line": 104 - }, - { - "Function Name": "is_rparen", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 105, - "End Line": 107 - }, - { - "Function Name": "is_at", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 108, - "End Line": 110 - }, - { - "Function Name": "is_sym", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 111, - "End Line": 113 - }, - { - "Function Name": "is_int", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 114, - "End Line": 116 - }, - { - "Function Name": "expect_lparen", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 139, - "End Line": 141 - }, + "Start Line": 406, + "End Line": 410 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 55, + "Sequential Logic Declarations": 58, + "Function Parameters": 17, + "Function/Method Declarations": 7, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 2, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 164, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 6, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 44, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 94, + "Manual Memory Allocation": 2, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 1, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 10, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 349, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 42, + "Design Camel Case": 1, + "Design Snake Case": 41, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 0, + "Design Long Vars": 6, + "Duplicate Logic": 0, + "Orphaned Logic": 4, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 44, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "absl/container/flat_hash_set.h", + "absl/log/log.h", + "absl/status/status.h", + "absl/strings/string_view.h", + "llvm/ADT/StringRef.h", + "llvm/Support/FormatVariadic.h", + "llvm/Support/raw_ostream.h", + "memory", + "mlir/Dialect/Arith/IR/Arith.h", + "mlir/Dialect/Func/Extensions/AllExtensions.h", + "mlir/Dialect/Func/IR/FuncOps.h", + "mlir/Dialect/Shape/IR/Shape.h", + "mlir/IR/BuiltinOps.h", + "mlir/IR/MLIRContext.h", + "mlir/IR/OperationSupport.h", + "mlir/IR/OwningOpRef.h", + "string", + "tensorflow/compiler/mlir/mlir_graph_optimization_pass.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h", + "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h", + "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h", + "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h", + "tensorflow/compiler/mlir/tensorflow/utils/device_util.h", + "tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h", + "tensorflow/compiler/mlir/tf2xla/api/v2/graph_to_tf_executor.h", + "tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h", + "tensorflow/core/common_runtime/device_set.h", + "tensorflow/core/common_runtime/function_optimization_registry.h", + "tensorflow/core/common_runtime/optimization_registry.h", + "tensorflow/core/framework/graph_debug_info.pb.h", + "tensorflow/core/framework/metrics.h", + "tensorflow/core/graph/graph.h", + "tensorflow/core/lib/monitoring/counter.h", + "tensorflow/core/platform/env.h", + "tensorflow/core/platform/errors.h", + "tensorflow/core/platform/file_system.h", + "tensorflow/core/platform/status.h", + "tensorflow/core/protobuf/config.pb.h", + "tensorflow/core/public/session_options.h", + "tensorflow/core/util/debug_data_dumper.h", + "utility", + "vector", + "xla/tsl/platform/errors.h" + ] + }, + "cpp/mlir/stablehlo.cc": { + "1. Artifact Identity": { + "Filename": "stablehlo.cc", + "Path": "cpp/mlir/stablehlo.cc", + "Language": "Cpp", + "Architect": "2023 The TensorFlow Authors. All Rights Reserved", + "Indentation Style": "Neutral / No Indentation", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "cpp", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .cc)" + }, + "2. Topological Coordinates": { + "X": 6869.9, + "Y": 108.29, + "Z": 2504.34 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": "Unclassified", + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 26, + "Coding LOC": 7, + "Documentation LOC": 11, + "Structural Magnitude": 1.94, + "Control Flow Ratio": "0.0%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.286 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "5.0%", + "Error & Exception Exposure": "0.0%", + "Tech Debt Exposure": "100.0%", + "Testing Exposure": "1.14%", + "API Exposure": "0.0%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "0.0%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "46.67%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "6.51%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ { - "Function Name": "expect_rparen", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "NB_MODULE", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 142, - "End Line": 144 - }, + "Start Line": 22, + "End Line": 22 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 0, + "Sequential Logic Declarations": 2, + "Function Parameters": 0, + "Function/Method Declarations": 1, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 0, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 0, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 0, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 2, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 0, + "Manual Memory Allocation": 0, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 0, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 0, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 0, + "Design Camel Case": 0, + "Design Snake Case": 0, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 0, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 1, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 2, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "nanobind/nanobind.h", + "stablehlo/integrations/python/StablehloApi.h" + ] + }, + "cpp/mlir/tf_mlir_opt_main.cc": { + "1. Artifact Identity": { + "Filename": "tf_mlir_opt_main.cc", + "Path": "cpp/mlir/tf_mlir_opt_main.cc", + "Language": "Cpp", + "Architect": "2019 Google Inc. All Rights Reserved", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "cpp", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .cc)" + }, + "2. Topological Coordinates": { + "X": 5901.4, + "Y": 73.38, + "Z": 2437.31 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": "Unclassified", + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 72, + "Coding LOC": 49, + "Documentation LOC": 12, + "Structural Magnitude": 6.38, + "Control Flow Ratio": "0.0%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.122 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "7.51%", + "Error & Exception Exposure": "59.66%", + "Tech Debt Exposure": "63.67%", + "Testing Exposure": "2.34%", + "API Exposure": "0.0%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "34.36%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "12.24%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ { - "Function Name": "expect_at", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "main", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 34, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 145, - "End Line": 147 + "Start Line": 38, + "End Line": 71 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 358, - "Sequential Logic Declarations": 254, - "Function Parameters": 80, - "Function/Method Declarations": 58, - "Class/Entity Declarations": 2, - "Defensive Programming Constructs": 247, - "Type/Safety Bypasses": 9, + "Control Flow Branches": 0, + "Sequential Logic Declarations": 1, + "Function Parameters": 1, + "Function/Method Declarations": 1, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 0, + "Type/Safety Bypasses": 0, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 3, - "State Mutations / Variable Reassignments": 186, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 2, "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 11, + "Structured Documentation Blocks": 0, "Unit Test Assertions": 0, "Asynchronous/Concurrent Execution": 0, "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 1, + "Closures and Anonymous Functions": 0, "Global State Dependencies": 0, - "Decorators and Annotations": 1, - "Generic Type Abstractions": 52, - "Collection Iterators / Comprehensions": 6, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 3, - "Authorship Metadata": 0, + "Module Dependencies (Imports)": 21, + "Authorship Metadata": 1, "Planned Work (TODOs)": 0, "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, @@ -253131,23 +253451,23 @@ "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 61, - "Manual Memory Allocation": 5, + "Pointer Arithmetic & Addressing": 2, + "Manual Memory Allocation": 0, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 2, + "Explicit Type Casts": 0, "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 6, + "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 2, + "Immutable Data Declarations": 0, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 3, + "Private / Encapsulated Scopes": 2, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, "Structural Tab Indentations": 0, - "Structural Space Indentations": 877, + "Structural Space Indentations": 26, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -253164,15 +253484,15 @@ "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 147, + "Core Var Decl": 0, "Design Camel Case": 0, - "Design Snake Case": 141, + "Design Snake Case": 0, "Design Pascal Case": 0, "Design Upper Case": 0, - "Design Short Vars": 20, + "Design Short Vars": 0, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 2, + "Orphaned Logic": 1, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -253196,195 +253516,2095 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 6, + "Direct Upstream (Fragility)": 21, "Direct Downstream (Dependency Blast Radius)": 0, "Total Upstream (Absolute Fragility)": 0, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "Pos", - "Span", - "Token", - "crate::ast::*", - "crate::error::Error", - "crate::lexer::Lexer" + "mlir/InitAllPasses.h", + "mlir/Support/LogicalResult.h", + "mlir/Tools/mlir-opt/MlirOptMain.h", + "mlir/Transforms/Passes.h", + "tensorflow//compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h", + "tensorflow/compiler/mlir/init_mlir.h", + "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h", + "tensorflow/compiler/mlir/register_common_dialects.h", + "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.h", + "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h", + "tensorflow/compiler/mlir/tensorflow/transforms/passes.h", + "tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h", + "tensorflow/compiler/mlir/tensorflow/transforms/test_passes.h", + "tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.h", + "tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.h", + "tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h", + "tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h", + "tensorflow/compiler/mlir/tf2xla/internal/passes/mlir_to_graph_passes.h", + "tensorflow/compiler/mlir/tf2xla/transforms/passes.h", + "xla/mlir/framework/transforms/passes.h", + "xla/mlir_hlo/mhlo/transforms/passes.h" ] }, - "rust/wasmtime/wasmtime_pulley_interp.rs": { + "cpp/mlir/tf_tfl_translate.cc": { "1. Artifact Identity": { - "Filename": "wasmtime_pulley_interp.rs", - "Path": "rust/wasmtime/wasmtime_pulley_interp.rs", - "Language": "Rust", - "Architect": "Unknown Architect", + "Filename": "tf_tfl_translate.cc", + "Path": "cpp/mlir/tf_tfl_translate.cc", + "Language": "Cpp", + "Architect": "2019 The TensorFlow Authors. All Rights Reserved", "Indentation Style": "Spaces", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "rust", + "Folder Dominant Lang": "cpp", "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .rs)" + "Identity Proof": "Single Indicator (Ext: .cc)" }, "2. Topological Coordinates": { - "X": -3757.35, - "Y": 160.25, - "Z": 1985.2 + "X": 6441.55, + "Y": 102.5, + "Z": 2153.53 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": null, + "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 5631, - "Coding LOC": 4640, - "Documentation LOC": 308, - "Structural Magnitude": 3577.1, - "Control Flow Ratio": "19.0%", + "Total LOC": 293, + "Coding LOC": 227, + "Documentation LOC": 34, + "Structural Magnitude": 191.64, + "Control Flow Ratio": "51.7%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.884 + "Raw Cognitive Density": 0.895 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "32.2%", - "Error & Exception Exposure": "80.65%", - "Tech Debt Exposure": "100.0%", + "Cognitive Load Exposure": "64.14%", + "Error & Exception Exposure": "90.34%", + "Tech Debt Exposure": "69.08%", "Testing Exposure": "80.0%", - "API Exposure": "4.64%", - "Concurrency Exposure": "14.26%", - "State Flux Exposure": "99.98%", - "Commented Logic Exposure": "4.89%", + "API Exposure": "0.0%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "0.0%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", + "Documentation Exposure": "18.3%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "push_frame_save", - "Structural Impact": 14.3, - "Lines of Code (LOC)": 47, - "Control Flow Branches": 5, - "Input Parameters": 3, - "Control Flow Ratio": "45.5%", - "Start Line": 2006, - "End Line": 2052 - }, - { - "Function Name": "call_start", - "Structural Impact": 11.8, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "35.7%", - "Start Line": 105, - "End Line": 133 - }, - { - "Function Name": "call_end", - "Structural Impact": 11.6, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 4, - "Input Parameters": 3, - "Control Flow Ratio": "26.7%", - "Start Line": 164, - "End Line": 195 - }, - { - "Function Name": "xrem32_s", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 2207, - "End Line": 2222 - }, - { - "Function Name": "xrem64_s", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 4, + "Function Name": "main", + "Structural Impact": 66.1, + "Lines of Code (LOC)": 214, + "Control Flow Branches": 31, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 2224, - "End Line": 2239 - }, - { - "Function Name": "check_xnn_from_f64", - "Structural Impact": 8.7, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, - "Input Parameters": 3, - "Control Flow Ratio": "42.9%", - "Start Line": 1145, - "End Line": 1158 - }, - { - "Function Name": "xselect32", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 2499, - "End Line": 2513 - }, - { - "Function Name": "xselect64", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 2515, - "End Line": 2529 - }, - { - "Function Name": "fselect32", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 3262, - "End Line": 3276 - }, - { - "Function Name": "fselect64", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 3278, - "End Line": 3292 - }, - { - "Function Name": "vselect", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 5550, - "End Line": 5565 - }, - { - "Function Name": "vshuffle", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "33.3%", - "Start Line": 5375, - "End Line": 5388 - }, - { - "Function Name": "xdiv32_s", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 18, + "Control Flow Ratio": "55.4%", + "Start Line": 79, + "End Line": 292 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 31, + "Sequential Logic Declarations": 29, + "Function Parameters": 3, + "Function/Method Declarations": 1, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 1, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 0, + "State Mutations / Variable Reassignments": 121, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 1, + "Global State Dependencies": 1, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 43, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 4, + "Acknowledged Tech Debt (FIXMEs)": 1, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 1, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 14, + "Manual Memory Allocation": 0, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 0, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 176, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 16, + "Design Camel Case": 0, + "Design Snake Case": 16, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 0, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 1, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 43, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "absl/status/statusor.h", + "absl/strings/str_split.h", + "absl/types/span.h", + "llvm/ADT/STLExtras.h", + "llvm/ADT/SmallVector.h", + "llvm/ADT/StringExtras.h", + "llvm/ADT/StringRef.h", + "llvm/Support/CommandLine.h", + "llvm/Support/SourceMgr.h", + "llvm/Support/ToolOutputFile.h", + "llvm/Support/raw_ostream.h", + "memory", + "mlir/Dialect/Func/Extensions/AllExtensions.h", + "mlir/Dialect/Func/IR/FuncOps.h", + "mlir/IR/AsmState.h", + "mlir/IR/BuiltinOps.h", + "mlir/IR/Diagnostics.h", + "mlir/IR/DialectRegistry.h", + "mlir/IR/MLIRContext.h", + "mlir/Parser/Parser.h", + "mlir/Pass/PassManager.h", + "mlir/Support/FileUtilities.h", + "stablehlo/dialect/ChloOps.h", + "stablehlo/dialect/StablehloOps.h", + "string", + "tensorflow/compiler/mlir/init_mlir.h", + "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h", + "tensorflow/compiler/mlir/lite/converter_flags.pb.h", + "tensorflow/compiler/mlir/lite/flatbuffer_export_flags.h", + "tensorflow/compiler/mlir/lite/ir/tfl_ops.h", + "tensorflow/compiler/mlir/lite/quantization/common/quantization_lib/quantization_config.h", + "tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.h", + "tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h", + "tensorflow/compiler/mlir/lite/transforms/passes.h", + "tensorflow/compiler/mlir/tensorflow/dialect_registration.h", + "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h", + "tensorflow/core/framework/types.pb.h", + "tensorflow/core/platform/errors.h", + "unordered_set", + "utility", + "vector", + "xla/hlo/translate/hlo_to_mhlo/translate.h", + "xla/mlir_hlo/mhlo/IR/hlo_ops.h" + ] + } + } + }, + "rust/wasmtime": { + "Directory Group Magnitude": 4875.28, + "File Count": 4, + "Ecosystem Fingerprint (Archetypes)": { + "Unclassified": "100.0%" + }, + "Average Risk Exposures": { + "Cognitive Load Exposure": "23.76%", + "Error & Exception Exposure": "29.56%", + "Tech Debt Exposure": "73.11%", + "Testing Exposure": "21.84%", + "API Exposure": "4.0%", + "Concurrency Exposure": "17.75%", + "State Flux Exposure": "72.34%", + "Commented Logic Exposure": "6.32%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "22.06%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "Files": { + "rust/wasmtime/wasmtime_component_macro.rs": { + "1. Artifact Identity": { + "Filename": "wasmtime_component_macro.rs", + "Path": "rust/wasmtime/wasmtime_component_macro.rs", + "Language": "Rust", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "rust", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .rs)" + }, + "2. Topological Coordinates": { + "X": -3442.01, + "Y": 139.99, + "Z": 2385.34 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": null, + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 56, + "Coding LOC": 42, + "Documentation LOC": 6, + "Structural Magnitude": 14.94, + "Control Flow Ratio": "0.0%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.0 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "2.37%", + "Error & Exception Exposure": "0.0%", + "Tech Debt Exposure": "99.91%", + "Testing Exposure": "2.4%", + "API Exposure": "4.43%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "0.0%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "48.47%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "lift", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 13, + "End Line": 21 + }, + { + "Function Name": "lower", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 23, + "End Line": 31 + }, + { + "Function Name": "component_type", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 33, + "End Line": 41 + }, + { + "Function Name": "flags", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 43, + "End Line": 48 + }, + { + "Function Name": "bindgen", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 50, + "End Line": 55 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 0, + "Sequential Logic Declarations": 3, + "Function Parameters": 5, + "Function/Method Declarations": 5, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 0, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 5, + "State Mutations / Variable Reassignments": 0, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 6, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 0, + "Decorators and Annotations": 5, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 1, + "Authorship Metadata": 0, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 15, + "Pointer Arithmetic & Addressing": 5, + "Manual Memory Allocation": 0, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 0, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 5, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 24, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 0, + "Design Camel Case": 0, + "Design Snake Case": 0, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 0, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 4, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 3, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "Error", + "parse_macro_input", + "syn::DeriveInput" + ] + }, + "rust/wasmtime/wasmtime_instance.rs": { + "1. Artifact Identity": { + "Filename": "wasmtime_instance.rs", + "Path": "rust/wasmtime/wasmtime_instance.rs", + "Language": "Rust", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "rust", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .rs)" + }, + "2. Topological Coordinates": { + "X": -3689.2, + "Y": 123.16, + "Z": 1245.68 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": null, + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 1209, + "Coding LOC": 750, + "Documentation LOC": 366, + "Structural Magnitude": 422.3, + "Control Flow Ratio": "24.2%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.424 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "10.67%", + "Error & Exception Exposure": "24.16%", + "Tech Debt Exposure": "83.2%", + "Testing Exposure": "2.41%", + "API Exposure": "4.93%", + "Concurrency Exposure": "56.73%", + "State Flux Exposure": "89.66%", + "Commented Logic Exposure": "20.39%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "11.92%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "run", + "Structural Impact": 46.2, + "Lines of Code (LOC)": 165, + "Control Flow Branches": 18, + "Input Parameters": 3, + "Control Flow Ratio": "45.0%", + "Start Line": 749, + "End Line": 913 + }, + { + "Function Name": "assert_type_matches", + "Structural Impact": 13.3, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 3, + "Input Parameters": 7, + "Control Flow Ratio": "25.0%", + "Start Line": 1015, + "End Line": 1054 + }, + { + "Function Name": "build_imports", + "Structural Impact": 12.7, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 4, + "Input Parameters": 4, + "Control Flow Ratio": "36.4%", + "Start Line": 983, + "End Line": 1013 + }, + { + "Function Name": "get_typed_func", + "Structural Impact": 10.8, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 4, + "Input Parameters": 3, + "Control Flow Ratio": "40.0%", + "Start Line": 188, + "End Line": 202 + }, + { + "Function Name": "_instantiate", + "Structural Impact": 9.2, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 1184, + "End Line": 1207 + }, + { + "Function Name": "get_module", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "37.5%", + "Start Line": 220, + "End Line": 237 + }, + { + "Function Name": "resource_transfer_borrow", + "Structural Impact": 8.5, + "Lines of Code (LOC)": 23, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "25.0%", + "Start Line": 425, + "End Line": 447 + }, + { + "Function Name": "new", + "Structural Impact": 7.3, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 721, + "End Line": 747 + }, + { + "Function Name": "new_unchecked", + "Structural Impact": 7.1, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 1116, + "End Line": 1137 + }, + { + "Function Name": "get_func", + "Structural Impact": 7.0, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "20.0%", + "Start Line": 155, + "End Line": 175 + }, + { + "Function Name": "get_resource", + "Structural Impact": 6.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "28.6%", + "Start Line": 255, + "End Line": 272 + }, + { + "Function Name": "options_memory_raw", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "28.6%", + "Start Line": 461, + "End Line": 477 + }, + { + "Function Name": "lookup_vmexport", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "11.1%", + "Start Line": 609, + "End Line": 644 + }, + { + "Function Name": "lookup_vmdef", + "Structural Impact": 5.7, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "20.0%", + "Start Line": 572, + "End Line": 605 + }, + { + "Function Name": "_get_export", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "20.0%", + "Start Line": 298, + "End Line": 319 + }, + { + "Function Name": "resource_transfer_own", + "Structural Impact": 5.4, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 5, + "Control Flow Ratio": "20.0%", + "Start Line": 413, + "End Line": 423 + }, + { + "Function Name": "get_export_index", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "20.0%", + "Start Line": 334, + "End Line": 346 + }, + { + "Function Name": "resource", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "11.1%", + "Start Line": 915, + "End Line": 934 + }, + { + "Function Name": "options_memory", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 479, + "End Line": 496 + }, + { + "Function Name": "options_memory_mut", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "14.3%", + "Start Line": 498, + "End Line": 513 + }, + { + "Function Name": "lookup_export", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 348, + "End Line": 356 + }, + { + "Function Name": "extract_memory", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 936, + "End Line": 944 + }, + { + "Function Name": "extract_table", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "20.0%", + "Start Line": 973, + "End Line": 981 + }, + { + "Function Name": "extract_realloc", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 946, + "End Line": 953 + }, + { + "Function Name": "extract_callback", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 955, + "End Line": 962 + }, + { + "Function Name": "extract_post_return", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 964, + "End Line": 971 + }, + { + "Function Name": "component_and_store_mut", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 48, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 520, + "End Line": 567 + }, + { + "Function Name": "instantiate", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1163, + "End Line": 1173 + }, + { + "Function Name": "resource_new32", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 377, + "End Line": 386 + }, + { + "Function Name": "resource_rep32", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 390, + "End Line": 399 + }, + { + "Function Name": "resource_drop", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 402, + "End Line": 411 + }, + { + "Function Name": "get_export", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 289, + "End Line": 296 + }, + { + "Function Name": "options", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 453, + "End Line": 459 + }, + { + "Function Name": "instance_pre", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 359, + "End Line": 369 + }, + { + "Function Name": "lookup_vmdef", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 449, + "End Line": 451 + }, + { + "Function Name": "lookup", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 672, + "End Line": 678 + }, + { + "Function Name": "from_wasmtime", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 55, + "End Line": 59 + }, + { + "Function Name": "instance_resource_types_mut", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1072, + "End Line": 1077 + }, + { + "Function Name": "lookup", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 666, + "End Line": 668 + }, + { + "Function Name": "lookup", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 682, + "End Line": 684 + }, + { + "Function Name": "instance", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1058, + "End Line": 1060 + }, + { + "Function Name": "instance_mut", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1063, + "End Line": 1065 + }, + { + "Function Name": "clone", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1098, + "End Line": 1106 + }, + { + "Function Name": "instance_type", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1144, + "End Line": 1153 + }, + { + "Function Name": "instantiate_async", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1179, + "End Line": 1182 + }, + { + "Function Name": "lookup", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 658, + "End Line": 659 + }, + { + "Function Name": "id", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 371, + "End Line": 373 + }, + { + "Function Name": "component", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1140, + "End Line": 1142 + }, + { + "Function Name": "engine", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1156, + "End Line": 1158 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 66, + "Sequential Logic Declarations": 207, + "Function Parameters": 54, + "Function/Method Declarations": 49, + "Class/Entity Declarations": 6, + "Defensive Programming Constructs": 101, + "Type/Safety Bypasses": 7, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 32, + "State Mutations / Variable Reassignments": 88, + "Commented-out Code (Dead Logic)": 22, + "Structured Documentation Blocks": 234, + "Unit Test Assertions": 7, + "Asynchronous/Concurrent Execution": 22, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 1, + "Global State Dependencies": 0, + "Decorators and Annotations": 6, + "Generic Type Abstractions": 106, + "Collection Iterators / Comprehensions": 4, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 2, + "Module Dependencies (Imports)": 18, + "Authorship Metadata": 0, + "Planned Work (TODOs)": 3, + "Acknowledged Tech Debt (FIXMEs)": 2, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 47, + "Manual Memory Allocation": 2, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 0, + "Fatal Aborts & Exceptions": 1, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 9, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 5, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 32, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 692, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 102, + "Design Camel Case": 0, + "Design Snake Case": 83, + "Design Pascal Case": 7, + "Design Upper Case": 0, + "Design Short Vars": 22, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 16, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 43, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "AsContextMut", + "Asyncness", + "ComponentExportIndex", + "ComponentNamedList", + "Engine", + "EntityType", + "Func", + "Lift", + "Linker", + "Lower", + "Module", + "PrimaryMap", + "ResourceType", + "Store", + "StoreComponentInstanceId", + "StoreContextMut", + "StoreOpaque", + "TypedFunc", + "TypedResource", + "TypedResourceIndex", + "VMFuncRef", + "alloc::sync::Arc", + "component::*", + "core::marker", + "core::pin::Pin", + "core::ptr::NonNull", + "crate::AsContext", + "crate::component::\n Component", + "crate::component::RuntimeInstance", + "crate::component::func::HostFunc", + "crate::component::matching::InstanceType", + "crate::component::store::ComponentInstanceId", + "crate::instance::OwnedImports", + "crate::linker::DefinitionType", + "crate::prelude::*", + "crate::runtime::vm::component::ComponentInstance", + "crate::runtime::vm::self", + "crate::store::AsStoreOpaque", + "types::ComponentItem", + "wasmtime::Engine", + "wasmtime::component::Component", + "wasmtime_environ::EngineOrModuleTypeIndex", + "wasmtime_environ::EntityIndex" + ] + }, + "rust/wasmtime/wasmtime_isle_parser.rs": { + "1. Artifact Identity": { + "Filename": "wasmtime_isle_parser.rs", + "Path": "rust/wasmtime/wasmtime_isle_parser.rs", + "Language": "Rust", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "rust", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .rs)" + }, + "2. Topological Coordinates": { + "X": -4072.27, + "Y": 229.78, + "Z": 2304.3 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": null, + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 983, + "Coding LOC": 892, + "Documentation LOC": 19, + "Structural Magnitude": 860.94, + "Control Flow Ratio": "58.5%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.818 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "49.79%", + "Error & Exception Exposure": "13.43%", + "Tech Debt Exposure": "9.31%", + "Testing Exposure": "2.56%", + "API Exposure": "2.01%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "99.73%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "15.94%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "parse_spec_expr", + "Structural Impact": 53.9, + "Lines of Code (LOC)": 59, + "Control Flow Branches": 35, + "Input Parameters": 1, + "Control Flow Ratio": "61.4%", + "Start Line": 414, + "End Line": 472 + }, + { + "Function Name": "parse_pattern", + "Structural Impact": 53.3, + "Lines of Code (LOC)": 47, + "Control Flow Branches": 35, + "Input Parameters": 1, + "Control Flow Ratio": "77.8%", + "Start Line": 829, + "End Line": 875 + }, + { + "Function Name": "parse_model_type", + "Structural Impact": 34.1, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 22, + "Input Parameters": 1, + "Control Flow Ratio": "78.6%", + "Start Line": 623, + "End Line": 654 + }, + { + "Function Name": "parse_model", + "Structural Impact": 34.0, + "Lines of Code (LOC)": 57, + "Control Flow Branches": 21, + "Input Parameters": 1, + "Control Flow Ratio": "47.7%", + "Start Line": 565, + "End Line": 621 + }, + { + "Function Name": "parse_expr", + "Structural Impact": 30.9, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 20, + "Input Parameters": 1, + "Control Flow Ratio": "76.9%", + "Start Line": 914, + "End Line": 937 + }, + { + "Function Name": "parse_spec", + "Structural Impact": 30.7, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 19, + "Input Parameters": 1, + "Control Flow Ratio": "61.3%", + "Start Line": 364, + "End Line": 412 + }, + { + "Function Name": "parse_extern", + "Structural Impact": 25.6, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 16, + "Input Parameters": 1, + "Control Flow Ratio": "61.5%", + "Start Line": 740, + "End Line": 770 + }, + { + "Function Name": "parse_def", + "Structural Impact": 23.7, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 15, + "Input Parameters": 1, + "Control Flow Ratio": "75.0%", + "Start Line": 179, + "End Line": 200 + }, + { + "Function Name": "parse_iflet_or_expr", + "Structural Impact": 23.6, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 15, + "Input Parameters": 1, + "Control Flow Ratio": "78.9%", + "Start Line": 877, + "End Line": 895 + }, + { + "Function Name": "parse_expr_inner_parens", + "Structural Impact": 21.8, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 11, + "Input Parameters": 2, + "Control Flow Ratio": "55.0%", + "Start Line": 939, + "End Line": 958 + }, + { + "Function Name": "str_to_ident", + "Structural Impact": 21.1, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 9, + "Input Parameters": 3, + "Control Flow Ratio": "75.0%", + "Start Line": 202, + "End Line": 223 + }, + { + "Function Name": "parse_typevalue", + "Structural Impact": 19.3, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 12, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 282, + "End Line": 300 + }, + { + "Function Name": "parse_rule", + "Structural Impact": 18.9, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 11, + "Input Parameters": 1, + "Control Flow Ratio": "57.9%", + "Start Line": 790, + "End Line": 827 + }, + { + "Function Name": "parse_decl", + "Structural Impact": 17.1, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 333, + "End Line": 362 + }, + { + "Function Name": "parse_type", + "Structural Impact": 14.2, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 8, + "Input Parameters": 1, + "Control Flow Ratio": "42.1%", + "Start Line": 251, + "End Line": 280 + }, + { + "Function Name": "parse_type_variant", + "Structural Impact": 13.8, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 8, + "Input Parameters": 1, + "Control Flow Ratio": "53.3%", + "Start Line": 302, + "End Line": 322 + }, + { + "Function Name": "parse_tagged_types", + "Structural Impact": 12.8, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 6, + "Input Parameters": 2, + "Control Flow Ratio": "54.5%", + "Start Line": 690, + "End Line": 702 + }, + { + "Function Name": "parse_spec_bit_vector", + "Structural Impact": 12.4, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "58.3%", + "Start Line": 533, + "End Line": 553 + }, + { + "Function Name": "parse_tagged_type", + "Structural Impact": 10.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "55.6%", + "Start Line": 704, + "End Line": 713 + }, + { + "Function Name": "parse_etor", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 772, + "End Line": 788 + }, + { + "Function Name": "parse_instantiation", + "Structural Impact": 9.7, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 715, + "End Line": 738 + }, + { + "Function Name": "expect", + "Structural Impact": 9.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 62, + "End Line": 71 + }, + { + "Function Name": "eat", + "Structural Impact": 9.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 73, + "End Line": 82 + }, + { + "Function Name": "parse_signature", + "Structural Impact": 9.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 675, + "End Line": 688 + }, + { + "Function Name": "parse_letdef", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 960, + "End Line": 968 + }, + { + "Function Name": "parse_spec_op", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 58, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 474, + "End Line": 531 + }, + { + "Function Name": "parse_type_field", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 324, + "End Line": 331 + }, + { + "Function Name": "parse_const", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "42.9%", + "Start Line": 231, + "End Line": 242 + }, + { + "Function Name": "parse_converter", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "37.5%", + "Start Line": 970, + "End Line": 981 + }, + { + "Function Name": "pos", + "Structural Impact": 6.1, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 92, + "End Line": 100 + }, + { + "Function Name": "is_spec_bit_vector", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 125, + "End Line": 130 + }, + { + "Function Name": "is_spec_bool", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 132, + "End Line": 137 + }, + { + "Function Name": "is", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 84, + "End Line": 90 + }, + { + "Function Name": "eat_sym_str", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 156, + "End Line": 162 + }, + { + "Function Name": "parse_spec_bool", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 555, + "End Line": 563 + }, + { + "Function Name": "parse_form", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 656, + "End Line": 665 + }, + { + "Function Name": "parse_defs", + "Structural Impact": 4.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 171, + "End Line": 177 + }, + { + "Function Name": "parse_signatures", + "Structural Impact": 4.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 667, + "End Line": 673 + }, + { + "Function Name": "is_const", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 118, + "End Line": 123 + }, + { + "Function Name": "expect_symbol", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 149, + "End Line": 154 + }, + { + "Function Name": "expect_int", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 164, + "End Line": 169 + }, + { + "Function Name": "parse_iflet", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 897, + "End Line": 902 + }, + { + "Function Name": "parse_iflet_if", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 904, + "End Line": 912 + }, + { + "Function Name": "parse_ident", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 225, + "End Line": 229 + }, + { + "Function Name": "parse_pragma", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 244, + "End Line": 249 + }, + { + "Function Name": "error", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 55, + "End Line": 60 + }, + { + "Function Name": "new", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 41, + "End Line": 46 + }, + { + "Function Name": "new_without_pos_tracking", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 48, + "End Line": 53 + }, + { + "Function Name": "parse", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 10, + "End Line": 13 + }, + { + "Function Name": "parse_without_pos", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 17, + "End Line": 20 + }, + { + "Function Name": "is_lparen", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 102, + "End Line": 104 + }, + { + "Function Name": "is_rparen", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 105, + "End Line": 107 + }, + { + "Function Name": "is_at", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 108, + "End Line": 110 + }, + { + "Function Name": "is_sym", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 111, + "End Line": 113 + }, + { + "Function Name": "is_int", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 114, + "End Line": 116 + }, + { + "Function Name": "expect_lparen", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 139, + "End Line": 141 + }, + { + "Function Name": "expect_rparen", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 142, + "End Line": 144 + }, + { + "Function Name": "expect_at", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 145, + "End Line": 147 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 358, + "Sequential Logic Declarations": 254, + "Function Parameters": 80, + "Function/Method Declarations": 58, + "Class/Entity Declarations": 2, + "Defensive Programming Constructs": 247, + "Type/Safety Bypasses": 9, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 3, + "State Mutations / Variable Reassignments": 186, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 11, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 1, + "Global State Dependencies": 0, + "Decorators and Annotations": 1, + "Generic Type Abstractions": 52, + "Collection Iterators / Comprehensions": 6, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 3, + "Authorship Metadata": 0, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 0, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 61, + "Manual Memory Allocation": 5, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 2, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 6, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 2, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 3, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 877, + "Hardware Bridge": 0, + "Cryptography": 0, + "Auth Middleware": 0, + "Ipc Rpc Bridges": 0, + "Feature Flags": 0, + "Serialization Parsing": 0, + "Regex Execution": 0, + "Time Date Logic": 0, + "Cloud LLM API Integrations": 0, + "AI Orchestration Frameworks": 0, + "Vector Databases (RAG)": 0, + "Local Inference & Tensor Math": 0, + "Traditional Machine Learning (Stats/Trees)": 0, + "Deep Learning & Neural Networks": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 147, + "Design Camel Case": 0, + "Design Snake Case": 141, + "Design Pascal Case": 0, + "Design Upper Case": 0, + "Design Short Vars": 20, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 2, + "Instructional Code Examples": 0, + "Architectural Diagrams (Mermaid/PlantUML)": 0, + "Structured Literature Headers": 0, + "Hyperlinked Literature References": 0, + "High-Entropy / Obfuscated Logic": 0, + "Safety & Constraint Bypasses": 0, + "External Network & I/O Hooks": 0, + "Dynamic Code Execution (Eval/Exec)": 0, + "Global Environment Mutation": 0, + "Commented-Out Executable Logic": 0, + "Low-Level Bitwise / Cryptographic Math": 0, + "Non-Standard / Steganographic Imports": 0, + "Non-Standard Unicode / Homoglyphs": 0, + "Embedded Credentials & Keys": 0, + "Sec Extension Mismatch": 0, + "Sec Entropy": 0, + "Sec Tainted Injection": 0, + "Prompt Injection": 0, + "Agentic Rce": 0, + "Invisible Unicode Payload Smuggling": 0, + "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 + }, + "8. Dependency Network": { + "Direct Upstream (Fragility)": 6, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "Pos", + "Span", + "Token", + "crate::ast::*", + "crate::error::Error", + "crate::lexer::Lexer" + ] + }, + "rust/wasmtime/wasmtime_pulley_interp.rs": { + "1. Artifact Identity": { + "Filename": "wasmtime_pulley_interp.rs", + "Path": "rust/wasmtime/wasmtime_pulley_interp.rs", + "Language": "Rust", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "rust", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Ext: .rs)" + }, + "2. Topological Coordinates": { + "X": -3757.35, + "Y": 160.25, + "Z": 1985.2 + }, + "3. Architectural Profile": { + "Repository Archetype": "Unclassified", + "Repository Drift (Z-Score)": 0.0, + "Repository Fingerprint": {}, + "File Archetype": null, + "File Drift (Z-Score)": 0.0, + "File Fingerprint": {}, + "Total LOC": 5631, + "Coding LOC": 4640, + "Documentation LOC": 308, + "Structural Magnitude": 3577.1, + "Control Flow Ratio": "19.0%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.884 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "32.2%", + "Error & Exception Exposure": "80.65%", + "Tech Debt Exposure": "100.0%", + "Testing Exposure": "80.0%", + "API Exposure": "4.64%", + "Concurrency Exposure": "14.26%", + "State Flux Exposure": "99.98%", + "Commented Logic Exposure": "4.89%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "11.92%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "push_frame_save", + "Structural Impact": 14.3, + "Lines of Code (LOC)": 47, + "Control Flow Branches": 5, + "Input Parameters": 3, + "Control Flow Ratio": "45.5%", + "Start Line": 2006, + "End Line": 2052 + }, + { + "Function Name": "call_start", + "Structural Impact": 11.8, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "35.7%", + "Start Line": 105, + "End Line": 133 + }, + { + "Function Name": "call_end", + "Structural Impact": 11.6, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 4, + "Input Parameters": 3, + "Control Flow Ratio": "26.7%", + "Start Line": 164, + "End Line": 195 + }, + { + "Function Name": "xrem32_s", + "Structural Impact": 9.5, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 2207, + "End Line": 2222 + }, + { + "Function Name": "xrem64_s", + "Structural Impact": 9.5, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 2224, + "End Line": 2239 + }, + { + "Function Name": "check_xnn_from_f64", + "Structural Impact": 8.7, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "42.9%", + "Start Line": 1145, + "End Line": 1158 + }, + { + "Function Name": "xselect32", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 2499, + "End Line": 2513 + }, + { + "Function Name": "xselect64", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 2515, + "End Line": 2529 + }, + { + "Function Name": "fselect32", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 3262, + "End Line": 3276 + }, + { + "Function Name": "fselect64", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 3278, + "End Line": 3292 + }, + { + "Function Name": "vselect", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 5550, + "End Line": 5565 + }, + { + "Function Name": "vshuffle", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "33.3%", + "Start Line": 5375, + "End Line": 5388 + }, + { + "Function Name": "xdiv32_s", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 18, "Control Flow Branches": 3, "Input Parameters": 2, "Control Flow Ratio": "42.9%", @@ -258271,3470 +260491,1538 @@ "Start Line": 1847, "End Line": 1852 }, - { - "Function Name": "xshr64_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1854, - "End Line": 1859 - }, - { - "Function Name": "xshl32_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1861, - "End Line": 1866 - }, - { - "Function Name": "xshr32_u_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1868, - "End Line": 1873 - }, - { - "Function Name": "xshr32_s_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1875, - "End Line": 1880 - }, - { - "Function Name": "xshl64_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1882, - "End Line": 1887 - }, - { - "Function Name": "xshr64_u_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1889, - "End Line": 1894 - }, - { - "Function Name": "xshr64_s_u6", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1896, - "End Line": 1901 - }, - { - "Function Name": "xeq64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1915, - "End Line": 1920 - }, - { - "Function Name": "xneq64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1922, - "End Line": 1927 - }, - { - "Function Name": "xslt64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1929, - "End Line": 1934 - }, - { - "Function Name": "xslteq64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1936, - "End Line": 1941 - }, - { - "Function Name": "xult64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1943, - "End Line": 1948 - }, - { - "Function Name": "xulteq64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1950, - "End Line": 1955 - }, - { - "Function Name": "xeq32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1957, - "End Line": 1962 - }, - { - "Function Name": "xneq32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1964, - "End Line": 1969 - }, - { - "Function Name": "xslt32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1971, - "End Line": 1976 - }, - { - "Function Name": "xslteq32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1978, - "End Line": 1983 - }, - { - "Function Name": "xult32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1985, - "End Line": 1990 - }, - { - "Function Name": "xulteq32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1992, - "End Line": 1997 - }, - { - "Function Name": "stack_free32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2102, - "End Line": 2107 - }, - { - "Function Name": "xband32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2265, - "End Line": 2270 - }, - { - "Function Name": "xband64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2282, - "End Line": 2287 - }, - { - "Function Name": "xbor32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2299, - "End Line": 2304 - }, - { - "Function Name": "xbor64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2316, - "End Line": 2321 - }, - { - "Function Name": "xbxor32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2333, - "End Line": 2338 - }, - { - "Function Name": "xbxor64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2350, - "End Line": 2355 - }, - { - "Function Name": "xmin32_u", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2379, - "End Line": 2384 - }, - { - "Function Name": "xmin32_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2386, - "End Line": 2391 - }, - { - "Function Name": "xmax32_u", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2393, - "End Line": 2398 - }, - { - "Function Name": "xmax32_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2400, - "End Line": 2405 - }, - { - "Function Name": "xmin64_u", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2407, - "End Line": 2412 - }, - { - "Function Name": "xmin64_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2414, - "End Line": 2419 - }, - { - "Function Name": "xmax64_u", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2421, - "End Line": 2426 - }, - { - "Function Name": "xmax64_s", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2428, - "End Line": 2433 - }, - { - "Function Name": "xrotl32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2471, - "End Line": 2476 - }, - { - "Function Name": "xrotl64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2478, - "End Line": 2483 - }, - { - "Function Name": "xrotr32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2485, - "End Line": 2490 - }, - { - "Function Name": "xrotr64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2492, - "End Line": 2497 - }, - { - "Function Name": "xmov_fp", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3147, - "End Line": 3151 - }, - { - "Function Name": "xmov_lr", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3153, - "End Line": 3157 - }, - { - "Function Name": "fcopysign32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3458, - "End Line": 3463 - }, - { - "Function Name": "fcopysign64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3465, - "End Line": 3470 - }, - { - "Function Name": "fadd32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3472, - "End Line": 3477 - }, - { - "Function Name": "fsub32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3479, - "End Line": 3484 - }, - { - "Function Name": "fmul32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3497, - "End Line": 3502 - }, - { - "Function Name": "fdiv32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3515, - "End Line": 3520 - }, - { - "Function Name": "fmaximum32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3550, - "End Line": 3555 - }, - { - "Function Name": "fminimum32", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3557, - "End Line": 3562 - }, - { - "Function Name": "fadd64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3718, - "End Line": 3723 - }, - { - "Function Name": "fsub64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3725, - "End Line": 3730 - }, - { - "Function Name": "fmul64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3732, - "End Line": 3737 - }, - { - "Function Name": "fdiv64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3739, - "End Line": 3744 - }, - { - "Function Name": "fmaximum64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3746, - "End Line": 3751 - }, - { - "Function Name": "fminimum64", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3753, - "End Line": 3758 - }, - { - "Function Name": "set_fp", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 208, - "End Line": 210 - }, - { - "Function Name": "set_lr", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 213, - "End Line": 215 - }, - { - "Function Name": "eq", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 339, - "End Line": 341 - }, - { - "Function Name": "fmt", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 355, - "End Line": 357 - }, - { - "Function Name": "set_i32", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 486, - "End Line": 488 - }, - { - "Function Name": "set_u32", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 490, - "End Line": 492 - }, - { - "Function Name": "set_i64", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 494, - "End Line": 496 - }, - { - "Function Name": "set_u64", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 498, - "End Line": 500 - }, - { - "Function Name": "set_ptr", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 502, - "End Line": 504 - }, - { - "Function Name": "fmt", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 521, - "End Line": 523 - }, - { - "Function Name": "set_f32", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 564, - "End Line": 566 - }, - { - "Function Name": "set_f64", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 568, - "End Line": 570 - }, - { - "Function Name": "fmt", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 589, - "End Line": 591 - }, - { - "Function Name": "set_u128", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 642, - "End Line": 644 - }, - { - "Function Name": "set_i8x16", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 651, - "End Line": 653 - }, - { - "Function Name": "set_u8x16", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 660, - "End Line": 662 - }, - { - "Function Name": "set_i16x8", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 669, - "End Line": 671 - }, - { - "Function Name": "set_u16x8", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 678, - "End Line": 680 - }, - { - "Function Name": "set_i32x4", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 687, - "End Line": 689 - }, - { - "Function Name": "set_u32x4", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 696, - "End Line": 698 - }, - { - "Function Name": "set_i64x2", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 705, - "End Line": 707 - }, - { - "Function Name": "set_u64x2", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 714, - "End Line": 716 - }, - { - "Function Name": "set_f64x2", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 723, - "End Line": 725 - }, - { - "Function Name": "set_f32x4", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 732, - "End Line": 734 - }, - { - "Function Name": "index", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 858, - "End Line": 860 - }, - { - "Function Name": "index_mut", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 864, - "End Line": 866 - }, - { - "Function Name": "index", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 872, - "End Line": 874 - }, - { - "Function Name": "index_mut", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 878, - "End Line": 880 - }, - { - "Function Name": "done_decode", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 964, - "End Line": 966 - }, - { - "Function Name": "load_ne", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + { + "Function Name": "xshr64_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1111, - "End Line": 1114 + "Start Line": 1854, + "End Line": 1859 }, { - "Function Name": "jump", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "xshl32_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1428, - "End Line": 1430 + "Start Line": 1861, + "End Line": 1866 }, { - "Function Name": "xzero", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "xshr32_u_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1676, - "End Line": 1679 + "Start Line": 1868, + "End Line": 1873 }, { - "Function Name": "xone", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "xshr32_s_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1681, - "End Line": 1684 + "Start Line": 1875, + "End Line": 1880 }, { - "Function Name": "call_indirect_host", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "xshl64_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2833, - "End Line": 2835 + "Start Line": 1882, + "End Line": 1887 }, { - "Function Name": "addr", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, + "Function Name": "xshr64_u_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1189, - "End Line": 1190 + "Start Line": 1889, + "End Line": 1894 }, { - "Function Name": "pop_frame", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 8, + "Function Name": "xshr64_s_u6", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2071, - "End Line": 2078 + "Start Line": 1896, + "End Line": 1901 }, { - "Function Name": "new_i32", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xeq64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 431, - "End Line": 435 + "Start Line": 1915, + "End Line": 1920 }, { - "Function Name": "new_u32", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xneq64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 437, - "End Line": 441 + "Start Line": 1922, + "End Line": 1927 }, { - "Function Name": "new_i64", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xslt64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 443, - "End Line": 447 + "Start Line": 1929, + "End Line": 1934 }, { - "Function Name": "new_u64", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xslteq64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 449, - "End Line": 453 + "Start Line": 1936, + "End Line": 1941 }, { - "Function Name": "new_ptr", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xult64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 455, - "End Line": 459 + "Start Line": 1943, + "End Line": 1948 }, { - "Function Name": "new_f32", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xulteq64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 542, - "End Line": 546 + "Start Line": 1950, + "End Line": 1955 }, { - "Function Name": "new_f64", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xeq32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 548, - "End Line": 552 + "Start Line": 1957, + "End Line": 1962 }, { - "Function Name": "new_u128", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xneq32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 631, - "End Line": 635 + "Start Line": 1964, + "End Line": 1969 }, { - "Function Name": "done_return_to_host", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "xslt32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1001, - "End Line": 1005 + "Start Line": 1971, + "End Line": 1976 }, { - "Function Name": "pop", - "Structural Impact": 1.7, + "Function Name": "xslteq32", + "Structural Impact": 2.0, "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1060, - "End Line": 1065 + "Start Line": 1978, + "End Line": 1983 }, { - "Function Name": "state", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xult32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 48, - "End Line": 50 + "Start Line": 1985, + "End Line": 1990 }, { - "Function Name": "state_mut", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xulteq32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 53, - "End Line": 55 + "Start Line": 1992, + "End Line": 1997 }, { - "Function Name": "fp", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "stack_free32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 198, - "End Line": 200 + "Start Line": 2102, + "End Line": 2107 }, { - "Function Name": "lr", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xband32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 203, - "End Line": 205 + "Start Line": 2265, + "End Line": 2270 }, { - "Function Name": "executing_pc", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xband64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 223, - "End Line": 226 + "Start Line": 2282, + "End Line": 2287 }, { - "Function Name": "drop", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xbor32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 230, - "End Line": 232 + "Start Line": 2299, + "End Line": 2304 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xbor64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 274, - "End Line": 276 + "Start Line": 2316, + "End Line": 2321 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xbxor32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 280, - "End Line": 282 + "Start Line": 2333, + "End Line": 2338 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xbxor64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 286, - "End Line": 288 + "Start Line": 2350, + "End Line": 2355 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmin32_u", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 292, - "End Line": 294 + "Start Line": 2379, + "End Line": 2384 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmin32_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 298, - "End Line": 300 + "Start Line": 2386, + "End Line": 2391 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmax32_u", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 304, - "End Line": 306 + "Start Line": 2393, + "End Line": 2398 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmax32_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 310, - "End Line": 312 + "Start Line": 2400, + "End Line": 2405 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmin64_u", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 316, - "End Line": 318 + "Start Line": 2407, + "End Line": 2412 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmin64_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 322, - "End Line": 324 + "Start Line": 2414, + "End Line": 2419 }, { - "Function Name": "from", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "xmax64_u", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 329, - "End Line": 331 + "Start Line": 2421, + "End Line": 2426 }, { - "Function Name": "get_i32", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xmax64_s", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 461, - "End Line": 464 + "Start Line": 2428, + "End Line": 2433 }, { - "Function Name": "get_u32", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xrotl32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 466, - "End Line": 469 + "Start Line": 2471, + "End Line": 2476 }, { - "Function Name": "get_i64", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xrotl64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 471, - "End Line": 474 + "Start Line": 2478, + "End Line": 2483 }, { - "Function Name": "get_u64", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xrotr32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 476, - "End Line": 479 + "Start Line": 2485, + "End Line": 2490 }, { - "Function Name": "get_ptr", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xrotr64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 481, - "End Line": 484 + "Start Line": 2492, + "End Line": 2497 }, { - "Function Name": "get_f32", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xmov_fp", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 554, - "End Line": 557 + "Start Line": 3147, + "End Line": 3151 }, { - "Function Name": "get_f64", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "xmov_lr", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 559, - "End Line": 562 + "Start Line": 3153, + "End Line": 3157 }, { - "Function Name": "get_u128", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fcopysign32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 637, - "End Line": 640 + "Start Line": 3458, + "End Line": 3463 }, { - "Function Name": "get_i8x16", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fcopysign64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 646, - "End Line": 649 + "Start Line": 3465, + "End Line": 3470 }, { - "Function Name": "get_u8x16", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fadd32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 655, - "End Line": 658 + "Start Line": 3472, + "End Line": 3477 }, { - "Function Name": "get_i16x8", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fsub32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 664, - "End Line": 667 + "Start Line": 3479, + "End Line": 3484 }, { - "Function Name": "get_u16x8", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fmul32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 673, - "End Line": 676 + "Start Line": 3497, + "End Line": 3502 }, { - "Function Name": "get_i32x4", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fdiv32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 682, - "End Line": 685 + "Start Line": 3515, + "End Line": 3520 }, { - "Function Name": "get_u32x4", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fmaximum32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 691, - "End Line": 694 + "Start Line": 3550, + "End Line": 3555 }, { - "Function Name": "get_i64x2", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fminimum32", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 700, - "End Line": 703 + "Start Line": 3557, + "End Line": 3562 }, { - "Function Name": "get_u64x2", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fadd64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 709, - "End Line": 712 + "Start Line": 3718, + "End Line": 3723 }, { - "Function Name": "get_f64x2", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fsub64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 718, - "End Line": 721 + "Start Line": 3725, + "End Line": 3730 }, { - "Function Name": "get_f32x4", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fmul64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 727, - "End Line": 730 + "Start Line": 3732, + "End Line": 3737 }, { - "Function Name": "top", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fdiv64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 790, - "End Line": 793 + "Start Line": 3739, + "End Line": 3744 }, { - "Function Name": "base", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "fmaximum64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 799, - "End Line": 801 + "Start Line": 3746, + "End Line": 3751 }, { - "Function Name": "len", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, + "Function Name": "fminimum64", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 804, - "End Line": 806 + "Start Line": 3753, + "End Line": 3758 }, { - "Function Name": "debug_assert_done_reason_none", - "Structural Impact": 1.6, + "Function Name": "set_fp", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 960, - "End Line": 962 + "Start Line": 208, + "End Line": 210 }, { - "Function Name": "done_trap", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "set_lr", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 977, - "End Line": 980 + "Start Line": 213, + "End Line": 215 }, { - "Function Name": "current_pc", - "Structural Impact": 1.6, + "Function Name": "eq", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1041, - "End Line": 1043 + "Start Line": 339, + "End Line": 341 }, { - "Function Name": "record_executing_pc_for_profiling", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "fmt", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1173, - "End Line": 1176 + "Start Line": 355, + "End Line": 357 }, { - "Function Name": "bytecode", - "Structural Impact": 1.6, + "Function Name": "set_i32", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1337, - "End Line": 1339 + "Start Line": 486, + "End Line": 488 }, { - "Function Name": "nop", - "Structural Impact": 1.6, + "Function Name": "set_u32", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1341, - "End Line": 1343 + "Start Line": 490, + "End Line": 492 }, { - "Function Name": "trap", - "Structural Impact": 1.6, + "Function Name": "set_i64", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2829, - "End Line": 2831 + "Start Line": 494, + "End Line": 496 }, { - "Function Name": "new", - "Structural Impact": 1.1, + "Function Name": "set_u64", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 35, - "End Line": 37 + "Start Line": 498, + "End Line": 500 }, { - "Function Name": "default", - "Structural Impact": 1.1, + "Function Name": "set_ptr", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 424, - "End Line": 426 + "Start Line": 502, + "End Line": 504 }, { - "Function Name": "default", - "Structural Impact": 1.1, + "Function Name": "fmt", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 535, - "End Line": 537 + "Start Line": 521, + "End Line": 523 }, { - "Function Name": "default", - "Structural Impact": 1.1, + "Function Name": "set_f32", + "Structural Impact": 1.9, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 623, - "End Line": 625 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 411, - "Sequential Logic Declarations": 1748, - "Function Parameters": 738, - "Function/Method Declarations": 649, - "Class/Entity Declarations": 18, - "Defensive Programming Constructs": 93, - "Type/Safety Bypasses": 26, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 54, - "State Mutations / Variable Reassignments": 1277, - "Commented-out Code (Dead Logic)": 2, - "Structured Documentation Blocks": 227, - "Unit Test Assertions": 15, - "Asynchronous/Concurrent Execution": 12, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 1, - "Global State Dependencies": 0, - "Decorators and Annotations": 258, - "Generic Type Abstractions": 838, - "Collection Iterators / Comprehensions": 206, - "Scientific & Mathematical Operations": 57, - "Metaprogramming & Reflection": 2, - "Module Dependencies (Imports)": 20, - "Authorship Metadata": 0, - "Planned Work (TODOs)": 6, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 2, - "Pointer Arithmetic & Addressing": 621, - "Manual Memory Allocation": 3, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 92, - "Fatal Aborts & Exceptions": 1, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 22, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 4, - "Resource Deallocation & Cleanup": 1, - "Private / Encapsulated Scopes": 54, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 4482, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 859, - "Design Camel Case": 0, - "Design Snake Case": 839, - "Design Pascal Case": 20, - "Design Upper Case": 0, - "Design Short Vars": 608, - "Design Long Vars": 0, - "Duplicate Logic": 3, - "Orphaned Logic": 521, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 25, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "ExecutingPcRef", - "IndexMut", - "Interpreter", - "MachineState", - "TrapKind", - "alloc::string::ToString", - "core::fmt", - "core::mem", - "core::ops::ControlFlow", - "core::ops::Index", - "core::ptr::NonNull", - "crate::decode::*", - "crate::encode::Encode", - "crate::imms::*", - "crate::profile::ExecutingPc", - "crate::regs::*", - "done::Done", - "done::DoneReason", - "f32_cvt_to_int_bounds", - "f64_cvt_to_int_bounds", - "pulley_macros::interp_disable_if_cfg", - "super::Encode", - "wasmtime_core::alloc::TryVec", - "wasmtime_core::error::OutOfMemory", - "wasmtime_core::math::WasmFloat" - ] - } - } - }, - "cpp/mlir": { - "Directory Group Magnitude": 4633.54, - "File Count": 6, - "Ecosystem Fingerprint (Archetypes)": { - "Unclassified": "100.0%" - }, - "Average Risk Exposures": { - "Cognitive Load Exposure": "44.93%", - "Error & Exception Exposure": "63.81%", - "Tech Debt Exposure": "65.7%", - "Testing Exposure": "40.98%", - "API Exposure": "0.27%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "55.73%", - "Commented Logic Exposure": "0.87%", - "Specification Exposure": "91.11%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "12.44%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "Files": { - "cpp/mlir/flatbuffer_export.cc": { - "1. Artifact Identity": { - "Filename": "flatbuffer_export.cc", - "Path": "cpp/mlir/flatbuffer_export.cc", - "Language": "Cpp", - "Architect": "2022 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6426.43, - "Y": 61.77, - "Z": 2662.16 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 4731, - "Coding LOC": 3850, - "Documentation LOC": 414, - "Structural Magnitude": 4089.6, - "Control Flow Ratio": "44.0%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.266 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "88.72%", - "Error & Exception Exposure": "95.0%", - "Tech Debt Exposure": "42.11%", - "Testing Exposure": "80.0%", - "API Exposure": "1.64%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "5.19%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "Translator::BuildOperator", - "Structural Impact": 280.3, - "Lines of Code (LOC)": 776, - "Control Flow Branches": 107, - "Input Parameters": 4, - "Control Flow Ratio": "36.1%", - "Start Line": 2582, - "End Line": 3357 - }, - { - "Function Name": "Translator::BuildSubGraph", - "Structural Impact": 117.8, - "Lines of Code (LOC)": 235, - "Control Flow Branches": 52, - "Input Parameters": 3, - "Control Flow Ratio": "60.5%", - "Start Line": 3432, - "End Line": 3666 - }, - { - "Function Name": "Translator::BuildTensor", - "Structural Impact": 95.2, - "Lines of Code (LOC)": 141, - "Control Flow Branches": 35, - "Input Parameters": 5, - "Control Flow Ratio": "61.4%", - "Start Line": 1422, - "End Line": 1562 - }, - { - "Function Name": "GetTFLiteType", - "Structural Impact": 92.5, - "Lines of Code (LOC)": 84, - "Control Flow Branches": 50, "Input Parameters": 2, - "Control Flow Ratio": "60.2%", - "Start Line": 187, - "End Line": 270 - }, - { - "Function Name": "Translator::BuildBuffer", - "Structural Impact": 62.3, - "Lines of Code (LOC)": 206, - "Control Flow Branches": 51, - "Input Parameters": 0, - "Control Flow Ratio": "54.8%", - "Start Line": 1106, - "End Line": 1311 - }, - { - "Function Name": "Translator::TranslateInternal", - "Structural Impact": 54.0, - "Lines of Code (LOC)": 241, - "Control Flow Branches": 41, - "Input Parameters": 0, - "Control Flow Ratio": "59.4%", - "Start Line": 4188, - "End Line": 4428 - }, - { - "Function Name": "BuildSignaturedef", - "Structural Impact": 35.3, - "Lines of Code (LOC)": 79, - "Control Flow Branches": 13, - "Input Parameters": 4, - "Control Flow Ratio": "50.0%", - "Start Line": 3988, - "End Line": 4066 - }, - { - "Function Name": "Translator::BuildVhloCompositeV1Op", - "Structural Impact": 34.6, - "Lines of Code (LOC)": 132, - "Control Flow Branches": 27, - "Input Parameters": 0, - "Control Flow Ratio": "60.0%", - "Start Line": 2020, - "End Line": 2151 + "Control Flow Ratio": "0.0%", + "Start Line": 564, + "End Line": 566 }, { - "Function Name": "CreateFlexbufferVector", - "Structural Impact": 32.0, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 14, - "Input Parameters": 3, - "Control Flow Ratio": "82.4%", - "Start Line": 1901, - "End Line": 1940 + "Function Name": "set_f64", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 568, + "End Line": 570 }, { - "Function Name": "Translator::CreateFlexBuilderWithNodeAttrs", - "Structural Impact": 31.5, - "Lines of Code (LOC)": 70, - "Control Flow Branches": 27, - "Input Parameters": 0, - "Control Flow Ratio": "77.1%", - "Start Line": 1810, - "End Line": 1879 + "Function Name": "fmt", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 589, + "End Line": 591 }, { - "Function Name": "IsValidTFLiteMlirModule", - "Structural Impact": 30.4, - "Lines of Code (LOC)": 71, - "Control Flow Branches": 18, - "Input Parameters": 1, - "Control Flow Ratio": "43.9%", - "Start Line": 418, - "End Line": 488 + "Function Name": "set_u128", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 642, + "End Line": 644 }, { - "Function Name": "GetOpDescriptionForDebug", - "Structural Impact": 22.2, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 13, - "Input Parameters": 1, - "Control Flow Ratio": "81.2%", - "Start Line": 309, - "End Line": 356 + "Function Name": "set_i8x16", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 651, + "End Line": 653 }, { - "Function Name": "Translator::BuildSparsityParameters", - "Structural Impact": 21.9, - "Lines of Code (LOC)": 97, - "Control Flow Branches": 16, - "Input Parameters": 0, - "Control Flow Ratio": "72.7%", - "Start Line": 4550, - "End Line": 4646 + "Function Name": "set_u8x16", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 660, + "End Line": 662 }, { - "Function Name": "Translator::Translate", - "Structural Impact": 20.4, - "Lines of Code (LOC)": 49, - "Control Flow Branches": 8, - "Input Parameters": 3, - "Control Flow Ratio": "38.1%", - "Start Line": 4138, - "End Line": 4186 + "Function Name": "set_i16x8", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 669, + "End Line": 671 }, { - "Function Name": "CreateLocation", - "Structural Impact": 19.6, - "Lines of Code (LOC)": 92, - "Control Flow Branches": 14, - "Input Parameters": 0, - "Control Flow Ratio": "48.3%", - "Start Line": 3687, - "End Line": 3778 + "Function Name": "set_u16x8", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 678, + "End Line": 680 }, { - "Function Name": "Translator::InitializeNamesFromAttribute", - "Structural Impact": 15.7, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 7, + "Function Name": "set_i32x4", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "41.2%", - "Start Line": 3359, - "End Line": 3394 + "Control Flow Ratio": "0.0%", + "Start Line": 687, + "End Line": 689 }, { - "Function Name": "Translator::CreateMetadataVector", - "Structural Impact": 14.2, - "Lines of Code (LOC)": 63, - "Control Flow Branches": 10, - "Input Parameters": 0, - "Control Flow Ratio": "58.8%", - "Start Line": 3887, - "End Line": 3949 + "Function Name": "set_u32x4", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 696, + "End Line": 698 }, { - "Function Name": "Translator::AppendBufferData", - "Structural Impact": 13.4, - "Lines of Code (LOC)": 69, - "Control Flow Branches": 9, - "Input Parameters": 0, - "Control Flow Ratio": "39.1%", - "Start Line": 4430, - "End Line": 4498 + "Function Name": "set_i64x2", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 705, + "End Line": 707 }, { - "Function Name": "Translator::UpdateBufferOffsets", - "Structural Impact": 13.4, - "Lines of Code (LOC)": 49, - "Control Flow Branches": 10, - "Input Parameters": 0, - "Control Flow Ratio": "45.5%", - "Start Line": 4500, - "End Line": 4548 + "Function Name": "set_u64x2", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 714, + "End Line": 716 }, { - "Function Name": "Translator::BuildIfOperator", - "Structural Impact": 12.7, - "Lines of Code (LOC)": 53, - "Control Flow Branches": 9, - "Input Parameters": 0, - "Control Flow Ratio": "28.1%", - "Start Line": 1648, - "End Line": 1700 + "Function Name": "set_f64x2", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 723, + "End Line": 725 }, { - "Function Name": "UpdateEntryFunction", - "Structural Impact": 12.5, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "43.8%", - "Start Line": 4110, - "End Line": 4133 + "Function Name": "set_f32x4", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 732, + "End Line": 734 }, { - "Function Name": "GetStringsFromDictionaryAttr", - "Structural Impact": 12.1, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 10, - "Input Parameters": 0, - "Control Flow Ratio": "62.5%", - "Start Line": 3965, - "End Line": 3986 + "Function Name": "index", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 858, + "End Line": 860 }, { - "Function Name": "Translator::BuildCustomOperator", - "Structural Impact": 11.6, - "Lines of Code (LOC)": 53, - "Control Flow Branches": 3, - "Input Parameters": 4, - "Control Flow Ratio": "33.3%", - "Start Line": 1733, - "End Line": 1785 + "Function Name": "index_mut", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 864, + "End Line": 866 }, { - "Function Name": "Translator::BuildTensorFromType", - "Structural Impact": 11.4, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 8, - "Input Parameters": 0, - "Control Flow Ratio": "53.3%", - "Start Line": 1373, - "End Line": 1420 + "Function Name": "index", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 872, + "End Line": 874 }, { - "Function Name": "HasValidTFLiteType", - "Structural Impact": 10.0, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 4, + "Function Name": "index_mut", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "28.6%", - "Start Line": 385, - "End Line": 411 + "Control Flow Ratio": "0.0%", + "Start Line": 878, + "End Line": 880 }, { - "Function Name": "Translator::BuildVhloRngBitGeneratorV1Op", - "Structural Impact": 9.7, - "Lines of Code (LOC)": 33, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "77.8%", - "Start Line": 2451, - "End Line": 2483 + "Function Name": "done_decode", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 964, + "End Line": 966 }, { - "Function Name": "Translator::BuildStablehloRngBitGeneratorOp", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 30, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "77.8%", - "Start Line": 2249, - "End Line": 2278 + "Function Name": "load_ne", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1111, + "End Line": 1114 }, { - "Function Name": "Translator::BuildWhileOperator", - "Structural Impact": 8.6, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 6, - "Input Parameters": 0, - "Control Flow Ratio": "30.0%", - "Start Line": 1615, - "End Line": 1646 + "Function Name": "jump", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1428, + "End Line": 1430 }, { - "Function Name": "Translator::BuildVhloCaseOp", - "Structural Impact": 8.2, - "Lines of Code (LOC)": 64, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 2517, - "End Line": 2580 + "Function Name": "xzero", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1676, + "End Line": 1679 }, { - "Function Name": "Translator::ExtractControlEdges", - "Structural Impact": 8.2, - "Lines of Code (LOC)": 45, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 4648, - "End Line": 4692 + "Function Name": "xone", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1681, + "End Line": 1684 }, { - "Function Name": "Translator::GetOpcodeIndex", - "Structural Impact": 7.9, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 3, + "Function Name": "call_indirect_host", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1881, - "End Line": 1899 + "Control Flow Ratio": "0.0%", + "Start Line": 2833, + "End Line": 2835 }, { - "Function Name": "IsTFResourceOp", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "36.4%", - "Start Line": 279, - "End Line": 293 + "Function Name": "addr", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1189, + "End Line": 1190 }, { - "Function Name": "Translator::BuildExternalBuffer", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 37, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "38.5%", - "Start Line": 1068, - "End Line": 1104 + "Function Name": "pop_frame", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2071, + "End Line": 2078 }, { - "Function Name": "CreateOpLocation", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 37, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "45.5%", - "Start Line": 3783, - "End Line": 3819 + "Function Name": "new_i32", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 431, + "End Line": 435 }, { - "Function Name": "Translator::GetQuantizationForQuantStatsOpOutput", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "62.5%", - "Start Line": 3402, - "End Line": 3430 + "Function Name": "new_u32", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 437, + "End Line": 441 }, { - "Function Name": "Translator::SerializeDebugMetadata", - "Structural Impact": 7.2, - "Lines of Code (LOC)": 64, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 3822, - "End Line": 3885 + "Function Name": "new_i64", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 443, + "End Line": 447 }, { - "Function Name": "Translator::BuildTFVariantType", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "44.4%", - "Start Line": 1343, - "End Line": 1371 + "Function Name": "new_u64", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 449, + "End Line": 453 }, { - "Function Name": "GetOpsSummary", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "40.0%", - "Start Line": 360, - "End Line": 383 + "Function Name": "new_ptr", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 455, + "End Line": 459 }, { - "Function Name": "Translator::GetOperatorDebugMetadataIndex", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, + "Function Name": "new_f32", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "37.5%", - "Start Line": 1328, - "End Line": 1341 + "Control Flow Ratio": "0.0%", + "Start Line": 542, + "End Line": 546 }, { - "Function Name": "GetTflitePadding", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "40.0%", - "Start Line": 508, - "End Line": 523 + "Function Name": "new_f64", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 548, + "End Line": 552 }, { - "Function Name": "attribute_buffer_applier_factories_", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "42.9%", - "Start Line": 679, - "End Line": 702 + "Function Name": "new_u128", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 631, + "End Line": 635 }, { - "Function Name": "MlirToFlatBufferTranslateFunction", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 23, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "37.5%", - "Start Line": 4706, - "End Line": 4728 + "Function Name": "done_return_to_host", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1001, + "End Line": 1005 }, { - "Function Name": "Translator::BuildStablehloScatterOp", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 54, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "14.3%", - "Start Line": 2153, - "End Line": 2206 + "Function Name": "pop", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1060, + "End Line": 1065 }, { - "Function Name": "Translator::BuildVhloScatterV1Op", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 52, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "14.3%", - "Start Line": 2350, - "End Line": 2401 + "Function Name": "state", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 48, + "End Line": 50 }, { - "Function Name": "GetTflitePoolParams", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "16.7%", - "Start Line": 529, - "End Line": 546 + "Function Name": "state_mut", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 53, + "End Line": 55 }, { - "Function Name": "Translator::BuildVhloReduceWindowV1Op", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 47, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "10.0%", - "Start Line": 2403, - "End Line": 2449 + "Function Name": "fp", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 198, + "End Line": 200 }, { - "Function Name": "Translator::CreateSignatureDefs", - "Structural Impact": 4.2, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 1, + "Function Name": "lr", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "12.5%", - "Start Line": 4082, - "End Line": 4108 + "Control Flow Ratio": "0.0%", + "Start Line": 203, + "End Line": 205 }, { - "Function Name": "Translator::GetList", - "Structural Impact": 4.1, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 4068, - "End Line": 4080 + "Function Name": "executing_pc", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 223, + "End Line": 226 }, { - "Function Name": "Translator::BuildStablehloReduceWindowOp", - "Structural Impact": 4.0, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "9.1%", - "Start Line": 2208, - "End Line": 2247 + "Function Name": "drop", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 230, + "End Line": 232 }, { - "Function Name": "Translator::EstimateArithmeticCount", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 1048, - "End Line": 1062 + "Control Flow Ratio": "0.0%", + "Start Line": 274, + "End Line": 276 }, { - "Function Name": "Translator::BuildIfOperator", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "16.7%", - "Start Line": 1564, - "End Line": 1587 + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 280, + "End Line": 282 }, { - "Function Name": "Translator::BuildVhloGatherV1Op", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 42, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2307, - "End Line": 2348 + "Start Line": 286, + "End Line": 288 }, { - "Function Name": "IsUnsupportedFlexOp", - "Structural Impact": 3.0, + "Function Name": "from", + "Structural Impact": 1.6, "Lines of Code (LOC)": 3, - "Control Flow Branches": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 296, - "End Line": 298 + "Control Flow Ratio": "0.0%", + "Start Line": 292, + "End Line": 294 }, { - "Function Name": "Translator::BuildStablehloGatherOp", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 39, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1980, - "End Line": 2018 + "Start Line": 298, + "End Line": 300 }, { - "Function Name": "Translator::BuildStablehloOperatorwithoutOptions", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 14, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1942, - "End Line": 1955 + "Start Line": 304, + "End Line": 306 }, { - "Function Name": "GetTensorFlowNodeDef", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 490, - "End Line": 504 + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 310, + "End Line": 312 }, { - "Function Name": "Insert", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 7, + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 5, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 617, - "End Line": 623 + "Start Line": 316, + "End Line": 318 }, { - "Function Name": "Translator::CreateFlexOpCustomOptions", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 1787, - "End Line": 1802 + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 322, + "End Line": 324 }, { - "Function Name": "Translator::UnnamedRegionToSubgraph", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 1313, - "End Line": 1326 + "Function Name": "from", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 329, + "End Line": 331 }, { - "Function Name": "ExportBuffer", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 6, + "Function Name": "get_i32", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 580, - "End Line": 585 + "Start Line": 461, + "End Line": 464 }, { - "Function Name": "Translator::BuildNumericVerifyOperator", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 30, + "Function Name": "get_u32", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1702, - "End Line": 1731 + "Start Line": 466, + "End Line": 469 }, { - "Function Name": "Translator::BuildStablehloPrecisionConfig", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 1957, - "End Line": 1966 + "Function Name": "get_i64", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 471, + "End Line": 474 }, { - "Function Name": "Translator::BuildVhloPrecisionConfigV1", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "25.0%", - "Start Line": 1968, - "End Line": 1978 + "Function Name": "get_u64", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 476, + "End Line": 479 }, { - "Function Name": "Translator::BuildVhloPadV1Op", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 31, + "Function Name": "get_ptr", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2485, - "End Line": 2515 + "Start Line": 481, + "End Line": 484 }, { - "Function Name": "GetStringsFromAttrWithSeparator", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 3953, - "End Line": 3961 + "Function Name": "get_f32", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 554, + "End Line": 557 }, { - "Function Name": "Translator::BuildStablehloPadOp", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 26, + "Function Name": "get_f64", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2280, - "End Line": 2305 + "Start Line": 559, + "End Line": 562 }, { - "Function Name": "Translator::BuildCallOnceOperator", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 25, + "Function Name": "get_u128", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1589, - "End Line": 1613 + "Start Line": 637, + "End Line": 640 }, { - "Function Name": "Translator::IsStatefulOperand", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "33.3%", - "Start Line": 3396, - "End Line": 3400 + "Function Name": "get_i8x16", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 646, + "End Line": 649 }, { - "Function Name": "Translator::BuildMetadata", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 8, + "Function Name": "get_u8x16", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3668, - "End Line": 3675 + "Start Line": 655, + "End Line": 658 }, { - "Function Name": "Insert", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "get_i16x8", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 625, - "End Line": 627 + "Start Line": 664, + "End Line": 667 }, { - "Function Name": "IsConst", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "get_u16x8", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 272, - "End Line": 277 + "Start Line": 673, + "End Line": 676 }, { - "Function Name": "ApplyData", + "Function Name": "get_i32x4", "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 587, - "End Line": 590 + "Start Line": 682, + "End Line": 685 }, { - "Function Name": "GetData", - "Structural Impact": 1.4, - "Lines of Code (LOC)": 9, + "Function Name": "get_u32x4", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 592, - "End Line": 600 + "Start Line": 691, + "End Line": 694 }, { - "Function Name": "IsUnsupportedLocation", - "Structural Impact": 1.2, + "Function Name": "get_i64x2", + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 303, - "End Line": 306 + "Start Line": 700, + "End Line": 703 }, { - "Function Name": "Translator::CreateCustomOpCustomOptions", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 5, + "Function Name": "get_u64x2", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1804, - "End Line": 1808 + "Start Line": 709, + "End Line": 712 }, { - "Function Name": "MlirToFlatBufferTranslateFunction", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 5, + "Function Name": "get_f64x2", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 4698, - "End Line": 4702 + "Start Line": 718, + "End Line": 721 }, { - "Function Name": "hash", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "get_f32x4", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 602, - "End Line": 602 + "Start Line": 727, + "End Line": 730 }, { - "Function Name": "byte_size_hint", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "top", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 603, - "End Line": 603 + "Start Line": 790, + "End Line": 793 }, - { - "Function Name": "buffers", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + { + "Function Name": "base", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 629, - "End Line": 629 + "Start Line": 799, + "End Line": 801 }, { - "Function Name": "Translator::UniqueName", - "Structural Impact": 1.1, + "Function Name": "len", + "Structural Impact": 1.6, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1064, - "End Line": 1066 + "Start Line": 804, + "End Line": 806 }, { - "Function Name": "operator()", - "Structural Impact": 1.1, + "Function Name": "debug_assert_done_reason_none", + "Structural Impact": 1.6, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3679, - "End Line": 3681 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 660, - "Sequential Logic Declarations": 841, - "Function Parameters": 119, - "Function/Method Declarations": 81, - "Class/Entity Declarations": 6, - "Defensive Programming Constructs": 79, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 3, - "State Mutations / Variable Reassignments": 2707, - "Commented-out Code (Dead Logic)": 5, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 25, - "Global State Dependencies": 14, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 5, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 1, - "Module Dependencies (Imports)": 116, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 7, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 290, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 105, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 4, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 228, - "Resource Deallocation & Cleanup": 1, - "Private / Encapsulated Scopes": 3, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 3520, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 1, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 753, - "Design Camel Case": 17, - "Design Snake Case": 730, - "Design Pascal Case": 6, - "Design Upper Case": 0, - "Design Short Vars": 27, - "Design Long Vars": 27, - "Duplicate Logic": 0, - "Orphaned Logic": 52, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 2, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 116, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "absl/algorithm/container.h", - "absl/base/attributes.h", - "absl/container/flat_hash_map.h", - "absl/container/flat_hash_set.h", - "absl/functional/any_invocable.h", - "absl/functional/function_ref.h", - "absl/log/check.h", - "absl/log/log.h", - "absl/status/status.h", - "absl/strings/match.h", - "absl/strings/str_cat.h", - "absl/strings/str_format.h", - "absl/strings/str_join.h", - "absl/strings/string_view.h", - "algorithm", - "cassert", - "cstdint", - "cstdio", - "cstring", - "flatbuffers/buffer.h", - "flatbuffers/flatbuffer_builder.h", - "flatbuffers/flexbuffers.h", - "flatbuffers/vector.h", - "functional", - "iterator", - "limits", - "llvm/ADT/ArrayRef.h", - "llvm/ADT/DenseMap.h", - "llvm/ADT/STLExtras.h", - "llvm/ADT/SmallVector.h", - "llvm/ADT/StringRef.h", - "llvm/ADT/StringSwitch.h", - "llvm/Support/Casting.h", - "llvm/Support/FormatVariadic.h", - "llvm/Support/SwapByteOrder.h", - "llvm/Support/raw_ostream.h", - "map", - "memory", - "mlir/Dialect/Arith/IR/Arith.h", - "mlir/Dialect/Func/IR/FuncOps.h", - "mlir/Dialect/Quant/IR/QuantTypes.h", - "mlir/IR/Attributes.h", - "mlir/IR/Builders.h", - "mlir/IR/BuiltinAttributeInterfaces.h", - "mlir/IR/BuiltinAttributes.h", - "mlir/IR/BuiltinOps.h", - "mlir/IR/BuiltinTypeInterfaces.h", - "mlir/IR/BuiltinTypes.h", - "mlir/IR/Diagnostics.h", - "mlir/IR/DialectResourceBlobManager.h", - "mlir/IR/Location.h", - "mlir/IR/MLIRContext.h", - "mlir/IR/OpDefinition.h", - "mlir/IR/Operation.h", - "mlir/IR/PatternMatch.h", - "mlir/IR/TypeUtilities.h", - "mlir/IR/Types.h", - "mlir/IR/Value.h", - "mlir/IR/Visitors.h", - "mlir/Support/LLVM.h", - "mlir/Support/LogicalResult.h", - "optional", - "set", - "stablehlo/dialect/StablehloOps.h", - "stablehlo/dialect/VhloOps.h", - "stddef.h", - "stdlib.h", - "string", - "tensorflow/compiler/mlir/lite/converter_flags.pb.h", - "tensorflow/compiler/mlir/lite/core/c/builtin_op_data.h", - "tensorflow/compiler/mlir/lite/core/macros.h", - "tensorflow/compiler/mlir/lite/delegates/flex/allowlisted_flex_ops.h", - "tensorflow/compiler/mlir/lite/experimental/remat/metadata_util.h", - "tensorflow/compiler/mlir/lite/flatbuffer_export.h", - "tensorflow/compiler/mlir/lite/flatbuffer_operator.h", - "tensorflow/compiler/mlir/lite/ir/tfl_ops.h", - "tensorflow/compiler/mlir/lite/metrics/converter_error_data.pb.h", - "tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h", - "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.h", - "tensorflow/compiler/mlir/lite/schema/mutable/debug_metadata_generated.h", - "tensorflow/compiler/mlir/lite/schema/mutable/schema_generated.h", - "tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h", - "tensorflow/compiler/mlir/lite/schema/schema_generated.h", - "tensorflow/compiler/mlir/lite/tools/versioning/op_version.h", - "tensorflow/compiler/mlir/lite/tools/versioning/runtime_version.h", - "tensorflow/compiler/mlir/lite/utils/const_tensor_utils.h", - "tensorflow/compiler/mlir/lite/utils/control_edges.h", - "tensorflow/compiler/mlir/lite/utils/convert_type.h", - "tensorflow/compiler/mlir/lite/utils/low_bit_utils.h", - "tensorflow/compiler/mlir/lite/utils/metadata_utils.h", - "tensorflow/compiler/mlir/lite/utils/mlir_module_utils.h", - "tensorflow/compiler/mlir/lite/utils/region_isolation.h", - "tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h", - "tensorflow/compiler/mlir/lite/utils/string_utils.h", - "tensorflow/compiler/mlir/lite/version.h", - "tensorflow/compiler/mlir/op_or_arg_name_mapper.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h", - "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h", - "tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.h", - "tensorflow/compiler/mlir/tensorflow/utils/translate_utils.h", - "tensorflow/core/framework/attr_value.pb.h", - "tensorflow/core/framework/node_def.pb.h", - "tensorflow/core/framework/op.h", - "tensorflow/core/framework/tensor.h", - "tensorflow/core/framework/types.pb.h", - "tensorflow/core/platform/tstring.h", - "tsl/platform/tstring.h", - "type_traits", - "unordered_map", - "unordered_set", - "utility", - "vector" - ] - }, - "cpp/mlir/mlir_bridge_rollout_policy.cc": { - "1. Artifact Identity": { - "Filename": "mlir_bridge_rollout_policy.cc", - "Path": "cpp/mlir/mlir_bridge_rollout_policy.cc", - "Language": "Cpp", - "Architect": "2020 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6671.97, - "Y": -90.97, - "Z": 2955.91 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 51, - "Coding LOC": 27, - "Documentation LOC": 13, - "Structural Magnitude": 10.74, - "Control Flow Ratio": "44.4%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.37 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "17.97%", - "Error & Exception Exposure": "53.5%", - "Tech Debt Exposure": "99.88%", - "Testing Exposure": "2.43%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "0.0%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "GetMlirBridgeRolloutPolicy", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "57.1%", - "Start Line": 27, - "End Line": 43 + "Start Line": 960, + "End Line": 962 }, { - "Function Name": "LogGraphFeatures", - "Structural Impact": 2.4, + "Function Name": "done_trap", + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 45, - "End Line": 48 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 4, - "Sequential Logic Declarations": 5, - "Function Parameters": 1, - "Function/Method Declarations": 2, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 2, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 2, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 0, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 6, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 0, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 4, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 16, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 0, - "Design Camel Case": 0, - "Design Snake Case": 0, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 2, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 6, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "optional", - "tensorflow/compiler/jit/flags.h", - "tensorflow/compiler/mlir/tf2xla/mlir_bridge_rollout_policy.h", - "tensorflow/core/framework/function.h", - "tensorflow/core/graph/graph.h", - "tensorflow/core/protobuf/config.pb.h" - ] - }, - "cpp/mlir/mlir_graph_optimization_pass.cc": { - "1. Artifact Identity": { - "Filename": "mlir_graph_optimization_pass.cc", - "Path": "cpp/mlir/mlir_graph_optimization_pass.cc", - "Language": "Cpp", - "Architect": "2020 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6071.66, - "Y": -25.91, - "Z": 2816.49 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 540, - "Coding LOC": 417, - "Documentation LOC": 57, - "Structural Magnitude": 333.94, - "Control Flow Ratio": "48.7%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.209 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "86.25%", - "Error & Exception Exposure": "84.33%", - "Tech Debt Exposure": "19.45%", - "Testing Exposure": "80.0%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "13.75%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ + "Start Line": 977, + "End Line": 980 + }, { - "Function Name": "MlirFunctionOptimizationPass::Run", - "Structural Impact": 119.5, - "Lines of Code (LOC)": 229, - "Control Flow Branches": 35, - "Input Parameters": 8, - "Control Flow Ratio": "68.6%", - "Start Line": 176, - "End Line": 404 + "Function Name": "current_pc", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1041, + "End Line": 1043 }, { - "Function Name": "MlirV1CompatGraphOptimizationPass::Run", - "Structural Impact": 28.9, - "Lines of Code (LOC)": 126, - "Control Flow Branches": 15, + "Function Name": "record_executing_pc_for_profiling", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "48.4%", - "Start Line": 412, - "End Line": 537 + "Control Flow Ratio": "0.0%", + "Start Line": 1173, + "End Line": 1176 }, { - "Function Name": "DumpModule", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "27.8%", - "Start Line": 117, - "End Line": 157 + "Function Name": "bytecode", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1337, + "End Line": 1339 }, { - "Function Name": "RegisterDialects", + "Function Name": "nop", "Structural Impact": 1.6, - "Lines of Code (LOC)": 11, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 164, - "End Line": 174 + "Start Line": 1341, + "End Line": 1343 }, { - "Function Name": "MlirOptimizationPassRegistry::Global", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 4, + "Function Name": "trap", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 159, - "End Line": 162 + "Start Line": 2829, + "End Line": 2831 }, { - "Function Name": "MlirV1CompatOptimizationPassRegistry::Global", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 5, + "Function Name": "new", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 406, - "End Line": 410 + "Start Line": 35, + "End Line": 37 }, { - "Function Name": "StringRefToView", + "Function Name": "default", "Structural Impact": 1.1, "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 110, - "End Line": 112 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 55, - "Sequential Logic Declarations": 58, - "Function Parameters": 17, - "Function/Method Declarations": 7, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 2, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 164, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 6, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 44, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 94, - "Manual Memory Allocation": 2, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 1, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 10, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 349, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 42, - "Design Camel Case": 1, - "Design Snake Case": 41, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 6, - "Duplicate Logic": 0, - "Orphaned Logic": 4, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 44, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "absl/container/flat_hash_set.h", - "absl/log/log.h", - "absl/status/status.h", - "absl/strings/string_view.h", - "llvm/ADT/StringRef.h", - "llvm/Support/FormatVariadic.h", - "llvm/Support/raw_ostream.h", - "memory", - "mlir/Dialect/Arith/IR/Arith.h", - "mlir/Dialect/Func/Extensions/AllExtensions.h", - "mlir/Dialect/Func/IR/FuncOps.h", - "mlir/Dialect/Shape/IR/Shape.h", - "mlir/IR/BuiltinOps.h", - "mlir/IR/MLIRContext.h", - "mlir/IR/OperationSupport.h", - "mlir/IR/OwningOpRef.h", - "string", - "tensorflow/compiler/mlir/mlir_graph_optimization_pass.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h", - "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h", - "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h", - "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h", - "tensorflow/compiler/mlir/tensorflow/utils/device_util.h", - "tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h", - "tensorflow/compiler/mlir/tf2xla/api/v2/graph_to_tf_executor.h", - "tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h", - "tensorflow/core/common_runtime/device_set.h", - "tensorflow/core/common_runtime/function_optimization_registry.h", - "tensorflow/core/common_runtime/optimization_registry.h", - "tensorflow/core/framework/graph_debug_info.pb.h", - "tensorflow/core/framework/metrics.h", - "tensorflow/core/graph/graph.h", - "tensorflow/core/lib/monitoring/counter.h", - "tensorflow/core/platform/env.h", - "tensorflow/core/platform/errors.h", - "tensorflow/core/platform/file_system.h", - "tensorflow/core/platform/status.h", - "tensorflow/core/protobuf/config.pb.h", - "tensorflow/core/public/session_options.h", - "tensorflow/core/util/debug_data_dumper.h", - "utility", - "vector", - "xla/tsl/platform/errors.h" - ] - }, - "cpp/mlir/stablehlo.cc": { - "1. Artifact Identity": { - "Filename": "stablehlo.cc", - "Path": "cpp/mlir/stablehlo.cc", - "Language": "Cpp", - "Architect": "2023 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Neutral / No Indentation", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6867.63, - "Y": 108.15, - "Z": 2504.68 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 26, - "Coding LOC": 7, - "Documentation LOC": 11, - "Structural Magnitude": 1.24, - "Control Flow Ratio": "0.0%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.286 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "5.0%", - "Error & Exception Exposure": "0.0%", - "Tech Debt Exposure": "100.0%", - "Testing Exposure": "1.11%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "0.0%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "46.67%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "6.51%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ + "Start Line": 424, + "End Line": 426 + }, { - "Function Name": "NB_MODULE", + "Function Name": "default", "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 22, - "End Line": 22 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 0, - "Sequential Logic Declarations": 2, - "Function Parameters": 0, - "Function/Method Declarations": 1, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 0, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 0, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 0, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 2, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 0, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 0, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 0, - "Design Camel Case": 0, - "Design Snake Case": 0, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 1, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 2, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "nanobind/nanobind.h", - "stablehlo/integrations/python/StablehloApi.h" - ] - }, - "cpp/mlir/tf_mlir_opt_main.cc": { - "1. Artifact Identity": { - "Filename": "tf_mlir_opt_main.cc", - "Path": "cpp/mlir/tf_mlir_opt_main.cc", - "Language": "Cpp", - "Architect": "2019 Google Inc. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 5901.47, - "Y": 73.35, - "Z": 2437.07 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 72, - "Coding LOC": 49, - "Documentation LOC": 12, - "Structural Magnitude": 6.38, - "Control Flow Ratio": "0.0%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.122 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "7.51%", - "Error & Exception Exposure": "59.66%", - "Tech Debt Exposure": "63.67%", - "Testing Exposure": "2.34%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "34.36%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "12.24%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ + "Start Line": 535, + "End Line": 537 + }, { - "Function Name": "main", - "Structural Impact": 3.4, - "Lines of Code (LOC)": 34, + "Function Name": "default", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 38, - "End Line": 71 + "Start Line": 623, + "End Line": 625 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 0, - "Sequential Logic Declarations": 1, - "Function Parameters": 1, - "Function/Method Declarations": 1, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 0, - "Type/Safety Bypasses": 0, + "Control Flow Branches": 411, + "Sequential Logic Declarations": 1748, + "Function Parameters": 738, + "Function/Method Declarations": 649, + "Class/Entity Declarations": 18, + "Defensive Programming Constructs": 93, + "Type/Safety Bypasses": 26, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 2, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, + "Exposed API / Public Exports": 54, + "State Mutations / Variable Reassignments": 1277, + "Commented-out Code (Dead Logic)": 2, + "Structured Documentation Blocks": 227, + "Unit Test Assertions": 15, + "Asynchronous/Concurrent Execution": 12, "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 0, + "Closures and Anonymous Functions": 1, "Global State Dependencies": 0, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 21, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, + "Decorators and Annotations": 258, + "Generic Type Abstractions": 838, + "Collection Iterators / Comprehensions": 206, + "Scientific & Mathematical Operations": 57, + "Metaprogramming & Reflection": 2, + "Module Dependencies (Imports)": 20, + "Authorship Metadata": 0, + "Planned Work (TODOs)": 6, "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 2, - "Manual Memory Allocation": 0, + "Preprocessor Macros": 2, + "Pointer Arithmetic & Addressing": 621, + "Manual Memory Allocation": 3, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, + "Explicit Type Casts": 92, + "Fatal Aborts & Exceptions": 1, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, + "Bitwise Operations": 22, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 2, + "Immutable Data Declarations": 4, + "Resource Deallocation & Cleanup": 1, + "Private / Encapsulated Scopes": 54, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, "Structural Tab Indentations": 0, - "Structural Space Indentations": 26, + "Structural Space Indentations": 4482, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -261751,15 +262039,15 @@ "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 0, + "Core Var Decl": 859, "Design Camel Case": 0, - "Design Snake Case": 0, - "Design Pascal Case": 0, + "Design Snake Case": 839, + "Design Pascal Case": 20, "Design Upper Case": 0, - "Design Short Vars": 0, + "Design Short Vars": 608, "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 1, + "Duplicate Logic": 3, + "Orphaned Logic": 521, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -261783,245 +262071,37 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 21, + "Direct Upstream (Fragility)": 25, "Direct Downstream (Dependency Blast Radius)": 0, "Total Upstream (Absolute Fragility)": 0, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "mlir/InitAllPasses.h", - "mlir/Support/LogicalResult.h", - "mlir/Tools/mlir-opt/MlirOptMain.h", - "mlir/Transforms/Passes.h", - "tensorflow//compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h", - "tensorflow/compiler/mlir/init_mlir.h", - "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h", - "tensorflow/compiler/mlir/register_common_dialects.h", - "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.h", - "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h", - "tensorflow/compiler/mlir/tensorflow/transforms/passes.h", - "tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h", - "tensorflow/compiler/mlir/tensorflow/transforms/test_passes.h", - "tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.h", - "tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.h", - "tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h", - "tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h", - "tensorflow/compiler/mlir/tf2xla/internal/passes/mlir_to_graph_passes.h", - "tensorflow/compiler/mlir/tf2xla/transforms/passes.h", - "xla/mlir/framework/transforms/passes.h", - "xla/mlir_hlo/mhlo/transforms/passes.h" - ] - }, - "cpp/mlir/tf_tfl_translate.cc": { - "1. Artifact Identity": { - "Filename": "tf_tfl_translate.cc", - "Path": "cpp/mlir/tf_tfl_translate.cc", - "Language": "Cpp", - "Architect": "2019 The TensorFlow Authors. All Rights Reserved", - "Indentation Style": "Spaces", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "cpp", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Ext: .cc)" - }, - "2. Topological Coordinates": { - "X": 6440.42, - "Y": 102.3, - "Z": 2154.19 - }, - "3. Architectural Profile": { - "Repository Archetype": "Unclassified", - "Repository Drift (Z-Score)": 0.0, - "Repository Fingerprint": {}, - "File Archetype": "Unclassified", - "File Drift (Z-Score)": 0.0, - "File Fingerprint": {}, - "Total LOC": 293, - "Coding LOC": 227, - "Documentation LOC": 34, - "Structural Magnitude": 191.64, - "Control Flow Ratio": "51.7%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.895 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "64.14%", - "Error & Exception Exposure": "90.34%", - "Tech Debt Exposure": "69.08%", - "Testing Exposure": "80.0%", - "API Exposure": "0.0%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "18.3%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "main", - "Structural Impact": 66.1, - "Lines of Code (LOC)": 214, - "Control Flow Branches": 31, - "Input Parameters": 2, - "Control Flow Ratio": "55.4%", - "Start Line": 79, - "End Line": 292 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 31, - "Sequential Logic Declarations": 29, - "Function Parameters": 3, - "Function/Method Declarations": 1, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 1, - "Type/Safety Bypasses": 0, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 0, - "State Mutations / Variable Reassignments": 121, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 1, - "Global State Dependencies": 1, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 43, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 4, - "Acknowledged Tech Debt (FIXMEs)": 1, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 1, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 14, - "Manual Memory Allocation": 0, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 0, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 176, - "Hardware Bridge": 0, - "Cryptography": 0, - "Auth Middleware": 0, - "Ipc Rpc Bridges": 0, - "Feature Flags": 0, - "Serialization Parsing": 0, - "Regex Execution": 0, - "Time Date Logic": 0, - "Cloud LLM API Integrations": 0, - "AI Orchestration Frameworks": 0, - "Vector Databases (RAG)": 0, - "Local Inference & Tensor Math": 0, - "Traditional Machine Learning (Stats/Trees)": 0, - "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 16, - "Design Camel Case": 0, - "Design Snake Case": 16, - "Design Pascal Case": 0, - "Design Upper Case": 0, - "Design Short Vars": 0, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 1, - "Instructional Code Examples": 0, - "Architectural Diagrams (Mermaid/PlantUML)": 0, - "Structured Literature Headers": 0, - "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, - "Safety & Constraint Bypasses": 0, - "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, - "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, - "Low-Level Bitwise / Cryptographic Math": 0, - "Non-Standard / Steganographic Imports": 0, - "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, - "Sec Extension Mismatch": 0, - "Sec Entropy": 0, - "Sec Tainted Injection": 0, - "Prompt Injection": 0, - "Agentic Rce": 0, - "Invisible Unicode Payload Smuggling": 0, - "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 - }, - "8. Dependency Network": { - "Direct Upstream (Fragility)": 43, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "absl/status/statusor.h", - "absl/strings/str_split.h", - "absl/types/span.h", - "llvm/ADT/STLExtras.h", - "llvm/ADT/SmallVector.h", - "llvm/ADT/StringExtras.h", - "llvm/ADT/StringRef.h", - "llvm/Support/CommandLine.h", - "llvm/Support/SourceMgr.h", - "llvm/Support/ToolOutputFile.h", - "llvm/Support/raw_ostream.h", - "memory", - "mlir/Dialect/Func/Extensions/AllExtensions.h", - "mlir/Dialect/Func/IR/FuncOps.h", - "mlir/IR/AsmState.h", - "mlir/IR/BuiltinOps.h", - "mlir/IR/Diagnostics.h", - "mlir/IR/DialectRegistry.h", - "mlir/IR/MLIRContext.h", - "mlir/Parser/Parser.h", - "mlir/Pass/PassManager.h", - "mlir/Support/FileUtilities.h", - "stablehlo/dialect/ChloOps.h", - "stablehlo/dialect/StablehloOps.h", - "string", - "tensorflow/compiler/mlir/init_mlir.h", - "tensorflow/compiler/mlir/lite/common/tfl_pass_config.h", - "tensorflow/compiler/mlir/lite/converter_flags.pb.h", - "tensorflow/compiler/mlir/lite/flatbuffer_export_flags.h", - "tensorflow/compiler/mlir/lite/ir/tfl_ops.h", - "tensorflow/compiler/mlir/lite/quantization/common/quantization_lib/quantization_config.h", - "tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.h", - "tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h", - "tensorflow/compiler/mlir/lite/transforms/passes.h", - "tensorflow/compiler/mlir/tensorflow/dialect_registration.h", - "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h", - "tensorflow/core/framework/types.pb.h", - "tensorflow/core/platform/errors.h", - "unordered_set", - "utility", - "vector", - "xla/hlo/translate/hlo_to_mhlo/translate.h", - "xla/mlir_hlo/mhlo/IR/hlo_ops.h" + "ExecutingPcRef", + "IndexMut", + "Interpreter", + "MachineState", + "TrapKind", + "alloc::string::ToString", + "core::fmt", + "core::mem", + "core::ops::ControlFlow", + "core::ops::Index", + "core::ptr::NonNull", + "crate::decode::*", + "crate::encode::Encode", + "crate::imms::*", + "crate::profile::ExecutingPc", + "crate::regs::*", + "done::Done", + "done::DoneReason", + "f32_cvt_to_int_bounds", + "f64_cvt_to_int_bounds", + "pulley_macros::interp_disable_if_cfg", + "super::Encode", + "wasmtime_core::alloc::TryVec", + "wasmtime_core::error::OutOfMemory", + "wasmtime_core::math::WasmFloat" ] } } @@ -331683,7 +331763,7 @@ } }, "cpp/powertoys": { - "Directory Group Magnitude": 2037.8, + "Directory Group Magnitude": 2061.0, "File Count": 7, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -332370,9 +332450,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": 240.24, - "Y": -77.75, - "Z": -4202.11 + "X": 239.92, + "Y": -77.74, + "Z": -4202.17 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -332384,7 +332464,7 @@ "Total LOC": 55, "Coding LOC": 45, "Documentation LOC": 0, - "Structural Magnitude": 28.3, + "Structural Magnitude": 29.3, "Control Flow Ratio": "50.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -332396,7 +332476,7 @@ "Cognitive Load Exposure": "68.76%", "Error & Exception Exposure": "75.17%", "Tech Debt Exposure": "69.71%", - "Testing Exposure": "2.49%", + "Testing Exposure": "2.51%", "API Exposure": "0.0%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "99.96%", @@ -332420,10 +332500,10 @@ }, { "Function Name": "DllGetClassObject", - "Structural Impact": 1.2, + "Structural Impact": 2.2, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", "Start Line": 11, "End Line": 14 @@ -332573,9 +332653,9 @@ "Identity Proof": "Single Indicator (Ext: .cpp)" }, "2. Topological Coordinates": { - "X": 807.59, - "Y": 13.48, - "Z": -4668.4 + "X": 807.66, + "Y": 13.64, + "Z": -4669.19 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -332587,7 +332667,7 @@ "Total LOC": 277, "Coding LOC": 235, "Documentation LOC": 15, - "Structural Magnitude": 294.7, + "Structural Magnitude": 315.7, "Control Flow Ratio": "58.2%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -332613,10 +332693,10 @@ "5. Function Analysis": [ { "Function Name": "KeyboardHookProc", - "Structural Impact": 26.4, + "Structural Impact": 47.4, "Lines of Code (LOC)": 107, "Control Flow Branches": 20, - "Input Parameters": 0, + "Input Parameters": 3, "Control Flow Ratio": "64.5%", "Start Line": 82, "End Line": 188 @@ -333354,9 +333434,9 @@ "Identity Proof": "Ecosystem Consensus Lock (81% Local Dominance)" }, "2. Topological Coordinates": { - "X": 677.21, - "Y": -222.23, - "Z": -3407.75 + "X": 677.05, + "Y": -222.35, + "Z": -3407.18 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -333368,7 +333448,7 @@ "Total LOC": 63, "Coding LOC": 49, "Documentation LOC": 0, - "Structural Magnitude": 16.98, + "Structural Magnitude": 18.18, "Control Flow Ratio": "7.7%", "Popularity Rank": 1, "Raw Churn Frequency": 0.0, @@ -333380,7 +333460,7 @@ "Cognitive Load Exposure": "15.0%", "Error & Exception Exposure": "57.23%", "Tech Debt Exposure": "0.0%", - "Testing Exposure": "2.37%", + "Testing Exposure": "2.38%", "API Exposure": "7.18%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "54.21%", @@ -333394,20 +333474,20 @@ "5. Function Analysis": [ { "Function Name": "operator()", - "Structural Impact": 2.4, + "Structural Impact": 3.2, "Lines of Code (LOC)": 7, "Control Flow Branches": 1, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", "Start Line": 14, "End Line": 20 }, { "Function Name": "operator()", - "Structural Impact": 1.2, + "Structural Impact": 1.6, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", "Start Line": 26, "End Line": 29 @@ -425552,9 +425632,9 @@ "Identity Proof": "Single Indicator (Ext: .proto)" }, "2. Topological Coordinates": { - "X": 6613.9, + "X": 6616.54, "Y": -160.84, - "Z": 3711.34 + "Z": 3712.65 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -425709,9 +425789,9 @@ "Identity Proof": "Single Indicator (Ext: .proto)" }, "2. Topological Coordinates": { - "X": 6836.72, + "X": 6839.36, "Y": -103.73, - "Z": 2977.8 + "Z": 2979.11 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -425866,9 +425946,9 @@ "Identity Proof": "Single Indicator (Ext: .proto)" }, "2. Topological Coordinates": { - "X": 6815.61, + "X": 6818.25, "Y": -123.93, - "Z": 3244.2 + "Z": 3245.52 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -432434,9 +432514,9 @@ "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": 7205.06, + "X": 7207.46, "Y": 164.39, - "Z": 2505.78 + "Z": 2506.67 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", diff --git a/tests/tree_sitter_accuracy_baseline_cpp.json b/tests/tree_sitter_accuracy_baseline_cpp.json index 7eb0ea34d..1e0514b94 100644 --- a/tests/tree_sitter_accuracy_baseline_cpp.json +++ b/tests/tree_sitter_accuracy_baseline_cpp.json @@ -1,12 +1,12 @@ { - "args_comparable": 1296, - "args_exact_match": 1233, + "args_comparable": 1297, + "args_exact_match": 1295, "corpus_path": "language-crucible/data/cpp", "extra_classes": 0, - "extra_functions": 69, + "extra_functions": 68, "files_scanned": 29, "found_classes": 65, - "found_functions": 1296, + "found_functions": 1297, "real_classes": 65, "real_functions": 1491 }