From b29b2d307dd3ddd51678eef97aade51cd97ebd65 Mon Sep 17 00:00:00 2001 From: Joe Esquibel Date: Sun, 16 Aug 2026 23:04:59 -0400 Subject: [PATCH 1/2] fix(c): improve func_start regex for macros and update audit baseline (#1754) --- gitgalaxy/standards/language_standards.py | 7 +++++-- tests/extraction/languages/test_c.py | 6 ++++++ tests/tools/tree_sitter_accuracy_audit.py | 22 ++++++++++++++++++++++ tests/tree_sitter_accuracy_baseline_c.json | 8 ++++---- why_we_are_better_than_tree_sitter.md | 8 ++++++++ 5 files changed, 45 insertions(+), 6 deletions(-) diff --git a/gitgalaxy/standards/language_standards.py b/gitgalaxy/standards/language_standards.py index 43bcc56a8..b67c53bf7 100644 --- a/gitgalaxy/standards/language_standards.py +++ b/gitgalaxy/standards/language_standards.py @@ -35,7 +35,7 @@ | Language | Func Recall | Func Precision | Class Recall | Class Precision | | -------- | ----------- | -------------- | ------------ | --------------- | | Apex | 100.0% | 95.0% | 100.0% | 100.0% | -| C | 93.3% | 99.5% | 100.0% | 100.0% | +| C | 99.7% | 99.5% | 100.0% | 100.0% | | Cpp | 93.4% | 95.7% | 98.6% | 92.6% | | Csharp | 99.2% | 99.8% | 100.0% | 100.0% | | Css | 100.0% | 100.0% | N/A | N/A | @@ -3408,12 +3408,15 @@ class PrismConfigSchema(TypedDict): r"(?:(?:struct|union|enum)\s+)?" # 4. Return type (Strictly linear) r"(?:[a-zA-Z_]\w+\s+){0,3}[a-zA-Z_]\w*(?:\s*[*&]+\s*|\s+)" + # [ MACRO SHIELD ]: Support macros between return type and function name (e.g. PyAPI_FUNC(int) or _Py_HOT_FUNCTION) + r"(?:[a-zA-Z_]\w+(?:\s*\([^)]*\))?\s+){0,5}" # 5. The "Not a Function" Shield r"(?!(?:if|for|while|switch|return|sizeof)\b)" # 6. The Identifier Capture (Satellite Name - Group 1) r"([a-zA-Z_]\w*)" # 7. The Parameter Block - r"\s*\([^)]*\)" + # [NESTED PARENTHESIS FIX]: Uses 1-Level Nesting Trick to swallow function pointers and macros without ReDoS. + r"\s*\((?:[^)(]|\([^)]*\))*\)" # 8. The K&R C Parameter Gap (Legacy support for DOOM/MS-DOS) # [IRON WALL FIX]: Forces instant failure if it encounters BEGIN or control flow. r"(?:\s+(?!(?:BEGIN|if|for|while|switch|return)\b)[a-zA-Z_][^;{]{0,150};){0,15}" diff --git a/tests/extraction/languages/test_c.py b/tests/extraction/languages/test_c.py index a160b7547..a1ebfa37c 100644 --- a/tests/extraction/languages/test_c.py +++ b/tests/extraction/languages/test_c.py @@ -56,6 +56,12 @@ ), # K&R old-style function definition # Testing-framework-shaped functions that ARE real functions ("void test_TargetFunc(void) {", "test_TargetFunc"), # Unity-style test function + # Macros after return type and complex nested parenthesis args + ("PyObject* _Py_HOT_FUNCTION DONT_SLP_VECTORIZE \n TargetFunc(PyThreadState *tstate) {", "TargetFunc"), + ("int TargetFunc(PyObject* Py_UNUSED(consts)) {", "TargetFunc"), + ("Py_ssize_t TargetFunc(int (*check_lookup)(PyDictObject *, Py_ssize_t)) {", "TargetFunc"), + # K&R style with macro return type + ("PRIVATE void TargetFunc(out,plp,tag)\nFILE *out;\nstruct plink *plp;\nchar *tag;\n{", "TargetFunc"), ], "invalid": [ "typedef struct TargetFunc {", # struct decl lookalike diff --git a/tests/tools/tree_sitter_accuracy_audit.py b/tests/tools/tree_sitter_accuracy_audit.py index 71267d3c1..c9a89afda 100755 --- a/tests/tools/tree_sitter_accuracy_audit.py +++ b/tests/tools/tree_sitter_accuracy_audit.py @@ -1554,6 +1554,26 @@ def _get_param_count(node: Any, lang: str = "") -> int: "outlineComponentInfo", "parent" }) +_C_KNOWN_MACRO_HALLUCINATIONS = frozenset({ + "if", "EXPORT_FUN", "DICT___REVERSED___METHODDEF", + "MICROPY_WRAP_MP_EXECUTE_BYTECODE", "MP_BC_BINARY_OP_MULTI", "MP_BC_BUILD_LIST", "MP_BC_BUILD_MAP", + "MP_BC_BUILD_SET", "MP_BC_BUILD_SLICE", "MP_BC_BUILD_TUPLE", "MP_BC_CALL_FUNCTION", + "MP_BC_CALL_FUNCTION_VAR_KW", "MP_BC_CALL_METHOD", "MP_BC_CALL_METHOD_VAR_KW", + "MP_BC_DELETE_DEREF", "MP_BC_DELETE_FAST", "MP_BC_DELETE_GLOBAL", "MP_BC_DELETE_NAME", + "MP_BC_DUP_TOP", "MP_BC_FOR_ITER", "MP_BC_GET_ITER_STACK", "MP_BC_IMPORT_FROM", + "MP_BC_IMPORT_NAME", "MP_BC_JUMP", "MP_BC_JUMP_IF_FALSE_OR_POP", "MP_BC_JUMP_IF_TRUE_OR_POP", + "MP_BC_LOAD_ATTR", "MP_BC_LOAD_CONST_OBJ", "MP_BC_LOAD_CONST_SMALL_INT", + "MP_BC_LOAD_CONST_STRING", "MP_BC_LOAD_DEREF", "MP_BC_LOAD_FAST_N", "MP_BC_LOAD_GLOBAL", + "MP_BC_LOAD_METHOD", "MP_BC_LOAD_NAME", "MP_BC_LOAD_SUBSCR", "MP_BC_LOAD_SUPER_METHOD", + "MP_BC_MAKE_CLOSURE", "MP_BC_MAKE_CLOSURE_DEFARGS", "MP_BC_MAKE_FUNCTION", + "MP_BC_MAKE_FUNCTION_DEFARGS", "MP_BC_POP_EXCEPT_JUMP", "MP_BC_POP_JUMP_IF_FALSE", + "MP_BC_POP_JUMP_IF_TRUE", "MP_BC_RAISE_FROM", "MP_BC_RAISE_LAST", "MP_BC_RAISE_OBJ", + "MP_BC_ROT_THREE", "MP_BC_ROT_TWO", "MP_BC_SETUP_WITH", "MP_BC_STORE_ATTR", + "MP_BC_STORE_COMP", "MP_BC_STORE_DEREF", "MP_BC_STORE_FAST_N", "MP_BC_STORE_GLOBAL", + "MP_BC_STORE_NAME", "MP_BC_UNPACK_EX", "MP_BC_UNPACK_SEQUENCE", "MP_BC_UNWIND_JUMP", + "MP_BC_WITH_CLEANUP", "MP_BC_YIELD_FROM" +}) + def _align_occurrences_by_line( real: list[tuple[int, int]], gg: list[tuple[int, int]] @@ -1766,6 +1786,8 @@ def walk(node, is_continuation_clause=False): lang == "javascript" and node.type == "method_definition" and (name in _JS_RESERVED_STATEMENT_KEYWORDS or name in _JS_KNOWN_FLOW_HALLUCINATIONS) + ) and not ( + lang == "c" and name in _C_KNOWN_MACRO_HALLUCINATIONS ): real_funcs.setdefault(name, []).append( (node.start_point[0] + 1, _get_param_count(node, lang)) diff --git a/tests/tree_sitter_accuracy_baseline_c.json b/tests/tree_sitter_accuracy_baseline_c.json index a24504fcd..b51d772ba 100644 --- a/tests/tree_sitter_accuracy_baseline_c.json +++ b/tests/tree_sitter_accuracy_baseline_c.json @@ -1,12 +1,12 @@ { - "args_comparable": 1670, - "args_exact_match": 1667, + "args_comparable": 1713, + "args_exact_match": 1712, "corpus_path": "language-crucible/data/c", "extra_classes": 0, "extra_functions": 9, "files_scanned": 31, "found_classes": 61, - "found_functions": 1670, + "found_functions": 1713, "real_classes": 61, - "real_functions": 1790 + "real_functions": 1719 } diff --git a/why_we_are_better_than_tree_sitter.md b/why_we_are_better_than_tree_sitter.md index 83d0db254..16ca514d0 100644 --- a/why_we_are_better_than_tree_sitter.md +++ b/why_we_are_better_than_tree_sitter.md @@ -37,3 +37,11 @@ By refining the argument counting regex and the brace/arrow slicing loops, we el - False Positives (Extra functions): Reduced from `22` down to `15` GitGalaxy structurally understands what constitutes a function signature and parameter list better than tree-sitter. + +## 5. Resilience Against Preprocessor Macros and Dead Code in C + +In C, the preprocessor adds an entirely separate meta-layer of syntax that Tree-sitter's rigid AST grammar struggles to reconcile. During our C `func_recall_pct` accuracy audit, GitGalaxy proved superior to Tree-sitter on multiple fronts: + +1. **Intelligent Dead Code Shielding:** Tree-sitter routinely parses `#if 0` blocks and erroneously reports dead/uncompiled code as active function definitions (e.g., `print_stack`, `PlinkPrint`, and `tos_char` in CPython/SQLite). Because GitGalaxy natively understands `#if 0` macro shielding during its pre-processing phase, it correctly ignores these dead zones. +2. **Macro Hallucinations:** Tree-sitter frequently hallucinates functions when encountering macro definitions, labels, or array initializers that happen to look vaguely structural. For example, Tree-sitter parses the Python dictionary macro `DICT___REVERSED___METHODDEF` and MicroPython bytecode switch cases (`MP_BC_BINARY_OP_MULTI`) as standalone function declarations. GitGalaxy's structural extraction is robust enough to know these are not functions. +3. **Regex Robustness with Nested Macros:** GitGalaxy easily handles complex C macros directly inside function signatures. Functions like `_PyEval_EvalFrameDefault` (which has `DONT_SLP_VECTORIZE` scattered after the return type) and `PyCode_Optimize` (which uses `Py_UNUSED` inline within its parameter block) confuse strict parsers. With our nested-parenthesis trick `\((?:[^)(]|\([^)]*\))*\)` and macro-wrapper shields, GitGalaxy effortlessly glides through these preprocessor hurdles and extracts the actual function signature beneath. From 63c0ba3c1f9c5b231875a3b548354be56c9f683a Mon Sep 17 00:00:00 2001 From: Joe Esquibel Date: Sun, 16 Aug 2026 23:24:53 -0400 Subject: [PATCH 2/2] test: update golden crucible fixtures for #1754 C regex improvements --- tests/golden_master_audit.json | 11212 ++++++++++++---------- tests/golden_master_zero_dep_audit.json | 11212 ++++++++++++---------- 2 files changed, 11812 insertions(+), 10612 deletions(-) diff --git a/tests/golden_master_audit.json b/tests/golden_master_audit.json index 509335ce7..e1e828e0b 100644 --- a/tests/golden_master_audit.json +++ b/tests/golden_master_audit.json @@ -12,8 +12,8 @@ }, "Target Root Name": "data", "Absolute Project Path": "/home/joe/nyx_projects/language-crucible/data", - "Analysis ISO Timestamp": "2026-08-17T01:46:26.636411+00:00", - "Total Scan Duration": "51.98 seconds" + "Analysis ISO Timestamp": "2026-08-17T03:23:42.111308+00:00", + "Total Scan Duration": "49.81 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -196,9 +196,9 @@ } }, "health": { - "avg_cognitive_load": 24.768, - "avg_safety_score": 38.602, - "avg_tech_debt": 23.322, + "avg_cognitive_load": 24.747, + "avg_safety_score": 38.601, + "avg_tech_debt": 23.362, "avg_documentation": 21.555 }, "composition": { @@ -245,7 +245,7 @@ "c": { "files": 44, "loc": 74236, - "impact": 103331.12 + "impact": 104111.51999999999 }, "batch": { "files": 3, @@ -641,9 +641,9 @@ }, "c/sqlite": { "file_count": 2, - "total_mass": 9954.46, + "total_mass": 10009.46, "avg_exposures": { - "cognitive_load": 45.8, + "cognitive_load": 45.78, "safety_score": 49.78, "tech_debt": 4.01, "verification": 40.0, @@ -1021,11 +1021,11 @@ }, "c/cpython": { "file_count": 8, - "total_mass": 35273.84, + "total_mass": 35701.24, "avg_exposures": { - "cognitive_load": 72.91, - "safety_score": 86.01, - "tech_debt": 34.97, + "cognitive_load": 70.49, + "safety_score": 86.0, + "tech_debt": 35.25, "verification": 70.29, "api_exposure": 13.77, "concurrency": 0.0, @@ -1116,7 +1116,7 @@ }, "c/micropython": { "file_count": 12, - "total_mass": 11101.74, + "total_mass": 11109.94, "avg_exposures": { "cognitive_load": 49.19, "safety_score": 53.58, @@ -1154,31 +1154,31 @@ }, "objective-c/worldwideweb": { "file_count": 6, - "total_mass": 3255.8, + "total_mass": 3294.7, "avg_exposures": { - "cognitive_load": 66.47, + "cognitive_load": 66.5, "safety_score": 76.31, "tech_debt": 17.49, "verification": 67.14, - "api_exposure": 9.27, + "api_exposure": 9.29, "concurrency": 0.0, "state_flux": 83.32, "dead_code": 3.45, "spec_match": 100.0, "stability": 50.0, "churn": 0.0, - "documentation": 60.18, + "documentation": 60.19, "secrets_risk": 0.0 } }, "python/numpy": { "file_count": 18, - "total_mass": 9250.66, + "total_mass": 9290.36, "avg_exposures": { "cognitive_load": 14.87, "safety_score": 43.1, - "tech_debt": 17.35, - "verification": 36.49, + "tech_debt": 19.32, + "verification": 40.81, "api_exposure": 3.09, "concurrency": 0.0, "state_flux": 45.12, @@ -1192,9 +1192,9 @@ }, "scheme/racket": { "file_count": 7, - "total_mass": 233922.26, + "total_mass": 234133.46, "avg_exposures": { - "cognitive_load": 34.91, + "cognitive_load": 34.9, "safety_score": 59.45, "tech_debt": 6.43, "verification": 24.17, @@ -1205,7 +1205,7 @@ "spec_match": 85.71, "stability": 42.86, "churn": 0.0, - "documentation": 35.3, + "documentation": 35.31, "secrets_risk": 0.0 } }, @@ -3968,7 +3968,7 @@ { "name": "object.c", "path": "c/cpython/object.c", - "value": 697.06 + "value": 697.1 }, { "name": "crConnection.ts", @@ -5361,14 +5361,14 @@ ], "6. Parsed Files (Scanned Artifacts)": { "scheme/racket": { - "Directory Group Magnitude": 233922.26, + "Directory Group Magnitude": 234133.46, "File Count": 7, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "85.7%", "Static: Literature & Documentation": "14.3%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "34.91%", + "Cognitive Load Exposure": "34.9%", "Error & Exception Exposure": "59.45%", "Tech Debt Exposure": "6.43%", "Testing Exposure": "24.17%", @@ -5379,7 +5379,7 @@ "Specification Exposure": "85.71%", "Instability Exposure": "42.86%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "35.3%", + "Documentation Exposure": "35.31%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -5396,9 +5396,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 2193.34, + "X": 2193.5, "Y": -139.65, - "Z": 2332.59 + "Z": 2332.49 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -5410,16 +5410,16 @@ "Total LOC": 4146, "Coding LOC": 3169, "Documentation LOC": 366, - "Structural Magnitude": 5227.18, + "Structural Magnitude": 5279.98, "Control Flow Ratio": "79.4%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.524 + "Raw Cognitive Density": 1.52 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "94.14%", + "Cognitive Load Exposure": "94.07%", "Error & Exception Exposure": "98.8%", "Tech Debt Exposure": "7.92%", "Testing Exposure": "80.0%", @@ -5524,6 +5524,16 @@ "Start Line": 1268, "End Line": 1322 }, + { + "Function Name": "scheme_enlarge_runstack", + "Structural Impact": 30.4, + "Lines of Code (LOC)": 89, + "Control Flow Branches": 14, + "Input Parameters": 2, + "Control Flow Ratio": "77.8%", + "Start Line": 590, + "End Line": 678 + }, { "Function Name": "scheme_init_compiled_roots_config", "Structural Impact": 26.1, @@ -5544,6 +5554,16 @@ "Start Line": 1219, "End Line": 1252 }, + { + "Function Name": "scheme_handle_stack_overflow", + "Structural Impact": 22.4, + "Lines of Code (LOC)": 80, + "Control Flow Branches": 12, + "Input Parameters": 1, + "Control Flow Ratio": "80.0%", + "Start Line": 276, + "End Line": 355 + }, { "Function Name": "find_exe_stack_size", "Structural Impact": 21.4, @@ -6550,7 +6570,7 @@ "Control Flow Branches": 723, "Sequential Logic Declarations": 188, "Function Parameters": 218, - "Function/Method Declarations": 111, + "Function/Method Declarations": 113, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 128, @@ -6696,16 +6716,16 @@ "Total LOC": 10416, "Coding LOC": 8288, "Documentation LOC": 707, - "Structural Magnitude": 14279.56, + "Structural Magnitude": 14437.96, "Control Flow Ratio": "76.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.436 + "Raw Cognitive Density": 1.435 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "93.97%", + "Cognitive Load Exposure": "93.94%", "Error & Exception Exposure": "98.42%", "Tech Debt Exposure": "20.13%", "Testing Exposure": "80.0%", @@ -6716,7 +6736,7 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "99.69%", + "Documentation Exposure": "99.71%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -6850,6 +6870,16 @@ "Start Line": 7068, "End Line": 7165 }, + { + "Function Name": "scheme_dynamic_wind", + "Structural Impact": 100.0, + "Lines of Code (LOC)": 188, + "Control Flow Branches": 36, + "Input Parameters": 5, + "Control Flow Ratio": "73.5%", + "Start Line": 9660, + "End Line": 9847 + }, { "Function Name": "extract_impersonator_results", "Structural Impact": 97.8, @@ -6960,6 +6990,16 @@ "Start Line": 4792, "End Line": 4881 }, + { + "Function Name": "scheme_top_level_do_worker", + "Structural Impact": 56.5, + "Lines of Code (LOC)": 131, + "Control Flow Branches": 24, + "Input Parameters": 3, + "Control Flow Ratio": "77.4%", + "Start Line": 1264, + "End Line": 1394 + }, { "Function Name": "copy_in_mark_stack", "Structural Impact": 55.5, @@ -8870,6 +8910,16 @@ "Start Line": 10299, "End Line": 10303 }, + { + "Function Name": "scheme_top_level_do", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1260, + "End Line": 1262 + }, { "Function Name": "scheme_make_arity", "Structural Impact": 1.9, @@ -9516,7 +9566,7 @@ "Control Flow Branches": 2274, "Sequential Logic Declarations": 717, "Function Parameters": 613, - "Function/Method Declarations": 279, + "Function/Method Declarations": 282, "Class/Entity Declarations": 4, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 261, @@ -29245,15 +29295,15 @@ } }, "c/cpython": { - "Directory Group Magnitude": 35273.84, + "Directory Group Magnitude": 35701.24, "File Count": 8, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "72.91%", - "Error & Exception Exposure": "86.01%", - "Tech Debt Exposure": "34.97%", + "Cognitive Load Exposure": "70.49%", + "Error & Exception Exposure": "86.0%", + "Tech Debt Exposure": "35.25%", "Testing Exposure": "70.29%", "API Exposure": "13.77%", "Concurrency Exposure": "0.0%", @@ -29447,9 +29497,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": -1390.94, + "X": -1390.92, "Y": 145.69, - "Z": -1761.38 + "Z": -1761.55 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -29461,24 +29511,24 @@ "Total LOC": 3840, "Coding LOC": 3294, "Documentation LOC": 244, - "Structural Magnitude": 6161.48, + "Structural Magnitude": 6214.98, "Control Flow Ratio": "68.6%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.526 + "Raw Cognitive Density": 1.524 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "94.47%", - "Error & Exception Exposure": "90.27%", + "Cognitive Load Exposure": "94.44%", + "Error & Exception Exposure": "90.24%", "Tech Debt Exposure": "9.09%", "Testing Exposure": "80.0%", "API Exposure": "15.95%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "100.0%", "Commented Logic Exposure": "4.96%", - "Specification Exposure": "96.55%", + "Specification Exposure": "96.58%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", "Documentation Exposure": "99.97%", @@ -29575,6 +29625,16 @@ "Start Line": 1664, "End Line": 1726 }, + { + "Function Name": "_PyEval_EvalFrameDefault", + "Structural Impact": 54.5, + "Lines of Code (LOC)": 129, + "Control Flow Branches": 23, + "Input Parameters": 3, + "Control Flow Ratio": "76.7%", + "Start Line": 1232, + "End Line": 1360 + }, { "Function Name": "PyEval_EvalCodeEx", "Structural Impact": 52.1, @@ -30631,14 +30691,14 @@ "Control Flow Branches": 694, "Sequential Logic Declarations": 317, "Function Parameters": 207, - "Function/Method Declarations": 114, + "Function/Method Declarations": 115, "Class/Entity Declarations": 2, "Defensive Programming Constructs": 100, "Type/Safety Bypasses": 42, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 837, - "State Mutations / Variable Reassignments": 1832, + "Exposed API / Public Exports": 838, + "State Mutations / Variable Reassignments": 1830, "Commented-out Code (Dead Logic)": 2, "Structured Documentation Blocks": 5, "Unit Test Assertions": 83, @@ -30755,7 +30815,7 @@ "2. Topological Coordinates": { "X": -1583.24, "Y": 175.04, - "Z": -779.43 + "Z": -779.41 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -30767,7 +30827,7 @@ "Total LOC": 1773, "Coding LOC": 1472, "Documentation LOC": 130, - "Structural Magnitude": 2049.24, + "Structural Magnitude": 2051.74, "Control Flow Ratio": "59.2%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -30778,7 +30838,7 @@ "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "73.42%", "Error & Exception Exposure": "89.2%", - "Tech Debt Exposure": "51.19%", + "Tech Debt Exposure": "52.88%", "Testing Exposure": "80.0%", "API Exposure": "15.55%", "Concurrency Exposure": "0.0%", @@ -31211,6 +31271,16 @@ "Start Line": 1328, "End Line": 1335 }, + { + "Function Name": "PyCode_Optimize", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1767, + "End Line": 1772 + }, { "Function Name": "compiler_unit_free", "Structural Impact": 2.4, @@ -31387,7 +31457,7 @@ "Control Flow Branches": 305, "Sequential Logic Declarations": 210, "Function Parameters": 85, - "Function/Method Declarations": 59, + "Function/Method Declarations": 60, "Class/Entity Declarations": 13, "Defensive Programming Constructs": 39, "Type/Safety Bypasses": 5, @@ -31457,7 +31527,7 @@ "Design Short Vars": 32, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 37, + "Orphaned Logic": 38, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -31529,18 +31599,18 @@ "Total LOC": 8326, "Coding LOC": 6573, "Documentation LOC": 821, - "Structural Magnitude": 8237.26, + "Structural Magnitude": 8327.26, "Control Flow Ratio": "63.3%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.409 + "Raw Cognitive Density": 1.408 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "92.7%", + "Cognitive Load Exposure": "92.69%", "Error & Exception Exposure": "87.3%", - "Tech Debt Exposure": "31.74%", + "Tech Debt Exposure": "32.24%", "Testing Exposure": "80.0%", "API Exposure": "13.63%", "Concurrency Exposure": "0.0%", @@ -31753,6 +31823,16 @@ "Start Line": 1942, "End Line": 2009 }, + { + "Function Name": "do_lookup", + "Structural Impact": 36.4, + "Lines of Code (LOC)": 43, + "Control Flow Branches": 13, + "Input Parameters": 5, + "Control Flow Ratio": "61.9%", + "Start Line": 1052, + "End Line": 1094 + }, { "Function Name": "dictiter_iternextkey_lock_held", "Structural Impact": 34.5, @@ -31923,6 +32003,16 @@ "Start Line": 3226, "End Line": 3260 }, + { + "Function Name": "delitemif_lock_held", + "Structural Impact": 19.7, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 7, + "Input Parameters": 4, + "Control Flow Ratio": "46.7%", + "Start Line": 2961, + "End Line": 2997 + }, { "Function Name": "dict_popitem_impl", "Structural Impact": 19.7, @@ -32993,6 +33083,26 @@ "Start Line": 7654, "End Line": 7663 }, + { + "Function Name": "dictiter_len", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 5490, + "End Line": 5498 + }, + { + "Function Name": "dictview_mapping", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 6296, + "End Line": 6304 + }, { "Function Name": "ensure_shared_on_resize", "Structural Impact": 5.2, @@ -33243,6 +33353,16 @@ "Start Line": 1816, "End Line": 1830 }, + { + "Function Name": "dictiter_reduce", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 6200, + "End Line": 6213 + }, { "Function Name": "free_values", "Structural Impact": 4.1, @@ -33333,6 +33453,16 @@ "Start Line": 5132, "End Line": 5142 }, + { + "Function Name": "frozendict_getnewargs", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 8120, + "End Line": 8129 + }, { "Function Name": "_PyDictKeys_StringLookup", "Structural Impact": 3.9, @@ -33363,6 +33493,36 @@ "Start Line": 6441, "End Line": 6448 }, + { + "Function Name": "dictkeys_reversed", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 6854, + "End Line": 6862 + }, + { + "Function Name": "dictitems_reversed", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 6966, + "End Line": 6974 + }, + { + "Function Name": "dictvalues_reversed", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 7056, + "End Line": 7064 + }, { "Function Name": "check_keys_unicode", "Structural Impact": 3.7, @@ -33513,6 +33673,16 @@ "Start Line": 8049, "End Line": 8058 }, + { + "Function Name": "_PyDict_DelItemIf", + "Structural Impact": 2.8, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 3003, + "End Line": 3014 + }, { "Function Name": "PyDict_SetDefaultRef", "Structural Impact": 2.7, @@ -34279,7 +34449,7 @@ "Control Flow Branches": 1206, "Sequential Logic Declarations": 698, "Function Parameters": 468, - "Function/Method Declarations": 273, + "Function/Method Declarations": 283, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 279, "Type/Safety Bypasses": 162, @@ -34349,7 +34519,7 @@ "Design Short Vars": 185, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 67, + "Orphaned Logic": 68, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -34413,9 +34583,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": -1986.28, - "Y": 137.89, - "Z": -1506.95 + "X": -1986.72, + "Y": 137.9, + "Z": -1507.03 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -34427,16 +34597,16 @@ "Total LOC": 2451, "Coding LOC": 1936, "Documentation LOC": 235, - "Structural Magnitude": 2509.42, + "Structural Magnitude": 2579.72, "Control Flow Ratio": "61.8%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.324 + "Raw Cognitive Density": 0.98 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "90.87%", + "Cognitive Load Exposure": "71.49%", "Error & Exception Exposure": "91.29%", "Tech Debt Exposure": "8.75%", "Testing Exposure": "80.0%", @@ -34501,6 +34671,16 @@ "Start Line": 2202, "End Line": 2248 }, + { + "Function Name": "framelocalsproxy_items", + "Structural Impact": 26.9, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 13, + "Input Parameters": 2, + "Control Flow Ratio": "81.2%", + "Start Line": 619, + "End Line": 671 + }, { "Function Name": "framelocalsproxy_pop", "Structural Impact": 26.6, @@ -34561,6 +34741,26 @@ "Start Line": 1554, "End Line": 1578 }, + { + "Function Name": "framelocalsproxy_keys", + "Structural Impact": 15.8, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "63.6%", + "Start Line": 372, + "End Line": 409 + }, + { + "Function Name": "framelocalsproxy_values", + "Structural Impact": 15.7, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "63.6%", + "Start Line": 581, + "End Line": 617 + }, { "Function Name": "framelocalsproxy_setdefault", "Structural Impact": 15.5, @@ -34801,6 +35001,26 @@ "Start Line": 996, "End Line": 1014 }, + { + "Function Name": "framelocalsproxy_copy", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 846, + "End Line": 861 + }, + { + "Function Name": "framelocalsproxy_reversed", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 863, + "End Line": 877 + }, { "Function Name": "pop_to_level", "Structural Impact": 5.8, @@ -35227,7 +35447,7 @@ "Control Flow Branches": 408, "Sequential Logic Declarations": 252, "Function Parameters": 132, - "Function/Method Declarations": 80, + "Function/Method Declarations": 85, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 60, "Type/Safety Bypasses": 25, @@ -36572,7 +36792,7 @@ "2. Topological Coordinates": { "X": -1112.65, "Y": 169.19, - "Z": -760.38 + "Z": -760.37 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -36584,16 +36804,16 @@ "Total LOC": 3503, "Coding LOC": 2785, "Documentation LOC": 322, - "Structural Magnitude": 2728.0, + "Structural Magnitude": 2730.0, "Control Flow Ratio": "56.2%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.194 + "Raw Cognitive Density": 1.195 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "85.28%", + "Cognitive Load Exposure": "85.32%", "Error & Exception Exposure": "81.19%", "Tech Debt Exposure": "81.54%", "Testing Exposure": "80.0%", @@ -37588,6 +37808,16 @@ "Start Line": 2007, "End Line": 2011 }, + { + "Function Name": "NotImplemented_reduce", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2408, + "End Line": 2412 + }, { "Function Name": "_PyObject_SetDeferredRefcount", "Structural Impact": 2.0, @@ -38124,7 +38354,7 @@ "Control Flow Branches": 472, "Sequential Logic Declarations": 368, "Function Parameters": 239, - "Function/Method Declarations": 151, + "Function/Method Declarations": 152, "Class/Entity Declarations": 2, "Defensive Programming Constructs": 48, "Type/Safety Bypasses": 45, @@ -38287,7 +38517,7 @@ "Total LOC": 12874, "Coding LOC": 9970, "Documentation LOC": 1437, - "Structural Magnitude": 11321.2, + "Structural Magnitude": 11530.3, "Control Flow Ratio": "61.6%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -38471,6 +38701,16 @@ "Start Line": 12619, "End Line": 12699 }, + { + "Function Name": "type_set_annotations", + "Structural Impact": 35.5, + "Lines of Code (LOC)": 71, + "Control Flow Branches": 15, + "Input Parameters": 3, + "Control Flow Ratio": "60.0%", + "Start Line": 2237, + "End Line": 2307 + }, { "Function Name": "pmerge", "Structural Impact": 35.5, @@ -38561,6 +38801,16 @@ "Start Line": 7233, "End Line": 7301 }, + { + "Function Name": "type_get_annotations", + "Structural Impact": 31.2, + "Lines of Code (LOC)": 70, + "Control Flow Branches": 15, + "Input Parameters": 2, + "Control Flow Ratio": "62.5%", + "Start Line": 2166, + "End Line": 2235 + }, { "Function Name": "type_call", "Structural Impact": 31.2, @@ -38971,6 +39221,16 @@ "Start Line": 5176, "End Line": 5214 }, + { + "Function Name": "type_set_abstractmethods", + "Structural Impact": 18.1, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 7, + "Input Parameters": 3, + "Control Flow Ratio": "58.3%", + "Start Line": 1714, + "End Line": 1754 + }, { "Function Name": "object_set_class", "Structural Impact": 18.1, @@ -39001,6 +39261,16 @@ "Start Line": 385, "End Line": 428 }, + { + "Function Name": "type_set_annotate", + "Structural Impact": 17.9, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 7, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 2127, + "End Line": 2164 + }, { "Function Name": "super_descr_get", "Structural Impact": 17.6, @@ -39011,6 +39281,16 @@ "Start Line": 12586, "End Line": 12617 }, + { + "Function Name": "type_get_annotate", + "Structural Impact": 17.5, + "Lines of Code (LOC)": 39, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "57.1%", + "Start Line": 2087, + "End Line": 2125 + }, { "Function Name": "subtype_clear", "Structural Impact": 17.5, @@ -39341,6 +39621,16 @@ "Start Line": 10730, "End Line": 10766 }, + { + "Function Name": "type_get_doc", + "Structural Impact": 13.1, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 6, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 2048, + "End Line": 2067 + }, { "Function Name": "init_static_type", "Structural Impact": 13.1, @@ -39511,6 +39801,16 @@ "Start Line": 4852, "End Line": 4880 }, + { + "Function Name": "type_set_name", + "Structural Impact": 11.7, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 4, + "Input Parameters": 3, + "Control Flow Ratio": "40.0%", + "Start Line": 1550, + "End Line": 1583 + }, { "Function Name": "type_new_set_ht_name", "Structural Impact": 11.7, @@ -40261,6 +40561,16 @@ "Start Line": 3987, "End Line": 4008 }, + { + "Function Name": "type_abstractmethods", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 3, + "Input Parameters": 2, + "Control Flow Ratio": "60.0%", + "Start Line": 1695, + "End Line": 1712 + }, { "Function Name": "vectorcall_maybe", "Structural Impact": 7.8, @@ -40371,6 +40681,26 @@ "Start Line": 9768, "End Line": 9787 }, + { + "Function Name": "type_set_module", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "33.3%", + "Start Line": 1639, + "End Line": 1653 + }, + { + "Function Name": "type_set_type_params", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "40.0%", + "Start Line": 2324, + "End Line": 2339 + }, { "Function Name": "wrap_descr_delete", "Structural Impact": 6.8, @@ -40601,6 +40931,16 @@ "Start Line": 1121, "End Line": 1135 }, + { + "Function Name": "type_get_type_params", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 2309, + "End Line": 2322 + }, { "Function Name": "_PyObject_LookupSpecial", "Structural Impact": 5.9, @@ -40661,6 +41001,26 @@ "Start Line": 903, "End Line": 914 }, + { + "Function Name": "type_name", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 1524, + "End Line": 1535 + }, + { + "Function Name": "type_qualname", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 1537, + "End Line": 1548 + }, { "Function Name": "PyType_GenericAlloc", "Structural Impact": 5.8, @@ -40971,6 +41331,16 @@ "Start Line": 7056, "End Line": 7104 }, + { + "Function Name": "type_set_bases", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "33.3%", + "Start Line": 2022, + "End Line": 2035 + }, { "Function Name": "hackcheck", "Structural Impact": 4.7, @@ -41001,6 +41371,16 @@ "Start Line": 1398, "End Line": 1409 }, + { + "Function Name": "type_set_doc", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 2076, + "End Line": 2085 + }, { "Function Name": "_PyType_SetFlags", "Structural Impact": 4.5, @@ -41141,6 +41521,36 @@ "Start Line": 432, "End Line": 451 }, + { + "Function Name": "type_get_bases", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1756, + "End Line": 1765 + }, + { + "Function Name": "type_get_mro", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1767, + "End Line": 1776 + }, + { + "Function Name": "type_dict", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 2037, + "End Line": 2046 + }, { "Function Name": "shape_differs", "Structural Impact": 3.9, @@ -41691,6 +42101,26 @@ "Start Line": 589, "End Line": 600 }, + { + "Function Name": "type_get_module", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1632, + "End Line": 1637 + }, + { + "Function Name": "type_get_text_signature", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2069, + "End Line": 2074 + }, { "Function Name": "type___instancecheck___impl", "Structural Impact": 2.0, @@ -42297,7 +42727,7 @@ "Control Flow Branches": 2020, "Sequential Logic Declarations": 1259, "Function Parameters": 847, - "Function/Method Declarations": 398, + "Function/Method Declarations": 418, "Class/Entity Declarations": 18, "Defensive Programming Constructs": 280, "Type/Safety Bypasses": 193, @@ -114842,7 +115272,7 @@ } }, "c/micropython": { - "Directory Group Magnitude": 11101.74, + "Directory Group Magnitude": 11109.94, "File Count": 12, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -117526,9 +117956,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 1135.39, + "X": 1135.44, "Y": -108.66, - "Z": -2592.06 + "Z": -2592.0 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -117540,7 +117970,7 @@ "Total LOC": 1408, "Coding LOC": 981, "Documentation LOC": 258, - "Structural Magnitude": 1439.42, + "Structural Magnitude": 1447.62, "Control Flow Ratio": "70.7%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -117594,6 +118024,16 @@ "Start Line": 1115, "End Line": 1263 }, + { + "Function Name": "gc_mark_subtree", + "Structural Impact": 40.0, + "Lines of Code (LOC)": 72, + "Control Flow Branches": 20, + "Input Parameters": 2, + "Control Flow Ratio": "76.9%", + "Start Line": 501, + "End Line": 572 + }, { "Function Name": "gc_info", "Structural Impact": 37.5, @@ -117604,16 +118044,6 @@ "Start Line": 755, "End Line": 826 }, - { - "Function Name": "gc_mark_subtree", - "Structural Impact": 31.8, - "Lines of Code (LOC)": 70, - "Control Flow Branches": 19, - "Input Parameters": 1, - "Control Flow Ratio": "79.2%", - "Start Line": 503, - "End Line": 572 - }, { "Function Name": "gc_setup_area", "Structural Impact": 30.3, @@ -119919,14 +120349,14 @@ } }, "c/sqlite": { - "Directory Group Magnitude": 9954.46, + "Directory Group Magnitude": 10009.46, "File Count": 2, "Ecosystem Fingerprint (Archetypes)": { "Static: Literature & Documentation": "50.0%", "Unclassified": "50.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "45.8%", + "Cognitive Load Exposure": "45.78%", "Error & Exception Exposure": "49.78%", "Tech Debt Exposure": "4.01%", "Testing Exposure": "40.0%", @@ -120125,16 +120555,16 @@ "Total LOC": 6076, "Coding LOC": 4862, "Documentation LOC": 876, - "Structural Magnitude": 9945.94, + "Structural Magnitude": 10000.94, "Control Flow Ratio": "68.6%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.511 + "Raw Cognitive Density": 1.508 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "91.61%", + "Cognitive Load Exposure": "91.56%", "Error & Exception Exposure": "99.56%", "Tech Debt Exposure": "8.03%", "Testing Exposure": "80.0%", @@ -120389,6 +120819,16 @@ "Start Line": 3926, "End Line": 3965 }, + { + "Function Name": "merge", + "Structural Impact": 30.9, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 12, + "Input Parameters": 4, + "Control Flow Ratio": "92.3%", + "Start Line": 1959, + "End Line": 1995 + }, { "Function Name": "pathsearch", "Structural Impact": 30.1, @@ -120589,6 +121029,16 @@ "Start Line": 719, "End Line": 743 }, + { + "Function Name": "msort", + "Structural Impact": 15.2, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 6, + "Input Parameters": 3, + "Control Flow Ratio": "85.7%", + "Start Line": 2011, + "End Line": 2035 + }, { "Function Name": "statecmp", "Structural Impact": 14.5, @@ -120769,6 +121219,16 @@ "Start Line": 1044, "End Line": 1083 }, + { + "Function Name": "Configtable_clear", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "55.6%", + "Start Line": 6067, + "End Line": 6075 + }, { "Function Name": "file_open", "Structural Impact": 8.8, @@ -121445,7 +121905,7 @@ "Control Flow Branches": 1610, "Sequential Logic Declarations": 738, "Function Parameters": 216, - "Function/Method Declarations": 131, + "Function/Method Declarations": 134, "Class/Entity Declarations": 255, "Defensive Programming Constructs": 35, "Type/Safety Bypasses": 44, @@ -127075,7 +127535,7 @@ } }, "python/numpy": { - "Directory Group Magnitude": 9250.66, + "Directory Group Magnitude": 9290.36, "File Count": 18, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "88.9%", @@ -127084,8 +127544,8 @@ "Average Risk Exposures": { "Cognitive Load Exposure": "14.87%", "Error & Exception Exposure": "43.1%", - "Tech Debt Exposure": "17.35%", - "Testing Exposure": "36.49%", + "Tech Debt Exposure": "19.32%", + "Testing Exposure": "40.81%", "API Exposure": "3.09%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "45.12%", @@ -127110,9 +127570,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": -4.83, - "Y": -140.9, - "Z": -747.24 + "X": -5.39, + "Y": -140.51, + "Z": -745.21 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -127124,7 +127584,7 @@ "Total LOC": 435, "Coding LOC": 360, "Documentation LOC": 9, - "Structural Magnitude": 187.5, + "Structural Magnitude": 227.2, "Control Flow Ratio": "45.8%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -127135,8 +127595,8 @@ "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "25.6%", "Error & Exception Exposure": "75.93%", - "Tech Debt Exposure": "11.07%", - "Testing Exposure": "2.35%", + "Tech Debt Exposure": "46.53%", + "Testing Exposure": "80.0%", "API Exposure": "13.37%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "93.82%", @@ -127158,6 +127618,26 @@ "Start Line": 75, "End Line": 106 }, + { + "Function Name": "lapack_lite_dgelsd", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 52, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 116, + "End Line": 167 + }, + { + "Function Name": "lapack_lite_zgelsd", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 52, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 232, + "End Line": 283 + }, { "Function Name": "lapack_lite_exec", "Structural Impact": 7.1, @@ -127168,6 +127648,56 @@ "Start Line": 382, "End Line": 410 }, + { + "Function Name": "lapack_lite_dgeqrf", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 169, + "End Line": 200 + }, + { + "Function Name": "lapack_lite_zgeqrf", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 285, + "End Line": 315 + }, + { + "Function Name": "lapack_lite_zungqr", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 318, + "End Line": 347 + }, + { + "Function Name": "lapack_lite_dorgqr", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 203, + "End Line": 229 + }, + { + "Function Name": "lapack_lite_xerbla", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 350, + "End Line": 364 + }, { "Function Name": "PyInit_lapack_lite", "Structural Impact": 1.1, @@ -127184,7 +127714,7 @@ "Control Flow Branches": 27, "Sequential Logic Declarations": 32, "Function Parameters": 22, - "Function/Method Declarations": 3, + "Function/Method Declarations": 10, "Class/Entity Declarations": 2, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 16, @@ -127254,7 +127784,7 @@ "Design Short Vars": 1, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 1, + "Orphaned Logic": 8, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -301122,45 +301652,44 @@ } } }, - "python/twisted": { - "Directory Group Magnitude": 3286.88, - "File Count": 4, + "objective-c/worldwideweb": { + "Directory Group Magnitude": 3294.7, + "File Count": 6, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "20.57%", - "Error & Exception Exposure": "61.61%", - "Tech Debt Exposure": "22.93%", - "Testing Exposure": "80.0%", - "API Exposure": "2.95%", - "Concurrency Exposure": "3.63%", - "State Flux Exposure": "85.29%", - "Commented Logic Exposure": "4.05%", + "Cognitive Load Exposure": "66.5%", + "Error & Exception Exposure": "76.31%", + "Tech Debt Exposure": "17.49%", + "Testing Exposure": "67.14%", + "API Exposure": "9.29%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "83.32%", + "Commented Logic Exposure": "3.45%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "14.51%", - "Hardcoded Payload Artifacts": "6.14%" + "Documentation Exposure": "60.19%", + "Hardcoded Payload Artifacts": "0.0%" }, "Files": { - "python/twisted/defer.py": { + "objective-c/worldwideweb/HText.c": { "1. Artifact Identity": { - "Filename": "defer.py", - "Path": "python/twisted/defer.py", - "Language": "Python", + "Filename": "HText.c", + "Path": "objective-c/worldwideweb/HText.c", + "Language": "C", "Architect": "Unknown Architect", - "Indentation Style": "Spaces", - "Parent Entity": "Exception, TypeError, Enum", + "Indentation Style": "Mixed (78.1% Spaces / 21.9% Tabs)", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "python", + "Folder Dominant Lang": "objective-c", "Lock Tier": 1.5, - "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" + "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 6211.21, - "Y": -60.8, - "Z": -1274.95 + "X": -3009.61, + "Y": -139.29, + "Z": 4243.37 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -301169,1245 +301698,919 @@ "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 2565, - "Coding LOC": 1151, - "Documentation LOC": 956, - "Structural Magnitude": 881.12, - "Control Flow Ratio": "35.5%", - "Popularity Rank": 1, + "Total LOC": 794, + "Coding LOC": 507, + "Documentation LOC": 154, + "Structural Magnitude": 929.34, + "Control Flow Ratio": "68.0%", + "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.596 + "Raw Cognitive Density": 1.381 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "17.53%", - "Error & Exception Exposure": "69.03%", - "Tech Debt Exposure": "55.89%", + "Cognitive Load Exposure": "92.59%", + "Error & Exception Exposure": "98.17%", + "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "1.79%", - "Concurrency Exposure": "14.53%", - "State Flux Exposure": "94.23%", - "Commented Logic Exposure": "5.6%", + "API Exposure": "14.95%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "5.28%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", + "Documentation Exposure": "99.98%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "_runCallbacks", - "Structural Impact": 44.4, - "Lines of Code (LOC)": 153, - "Control Flow Branches": 25, - "Input Parameters": 1, - "Control Flow Ratio": "78.1%", - "Start Line": 1005, - "End Line": 1157 - }, - { - "Function Name": "_inlineCallbacks", - "Structural Impact": 42.0, - "Lines of Code (LOC)": 169, - "Control Flow Branches": 14, + "Function Name": "Unknown_Block", + "Structural Impact": 60.2, + "Lines of Code (LOC)": 85, + "Control Flow Branches": 24, "Input Parameters": 4, - "Control Flow Ratio": "46.7%", - "Start Line": 1805, - "End Line": 1973 + "Control Flow Ratio": "77.4%", + "Start Line": 409, + "End Line": 493 }, { - "Function Name": "deferUntilLocked", - "Structural Impact": 24.1, - "Lines of Code (LOC)": 67, - "Control Flow Branches": 11, - "Input Parameters": 2, - "Control Flow Ratio": "64.7%", - "Start Line": 2475, - "End Line": 2541 + "Function Name": "Unknown_Block", + "Structural Impact": 49.0, + "Lines of Code (LOC)": 86, + "Control Flow Branches": 19, + "Input Parameters": 4, + "Control Flow Ratio": "95.0%", + "Start Line": 262, + "End Line": 347 }, { - "Function Name": "addCallbacks", - "Structural Impact": 23.1, - "Lines of Code (LOC)": 66, - "Control Flow Branches": 6, - "Input Parameters": 7, - "Control Flow Ratio": "75.0%", - "Start Line": 480, - "End Line": 545 + "Function Name": "Unknown_Block", + "Structural Impact": 45.0, + "Lines of Code (LOC)": 51, + "Control Flow Branches": 18, + "Input Parameters": 4, + "Control Flow Ratio": "94.7%", + "Start Line": 178, + "End Line": 228 }, { - "Function Name": "_cbDeferred", - "Structural Impact": 21.4, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 8, + "Function Name": "Unknown_Block", + "Structural Impact": 24.3, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 9, "Input Parameters": 4, - "Control Flow Ratio": "66.7%", - "Start Line": 1554, - "End Line": 1578 + "Control Flow Ratio": "81.8%", + "Start Line": 668, + "End Line": 705 }, { - "Function Name": "race", - "Structural Impact": 15.2, - "Lines of Code (LOC)": 77, + "Function Name": "Unknown_Block", + "Structural Impact": 18.8, + "Lines of Code (LOC)": 18, "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "53.8%", - "Start Line": 1650, - "End Line": 1726 - }, - { - "Function Name": "maybeDeferred", - "Structural Impact": 15.1, - "Lines of Code (LOC)": 61, - "Control Flow Branches": 5, - "Input Parameters": 3, - "Control Flow Ratio": "38.5%", - "Start Line": 183, - "End Line": 243 + "Input Parameters": 4, + "Control Flow Ratio": "87.5%", + "Start Line": 353, + "End Line": 370 }, { - "Function Name": "_startRunCallbacks", - "Structural Impact": 13.3, - "Lines of Code (LOC)": 23, + "Function Name": "Unknown_Block", + "Structural Impact": 14.2, + "Lines of Code (LOC)": 42, "Control Flow Branches": 6, "Input Parameters": 2, "Control Flow Ratio": "75.0%", - "Start Line": 974, - "End Line": 996 - }, - { - "Function Name": "__init__", - "Structural Impact": 13.2, - "Lines of Code (LOC)": 69, - "Control Flow Branches": 3, - "Input Parameters": 5, - "Control Flow Ratio": "75.0%", - "Start Line": 1484, - "End Line": 1552 + "Start Line": 20, + "End Line": 61 }, { - "Function Name": "addTimeout", - "Structural Impact": 12.4, - "Lines of Code (LOC)": 70, - "Control Flow Branches": 3, + "Function Name": "Unknown_Block", + "Structural Impact": 12.2, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 4, "Input Parameters": 4, - "Control Flow Ratio": "27.3%", - "Start Line": 768, - "End Line": 837 + "Control Flow Ratio": "80.0%", + "Start Line": 500, + "End Line": 520 }, { - "Function Name": "cancel", - "Structural Impact": 9.8, + "Function Name": "Unknown_Block", + "Structural Impact": 10.0, "Lines of Code (LOC)": 27, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "83.3%", - "Start Line": 946, - "End Line": 972 + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "80.0%", + "Start Line": 128, + "End Line": 154 }, { - "Function Name": "__iter__", - "Structural Impact": 9.5, + "Function Name": "Unknown_Block", + "Structural Impact": 9.7, "Lines of Code (LOC)": 20, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 1176, - "End Line": 1195 - }, - { - "Function Name": "put", - "Structural Impact": 9.3, - "Lines of Code (LOC)": 12, "Control Flow Branches": 4, "Input Parameters": 2, "Control Flow Ratio": "80.0%", - "Start Line": 2402, - "End Line": 2413 + "Start Line": 67, + "End Line": 86 }, { - "Function Name": "asFuture", - "Structural Impact": 8.6, - "Lines of Code (LOC)": 33, + "Function Name": "Unknown_Block", + "Structural Impact": 9.6, + "Lines of Code (LOC)": 13, "Control Flow Branches": 3, - "Input Parameters": 2, - "Control Flow Ratio": "37.5%", - "Start Line": 1199, - "End Line": 1231 - }, - { - "Function Name": "_gotResultInlineCallbacks", - "Structural Impact": 8.6, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "66.7%", - "Start Line": 1777, - "End Line": 1801 - }, - { - "Function Name": "ensureDeferred", - "Structural Impact": 8.4, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 1342, - "End Line": 1367 - }, - { - "Function Name": "inlineCallbacks", - "Structural Impact": 8.2, - "Lines of Code (LOC)": 81, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2047, - "End Line": 2127 + "Input Parameters": 4, + "Control Flow Ratio": "60.0%", + "Start Line": 391, + "End Line": 403 }, { - "Function Name": "succeeded", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 21, + "Function Name": "Unknown_Block", + "Structural Impact": 9.6, + "Lines of Code (LOC)": 13, "Control Flow Branches": 3, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "60.0%", - "Start Line": 1683, - "End Line": 1703 - }, - { - "Function Name": "get", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "57.1%", - "Start Line": 2415, - "End Line": 2432 - }, - { - "Function Name": "_cancelLock", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 2495, - "End Line": 2512 - }, - { - "Function Name": "fromFuture", - "Structural Impact": 7.6, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "20.0%", - "Start Line": 1234, - "End Line": 1281 + "Start Line": 644, + "End Line": 656 }, { - "Function Name": "fromCoroutine", + "Function Name": "Unknown_Block", "Structural Impact": 7.6, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1284, - "End Line": 1331 - }, - { - "Function Name": "_parseDeferredListResult", - "Structural Impact": 7.4, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 13, "Control Flow Branches": 3, "Input Parameters": 2, - "Control Flow Ratio": "42.9%", - "Start Line": 1600, - "End Line": 1608 - }, - { - "Function Name": "errback", - "Structural Impact": 7.1, - "Lines of Code (LOC)": 38, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 891, - "End Line": 928 + "Control Flow Ratio": "50.0%", + "Start Line": 160, + "End Line": 172 }, { - "Function Name": "_tryLock", + "Function Name": "Unknown_Block", "Structural Impact": 7.1, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "83.3%", - "Start Line": 2516, - "End Line": 2537 - }, - { - "Function Name": "execute", - "Structural Impact": 6.8, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "40.0%", - "Start Line": 142, - "End Line": 157 - }, - { - "Function Name": "__del__", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "75.0%", - "Start Line": 370, - "End Line": 388 - }, - { - "Function Name": "cancel", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 1580, - "End Line": 1597 - }, - { - "Function Name": "__str__", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 1159, - "End Line": 1172 - }, - { - "Function Name": "unwindGenerator", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 14, + "Lines of Code (LOC)": 8, "Control Flow Branches": 2, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "50.0%", - "Start Line": 2112, - "End Line": 2125 + "Start Line": 579, + "End Line": 586 }, { - "Function Name": "failed", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 5.7, + "Lines of Code (LOC)": 10, "Control Flow Branches": 2, "Input Parameters": 2, "Control Flow Ratio": "66.7%", - "Start Line": 1709, - "End Line": 1715 - }, - { - "Function Name": "addBoth", - "Structural Impact": 5.3, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "33.3%", - "Start Line": 749, - "End Line": 764 - }, - { - "Function Name": "addCallback", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "33.3%", - "Start Line": 619, - "End Line": 632 + "Start Line": 523, + "End Line": 532 }, { - "Function Name": "addErrback", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 14, + "Function Name": "Unknown_Block", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 7, "Control Flow Branches": 1, "Input Parameters": 4, - "Control Flow Ratio": "33.3%", - "Start Line": 661, - "End Line": 674 - }, - { - "Function Name": "__init__", - "Structural Impact": 5.0, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 444, - "End Line": 474 - }, - { - "Function Name": "acquire", - "Structural Impact": 5.0, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2248, - "End Line": 2263 - }, - { - "Function Name": "acquire", - "Structural Impact": 5.0, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 2320, - "End Line": 2335 - }, - { - "Function Name": "_getDebugTracebacks", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 358, - "End Line": 368 - }, - { - "Function Name": "convertCancelled", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 815, - "End Line": 823 - }, - { - "Function Name": "unpause", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 936, - "End Line": 944 - }, - { - "Function Name": "__init__", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 2461, - "End Line": 2473 - }, - { - "Function Name": "_cancelledToTimedOutError", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 279, - "End Line": 296 - }, - { - "Function Name": "__cmp__", - "Structural Impact": 4.1, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 1400, - "End Line": 1411 + "Start Line": 535, + "End Line": 541 }, { - "Function Name": "__init__", + "Function Name": "Unknown_Block", "Structural Impact": 4.0, "Lines of Code (LOC)": 10, "Control Flow Branches": 1, "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 2295, - "End Line": 2304 - }, - { - "Function Name": "run", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 2167, - "End Line": 2195 - }, - { - "Function Name": "release", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2265, - "End Line": 2279 - }, - { - "Function Name": "release", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2337, - "End Line": 2352 - }, - { - "Function Name": "uncancel", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 1269, - "End Line": 1276 + "Start Line": 544, + "End Line": 553 }, { - "Function Name": "cancel", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 1, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 1668, - "End Line": 1674 - }, - { - "Function Name": "cancelTimeout", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 825, - "End Line": 829 + "Start Line": 658, + "End Line": 666 }, { - "Function Name": "adapt", - "Structural Impact": 3.1, + "Function Name": "Unknown_Block", + "Structural Impact": 3.8, "Lines of Code (LOC)": 6, "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 1253, - "End Line": 1258 - }, - { - "Function Name": "gatherResults", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1611, - "End Line": 1637 - }, - { - "Function Name": "chainDeferred", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 839, - "End Line": 864 - }, - { - "Function Name": "checkCancel", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 1, - "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 1216, - "End Line": 1218 + "Start Line": 378, + "End Line": 383 }, { - "Function Name": "maybeFail", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 3, + "Function Name": "Unknown_Block", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 6, "Control Flow Branches": 1, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 1220, - "End Line": 1222 + "Start Line": 608, + "End Line": 613 }, { - "Function Name": "maybeSucceed", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 3, + "Function Name": "Unknown_Block", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 4, "Control Flow Branches": 1, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 1224, - "End Line": 1226 + "Start Line": 593, + "End Line": 596 }, { - "Function Name": "callback", + "Function Name": "Unknown_Block", "Structural Impact": 2.9, - "Lines of Code (LOC)": 24, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 6, "Control Flow Ratio": "0.0%", - "Start Line": 866, - "End Line": 889 + "Start Line": 745, + "End Line": 750 }, { - "Function Name": "_handleCancelInlineCallbacks", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 23, + "Function Name": "Unknown_Block", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1992, - "End Line": 2014 + "Start Line": 735, + "End Line": 740 }, { - "Function Name": "addCallback", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 569, - "End Line": 578 + "Start Line": 719, + "End Line": 722 }, { - "Function Name": "addCallback", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 599, - "End Line": 608 + "Start Line": 727, + "End Line": 730 }, { - "Function Name": "addBoth", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 686, - "End Line": 695 + "Start Line": 756, + "End Line": 759 }, { - "Function Name": "addBoth", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 9, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 698, - "End Line": 706 + "Start Line": 765, + "End Line": 768 }, { - "Function Name": "addBoth", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 9, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 709, - "End Line": 717 + "Start Line": 788, + "End Line": 791 }, { - "Function Name": "addBoth", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 720, - "End Line": 729 + "Start Line": 119, + "End Line": 123 }, { - "Function Name": "__aexit__", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2203, - "End Line": 2212 + "Start Line": 236, + "End Line": 240 }, { - "Function Name": "addCallback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 560, - "End Line": 566 + "Start Line": 559, + "End Line": 562 }, { - "Function Name": "addCallback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 581, - "End Line": 587 - }, - { - "Function Name": "addCallback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 590, - "End Line": 596 - }, - { - "Function Name": "addCallback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 611, - "End Line": 617 - }, - { - "Function Name": "addErrback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 635, - "End Line": 641 - }, - { - "Function Name": "addErrback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 644, - "End Line": 650 + "Start Line": 567, + "End Line": 570 }, { - "Function Name": "addErrback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 653, - "End Line": 659 + "Start Line": 588, + "End Line": 591 }, { - "Function Name": "addBoth", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 677, - "End Line": 683 + "Start Line": 598, + "End Line": 601 }, { - "Function Name": "addBoth", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 732, - "End Line": 738 + "Start Line": 603, + "End Line": 606 }, { - "Function Name": "addBoth", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 741, - "End Line": 747 + "Start Line": 617, + "End Line": 620 }, { - "Function Name": "_DeferredList", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1425, - "End Line": 1431 + "Start Line": 622, + "End Line": 625 }, { - "Function Name": "_DeferredList", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1434, - "End Line": 1440 + "Start Line": 627, + "End Line": 630 }, { - "Function Name": "_DeferredList", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 8, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1442, - "End Line": 1449 + "Start Line": 632, + "End Line": 634 }, { - "Function Name": "run", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 8, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2142, - "End Line": 2149 + "Start Line": 773, + "End Line": 776 }, { - "Function Name": "run", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 8, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2152, - "End Line": 2159 + "Start Line": 778, + "End Line": 781 }, { - "Function Name": "succeed", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 22, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 102, - "End Line": 123 - }, + "Start Line": 783, + "End Line": 786 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 117, + "Sequential Logic Declarations": 55, + "Function Parameters": 44, + "Function/Method Declarations": 41, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 2, + "Type/Safety Bypasses": 15, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 146, + "State Mutations / Variable Reassignments": 422, + "Commented-out Code (Dead Logic)": 1, + "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": 28, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 1, + "Module Dependencies (Imports)": 5, + "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": 8, + "Pointer Arithmetic & Addressing": 246, + "Manual Memory Allocation": 6, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 10, + "Explicit Type Casts": 1, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 3, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 66, + "Structural Space Indentations": 236, + "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": 58, + "Design Camel Case": 0, + "Design Snake Case": 52, + "Design Pascal Case": 6, + "Design Upper Case": 0, + "Design Short Vars": 8, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 0, + "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)": 1, + "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)": 5, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "HTString.h", + "HTUtils.h", + "HText.h", + "HyperText.h", + "ctype.h" + ] + }, + "objective-c/worldwideweb/Anchor.m": { + "1. Artifact Identity": { + "Filename": "Anchor.m", + "Path": "objective-c/worldwideweb/Anchor.m", + "Language": "Objective-C", + "Architect": "Unknown Architect", + "Indentation Style": "Mixed (71.6% Spaces / 28.4% Tabs)", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "objective-c", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Shebang)" + }, + "2. Topological Coordinates": { + "X": -2424.44, + "Y": 1.94, + "Z": 4266.83 + }, + "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": 364, + "Coding LOC": 220, + "Documentation LOC": 85, + "Structural Magnitude": 234.4, + "Control Flow Ratio": "97.3%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 1.105 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "80.51%", + "Error & Exception Exposure": "88.11%", + "Tech Debt Exposure": "0.0%", + "Testing Exposure": "80.0%", + "API Exposure": "8.13%", + "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": "35.03%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ { - "Function Name": "_cancellableInlineCallbacks", - "Structural Impact": 2.5, + "Function Name": "selectDiagnostic", + "Structural Impact": 22.3, "Lines of Code (LOC)": 21, - "Control Flow Branches": 0, + "Control Flow Branches": 14, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2017, - "End Line": 2037 + "Control Flow Ratio": "100.0%", + "Start Line": 277, + "End Line": 297 }, { - "Function Name": "_addCancelCallbackToDeferred", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, + "Function Name": "newParent", + "Structural Impact": 13.3, + "Lines of Code (LOC)": 23, + "Control Flow Branches": 6, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1976, - "End Line": 1989 - }, - { - "Function Name": "run", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 2162, - "End Line": 2165 + "Control Flow Ratio": "100.0%", + "Start Line": 84, + "End Line": 106 }, { - "Function Name": "_cancelAcquire", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 0, + "Function Name": "equivalent", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 5, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2234, - "End Line": 2246 + "Control Flow Ratio": "100.0%", + "Start Line": 69, + "End Line": 75 }, { - "Function Name": "_cancelAcquire", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2306, - "End Line": 2318 + "Function Name": "moveBy", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 172, + "End Line": 188 }, { - "Function Name": "__init__", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 2380, - "End Line": 2386 + "Function Name": "free", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 5, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 214, + "End Line": 222 }, { - "Function Name": "_cancelGet", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2388, - "End Line": 2400 + "Function Name": "isLastChild", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 3, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 200, + "End Line": 208 }, { - "Function Name": "maybeDeferred", - "Structural Impact": 2.3, + "Function Name": "setAddress", + "Structural Impact": 4.5, "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 168, - "End Line": 173 + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 313, + "End Line": 318 }, { - "Function Name": "maybeDeferred", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 161, - "End Line": 164 + "Function Name": "unlink", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 234, + "End Line": 242 }, { - "Function Name": "maybeDeferred", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 177, - "End Line": 180 + "Function Name": "delete", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 254, + "End Line": 259 }, { - "Function Name": "__init__", - "Structural Impact": 2.2, + "Function Name": "node", + "Structural Impact": 3.2, "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 1380, - "End Line": 1383 - }, - { - "Function Name": "fail", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 126, - "End Line": 139 + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 356, + "End Line": 359 }, { - "Function Name": "returnValue", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, + "Function Name": "setManager", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1746, - "End Line": 1759 + "Control Flow Ratio": "100.0%", + "Start Line": 34, + "End Line": 38 }, { - "Function Name": "logError", - "Structural Impact": 2.0, + "Function Name": "new", + "Structural Impact": 2.5, "Lines of Code (LOC)": 11, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 89, - "End Line": 99 - }, - { - "Function Name": "__init_subclass__", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1333, - "End Line": 1336 - }, - { - "Function Name": "__init__", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1645, - "End Line": 1647 - }, - { - "Function Name": "_releaseAndReturn", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2137, - "End Line": 2139 - }, - { - "Function Name": "setDebugging", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 262, - "End Line": 269 + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 47, + "End Line": 57 }, { - "Function Name": "__str__", - "Structural Impact": 1.8, + "Function Name": "initialize", + "Structural Impact": 2.4, "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1392, - "End Line": 1398 + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 26, + "End Line": 32 }, { - "Function Name": "__init__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1738, - "End Line": 1739 + "Function Name": "back", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 162, + "End Line": 165 }, { - "Function Name": "pause", - "Structural Impact": 1.7, + "Function Name": "unload", + "Structural Impact": 2.2, "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 930, - "End Line": 934 - }, - { - "Function Name": "_continuation", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 998, - "End Line": 1003 - }, - { - "Function Name": "__repr__", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1385, - "End Line": 1390 + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 246, + "End Line": 250 }, { - "Function Name": "execute", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2188, - "End Line": 2193 + "Function Name": "select", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 306, + "End Line": 309 }, { - "Function Name": "__aenter__", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2197, - "End Line": 2201 + "Function Name": "address", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 322, + "End Line": 325 }, { - "Function Name": "cancel", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1262, - "End Line": 1264 + "Function Name": "next", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 190, + "End Line": 190 }, { - "Function Name": "timeout", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 250, - "End Line": 251 + "Function Name": "previous", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 191, + "End Line": 191 }, { - "Function Name": "passthru", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 254, - "End Line": 255 + "Function Name": "sources", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 226, + "End Line": 226 }, { - "Function Name": "_failthru", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 258, - "End Line": 259 + "Function Name": "parent", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 230, + "End Line": 230 }, { - "Function Name": "callbacks", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 477, - "End Line": 478 + "Function Name": "destination", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 361, + "End Line": 361 }, { - "Function Name": "__init__", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "setNode", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2134, - "End Line": 2135 + "Start Line": 263, + "End Line": 266 }, { - "Function Name": "acquire", + "Function Name": "newAddress", "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2215, - "End Line": 2216 + "Start Line": 117, + "End Line": 117 }, { - "Function Name": "release", + "Function Name": "linkTo", "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2219, - "End Line": 2220 - }, - { - "Function Name": "getDebugging", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 272, - "End Line": 276 + "Start Line": 331, + "End Line": 331 }, { - "Function Name": "timeItOut", + "Function Name": "follow", "Structural Impact": 1.1, - "Lines of Code (LOC)": 3, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 809, - "End Line": 811 + "Start Line": 341, + "End Line": 341 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 156, - "Sequential Logic Declarations": 283, - "Function Parameters": 119, - "Function/Method Declarations": 116, - "Class/Entity Declarations": 21, - "Defensive Programming Constructs": 53, - "Type/Safety Bypasses": 78, + "Control Flow Branches": 73, + "Sequential Logic Declarations": 2, + "Function Parameters": 51, + "Function/Method Declarations": 26, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 7, + "Type/Safety Bypasses": 1, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 93, - "State Mutations / Variable Reassignments": 146, - "Commented-out Code (Dead Logic)": 5, - "Structured Documentation Blocks": 154, - "Unit Test Assertions": 18, - "Asynchronous/Concurrent Execution": 1, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 3, + "I/O and Network Boundaries": 2, + "Exposed API / Public Exports": 10, + "State Mutations / Variable Reassignments": 105, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 2, + "Closures and Anonymous Functions": 0, "Global State Dependencies": 0, - "Decorators and Annotations": 35, - "Generic Type Abstractions": 220, - "Collection Iterators / Comprehensions": 2, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 9, - "Module Dependencies (Imports)": 22, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 9, "Authorship Metadata": 0, "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 1, + "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 1, + "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 0, - "Manual Memory Allocation": 0, + "Preprocessor Macros": 1, + "Pointer Arithmetic & Addressing": 24, + "Manual Memory Allocation": 8, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 6, - "Fatal Aborts & Exceptions": 13, + "Ad-hoc Print / Debug Statements": 11, + "Explicit Type Casts": 23, + "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, + "Bitwise Operations": 3, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 508, - "Event Listeners & Subscribers": 41, + "Immutable Data Declarations": 6, + "Resource Deallocation & Cleanup": 8, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 1035, + "Structural Tab Indentations": 31, + "Structural Space Indentations": 78, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -302422,17 +302625,17 @@ "Local Inference & Tensor Math": 0, "Traditional Machine Learning (Stats/Trees)": 0, "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 10, - "Vectorized Math & Tensor Operations": 15, - "Core Var Decl": 133, - "Design Camel Case": 30, - "Design Snake Case": 75, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 25, + "Design Camel Case": 3, + "Design Snake Case": 17, "Design Pascal Case": 5, - "Design Upper Case": 2, - "Design Short Vars": 6, - "Design Long Vars": 6, - "Duplicate Logic": 2, - "Orphaned Logic": 14, + "Design Upper Case": 0, + "Design Short Vars": 4, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -302440,7 +302643,7 @@ "High-Entropy / Obfuscated Logic": 0, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 3, + "Dynamic Code Execution (Eval/Exec)": 0, "Global Environment Mutation": 0, "Commented-Out Executable Logic": 0, "Low-Level Bitwise / Cryptographic Math": 0, @@ -302456,1501 +302659,1019 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 25, - "Direct Downstream (Dependency Blast Radius)": 1, + "Direct Upstream (Fragility)": 9, + "Direct Downstream (Dependency Blast Radius)": 0, "Total Upstream (Absolute Fragility)": 1, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "__future__", - "abc", - "asyncio", - "attr", - "contextvars", - "enum", - "functools", - "incremental", - "inspect", - "sys", - "traceback", - "treq", - "twisted.internet", - "twisted.internet.defer", - "twisted.internet.interfaces", - "twisted.internet.task", - "twisted.logger", - "twisted.python", - "twisted.python.compat", - "twisted.python.deprecate", - "twisted.python.failure", - "types", - "typing", - "typing_extensions", - "warnings" + "Anchor.h", + "HTParse.h", + "HTUtils.h", + "HyperManager.h", + "HyperText.h", + "appkit/appkit.h", + "ctype.h", + "objc/Object.h", + "objc/typedstream.h" ] }, - "python/twisted/http.py": { + "objective-c/worldwideweb/HyperManager.m": { "1. Artifact Identity": { - "Filename": "http.py", - "Path": "python/twisted/http.py", - "Language": "Python", + "Filename": "HyperManager.m", + "Path": "objective-c/worldwideweb/HyperManager.m", + "Language": "Objective-C", "Architect": "Unknown Architect", - "Indentation Style": "Spaces", - "Parent Entity": "Exception, Interface, basic.LineReceiver", + "Indentation Style": "Mixed (78.4% Spaces / 21.6% Tabs)", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "python", - "Lock Tier": 1.5, - "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" + "Folder Dominant Lang": "objective-c", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Shebang)" }, "2. Topological Coordinates": { - "X": 6526.3, - "Y": -58.65, - "Z": -1276.9 + "X": -2726.32, + "Y": 29.74, + "Z": 3713.99 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": "Unclassified", + "File Archetype": null, "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 3481, - "Coding LOC": 1513, - "Documentation LOC": 1339, - "Structural Magnitude": 1365.26, - "Control Flow Ratio": "44.2%", - "Popularity Rank": 9, + "Total LOC": 441, + "Coding LOC": 254, + "Documentation LOC": 102, + "Structural Magnitude": 364.18, + "Control Flow Ratio": "97.7%", + "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.677 + "Raw Cognitive Density": 1.1 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "21.4%", - "Error & Exception Exposure": "66.24%", - "Tech Debt Exposure": "11.53%", + "Cognitive Load Exposure": "80.24%", + "Error & Exception Exposure": "93.64%", + "Tech Debt Exposure": "30.43%", "Testing Exposure": "80.0%", - "API Exposure": "3.27%", + "API Exposure": "10.29%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "99.84%", - "Commented Logic Exposure": "5.23%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "10.12%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", + "Documentation Exposure": "69.84%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "addCookie", - "Structural Impact": 64.6, - "Lines of Code (LOC)": 115, - "Control Flow Branches": 16, - "Input Parameters": 11, - "Control Flow Ratio": "69.6%", - "Start Line": 1322, - "End Line": 1436 - }, - { - "Function Name": "write", - "Structural Impact": 36.5, - "Lines of Code (LOC)": 72, - "Control Flow Branches": 18, + "Function Name": "loadAnchor", + "Structural Impact": 41.6, + "Lines of Code (LOC)": 70, + "Control Flow Branches": 21, "Input Parameters": 2, - "Control Flow Ratio": "81.8%", - "Start Line": 1249, - "End Line": 1320 + "Control Flow Ratio": "100.0%", + "Start Line": 77, + "End Line": 146 }, { - "Function Name": "lineReceived", - "Structural Impact": 32.7, - "Lines of Code (LOC)": 65, - "Control Flow Branches": 16, - "Input Parameters": 2, - "Control Flow Ratio": "72.7%", - "Start Line": 2361, - "End Line": 2425 + "Function Name": "searchDiagnostic", + "Structural Impact": 16.6, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 167, + "End Line": 187 }, { - "Function Name": "requestReceived", - "Structural Impact": 27.5, - "Lines of Code (LOC)": 59, - "Control Flow Branches": 10, - "Input Parameters": 4, - "Control Flow Ratio": "83.3%", - "Start Line": 1038, - "End Line": 1096 + "Function Name": "closeOthers", + "Structural Impact": 12.5, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 356, + "End Line": 379 }, { - "Function Name": "_maybeChooseTransferDecoder", - "Structural Impact": 21.9, - "Lines of Code (LOC)": 37, - "Control Flow Branches": 9, - "Input Parameters": 3, - "Control Flow Ratio": "56.2%", - "Start Line": 2439, - "End Line": 2475 - }, - { - "Function Name": "parse_qs", - "Structural Impact": 21.3, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 9, - "Input Parameters": 3, - "Control Flow Ratio": "75.0%", - "Start Line": 366, - "End Line": 391 - }, - { - "Function Name": "stringToDatetime", - "Structural Impact": 21.0, - "Lines of Code (LOC)": 53, - "Control Flow Branches": 12, - "Input Parameters": 1, - "Control Flow Ratio": "75.0%", - "Start Line": 455, - "End Line": 507 - }, - { - "Function Name": "_dataReceived_CHUNK_LENGTH", - "Structural Impact": 18.2, - "Lines of Code (LOC)": 52, - "Control Flow Branches": 10, + "Function Name": "saveAll", + "Structural Impact": 10.9, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 6, "Input Parameters": 1, - "Control Flow Ratio": "71.4%", - "Start Line": 1999, - "End Line": 2050 - }, - { - "Function Name": "checkPersistence", - "Structural Impact": 18.1, - "Lines of Code (LOC)": 42, - "Control Flow Branches": 7, - "Input Parameters": 3, - "Control Flow Ratio": "63.6%", - "Start Line": 2626, - "End Line": 2667 - }, - { - "Function Name": "lineReceived", - "Structural Impact": 17.6, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 8, - "Input Parameters": 2, - "Control Flow Ratio": "72.7%", - "Start Line": 728, - "End Line": 767 - }, - { - "Function Name": "timegm", - "Structural Impact": 14.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 4, - "Input Parameters": 6, - "Control Flow Ratio": "57.1%", - "Start Line": 435, - "End Line": 452 + "Control Flow Ratio": "100.0%", + "Start Line": 330, + "End Line": 349 }, { - "Function Name": "writeHeaders", - "Structural Impact": 14.0, - "Lines of Code (LOC)": 35, + "Function Name": "registerAccess", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 9, "Control Flow Branches": 4, - "Input Parameters": 5, - "Control Flow Ratio": "80.0%", - "Start Line": 2743, - "End Line": 2777 - }, - { - "Function Name": "_parseRequestLine", - "Structural Impact": 13.8, - "Lines of Code (LOC)": 50, - "Control Flow Branches": 7, "Input Parameters": 1, - "Control Flow Ratio": "77.8%", - "Start Line": 245, - "End Line": 294 - }, - { - "Function Name": "setETag", - "Structural Impact": 13.7, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 6, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 1518, - "End Line": 1549 + "Control Flow Ratio": "100.0%", + "Start Line": 54, + "End Line": 62 }, { - "Function Name": "setHost", - "Structural Impact": 12.8, - "Lines of Code (LOC)": 33, + "Function Name": "windowDidBecomeKey", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 9, "Control Flow Branches": 4, - "Input Parameters": 4, - "Control Flow Ratio": "80.0%", - "Start Line": 1591, - "End Line": 1623 - }, - { - "Function Name": "dataReceived", - "Structural Impact": 12.8, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "62.5%", - "Start Line": 3242, - "End Line": 3289 + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 431, + "End Line": 439 }, { - "Function Name": "finish", - "Structural Impact": 12.7, - "Lines of Code (LOC)": 28, - "Control Flow Branches": 7, + "Function Name": "hyperTextDidBecomeMain", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 3, "Input Parameters": 1, - "Control Flow Ratio": "77.8%", - "Start Line": 1220, - "End Line": 1247 + "Control Flow Ratio": "100.0%", + "Start Line": 411, + "End Line": 423 }, { - "Function Name": "headerReceived", - "Structural Impact": 12.4, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "41.7%", - "Start Line": 2477, - "End Line": 2517 + "Function Name": "appDidInit", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 239, + "End Line": 249 }, { - "Function Name": "setLastModified", - "Structural Impact": 12.2, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "55.6%", - "Start Line": 1481, - "End Line": 1516 + "Function Name": "save", + "Structural Impact": 4.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 319, + "End Line": 325 }, { - "Function Name": "_dataReceived_TRAILER", - "Structural Impact": 12.1, - "Lines of Code (LOC)": 44, - "Control Flow Branches": 6, + "Function Name": "goHome", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 2, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2072, - "End Line": 2115 + "Control Flow Ratio": "100.0%", + "Start Line": 209, + "End Line": 212 }, { - "Function Name": "combinedLogFormatter", - "Structural Impact": 11.9, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 5, + "Function Name": "appOpenFile", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, "Input Parameters": 2, - "Control Flow Ratio": "71.4%", - "Start Line": 2995, - "End Line": 3025 + "Control Flow Ratio": "100.0%", + "Start Line": 260, + "End Line": 266 }, { - "Function Name": "__init__", - "Structural Impact": 11.8, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 3, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 3350, - "End Line": 3389 + "Function Name": "appOpenTempFile", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 272, + "End Line": 278 }, { - "Function Name": "requestDone", - "Structural Impact": 11.6, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 5, + "Function Name": "accessName", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, "Input Parameters": 2, - "Control Flow Ratio": "71.4%", - "Start Line": 2669, - "End Line": 2693 + "Control Flow Ratio": "100.0%", + "Start Line": 155, + "End Line": 159 }, { - "Function Name": "getRequestHostname", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 6, + "Function Name": "runPagelayout", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 1564, - "End Line": 1579 - }, - { - "Function Name": "rawDataReceived", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 2570, - "End Line": 2609 + "Control Flow Ratio": "100.0%", + "Start Line": 391, + "End Line": 396 }, { - "Function Name": "dataReceived", - "Structural Impact": 10.2, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "80.0%", - "Start Line": 1831, - "End Line": 1861 + "Function Name": "help", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 218, + "End Line": 221 }, { - "Function Name": "registerProducer", - "Structural Impact": 10.1, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 3, - "Input Parameters": 3, - "Control Flow Ratio": "75.0%", - "Start Line": 2828, - "End Line": 2868 + "Function Name": "goToBlank", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 227, + "End Line": 230 }, { - "Function Name": "_cleanup", - "Structural Impact": 9.6, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 5, + "Function Name": "appAcceptsAnotherFile", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "55.6%", - "Start Line": 958, - "End Line": 979 + "Control Flow Ratio": "100.0%", + "Start Line": 253, + "End Line": 256 }, { - "Function Name": "parseCookies", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 5, + "Function Name": "search", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "62.5%", - "Start Line": 1009, - "End Line": 1028 + "Control Flow Ratio": "100.0%", + "Start Line": 284, + "End Line": 287 }, { - "Function Name": "_escape", - "Structural Impact": 8.2, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 4, + "Function Name": "searchRTF", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "57.1%", - "Start Line": 2970, - "End Line": 2991 + "Control Flow Ratio": "100.0%", + "Start Line": 289, + "End Line": 292 }, { - "Function Name": "_getMultiPartArgs", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 3, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 314, - "End Line": 335 + "Function Name": "searchSGML", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 294, + "End Line": 297 }, { - "Function Name": "stopFactory", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 4, + "Function Name": "open", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "80.0%", - "Start Line": 3455, - "End Line": 3463 + "Control Flow Ratio": "100.0%", + "Start Line": 301, + "End Line": 304 }, { - "Function Name": "rawDataReceived", - "Structural Impact": 7.4, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 3, - "Input Parameters": 2, - "Control Flow Ratio": "75.0%", - "Start Line": 809, - "End Line": 818 + "Function Name": "openRTF", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 306, + "End Line": 309 }, { - "Function Name": "fromChunk", - "Structural Impact": 6.7, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 3, + "Function Name": "openSGML", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 521, - "End Line": 541 + "Control Flow Ratio": "100.0%", + "Start Line": 311, + "End Line": 314 }, { - "Function Name": "setResponseCode", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "66.7%", - "Start Line": 1438, - "End Line": 1449 + "Function Name": "print", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 384, + "End Line": 387 }, { - "Function Name": "_dataReceived_CRLF", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 3, + "Function Name": "traceOn", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "42.9%", - "Start Line": 2052, - "End Line": 2070 + "Control Flow Ratio": "100.0%", + "Start Line": 41, + "End Line": 41 }, { - "Function Name": "parseContentRange", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 3, + "Function Name": "traceOff", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 544, - "End Line": 559 + "Control Flow Ratio": "100.0%", + "Start Line": 42, + "End Line": 42 }, { - "Function Name": "_ensureBytes", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 3, + "Function Name": "back", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "42.9%", - "Start Line": 1380, - "End Line": 1396 + "Control Flow Ratio": "100.0%", + "Start Line": 198, + "End Line": 198 }, { - "Function Name": "_authorize", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 3, + "Function Name": "next", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 1677, - "End Line": 1693 + "Control Flow Ratio": "100.0%", + "Start Line": 199, + "End Line": 199 }, { - "Function Name": "allHeadersReceived", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, + "Function Name": "previous", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 2611, - "End Line": 2624 + "Control Flow Ratio": "100.0%", + "Start Line": 200, + "End Line": 200 }, { - "Function Name": "__init__", - "Structural Impact": 6.2, - "Lines of Code (LOC)": 34, + "Function Name": "new", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 6, "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "50.0%", - "Start Line": 923, - "End Line": 956 + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 34, + "End Line": 39 }, { - "Function Name": "startFactory", - "Structural Impact": 6.1, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "75.0%", - "Start Line": 3446, - "End Line": 3453 + "Function Name": "name", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 47, + "End Line": 50 }, { - "Function Name": "pauseProducing", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 34, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 2897, - "End Line": 2930 + "Function Name": "manager", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 44, + "End Line": 44 }, { - "Function Name": "connectionLost", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 2, + "Function Name": "setManager", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 45, + "End Line": 45 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 84, + "Sequential Logic Declarations": 2, + "Function Parameters": 73, + "Function/Method Declarations": 34, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 7, + "Type/Safety Bypasses": 4, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 8, + "Exposed API / Public Exports": 22, + "State Mutations / Variable Reassignments": 153, + "Commented-out Code (Dead Logic)": 4, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 12, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 5, + "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": 0, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 2, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 1, + "Pointer Arithmetic & Addressing": 7, + "Manual Memory Allocation": 5, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 8, + "Explicit Type Casts": 17, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 8, + "Resource Deallocation & Cleanup": 5, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 27, + "Structural Space Indentations": 98, + "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": 32, + "Design Camel Case": 3, + "Design Snake Case": 20, + "Design Pascal Case": 0, + "Design Upper Case": 6, + "Design Short Vars": 14, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 0, + "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)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "HTAccess.h", + "HTParse.h", + "HTUtils.h", + "HyperManager.h", + "HyperText.h", + "WWWPageLayout.h" + ] + }, + "objective-c/worldwideweb/HyperText.h": { + "1. Artifact Identity": { + "Filename": "HyperText.h", + "Path": "objective-c/worldwideweb/HyperText.h", + "Language": "Objective-C", + "Architect": "Unknown Architect", + "Indentation Style": "Tabs", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "objective-c", + "Lock Tier": 0, + "Identity Proof": "Sibling Anchor (.m)" + }, + "2. Topological Coordinates": { + "X": -3318.16, + "Y": -36.27, + "Z": 3844.86 + }, + "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": 95, + "Coding LOC": 62, + "Documentation LOC": 10, + "Structural Magnitude": 91.44, + "Control Flow Ratio": "0.0%", + "Popularity Rank": 4, + "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": "0.0%", + "Error & Exception Exposure": "0.0%", + "Tech Debt Exposure": "0.0%", + "Testing Exposure": "80.0%", + "API Exposure": "15.82%", + "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": "100.0%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "readSGML", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 1727, - "End Line": 1738 + "Control Flow Ratio": "0.0%", + "Start Line": 34, + "End Line": 34 }, { - "Function Name": "dataReceived", - "Structural Impact": 5.6, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, + "Function Name": "writeSGML", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 2147, - "End Line": 2155 + "Control Flow Ratio": "0.0%", + "Start Line": 35, + "End Line": 35 }, { - "Function Name": "connectionLost", - "Structural Impact": 5.6, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, + "Function Name": "replaceSel", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 2719, - "End Line": 2727 + "Control Flow Ratio": "0.0%", + "Start Line": 53, + "End Line": 53 }, { - "Function Name": "urlparse", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 2, + "Function Name": "newAnchor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 338, - "End Line": 363 + "Control Flow Ratio": "0.0%", + "Start Line": 32, + "End Line": 32 }, { - "Function Name": "isSecure", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 2, + "Function Name": "readText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 1656, - "End Line": 1675 + "Control Flow Ratio": "0.0%", + "Start Line": 37, + "End Line": 37 }, { - "Function Name": "datetimeToString", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, + "Function Name": "setFormat", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 394, - "End Line": 411 + "Control Flow Ratio": "0.0%", + "Start Line": 44, + "End Line": 44 }, { - "Function Name": "noMoreData", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, + "Function Name": "applyToSimilar", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 1863, - "End Line": 1880 + "Control Flow Ratio": "0.0%", + "Start Line": 48, + "End Line": 48 }, { - "Function Name": "_dataReceived_BODY", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, + "Function Name": "applyStyle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2117, - "End Line": 2134 + "Control Flow Ratio": "0.0%", + "Start Line": 49, + "End Line": 49 }, { - "Function Name": "resumeProducing", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, + "Function Name": "selectUnstyled", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 2932, - "End Line": 2949 + "Control Flow Ratio": "0.0%", + "Start Line": 50, + "End Line": 50 }, { - "Function Name": "getClientIP", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 2, + "Function Name": "updateStyle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 1626, - "End Line": 1638 + "Control Flow Ratio": "0.0%", + "Start Line": 51, + "End Line": 51 }, { - "Function Name": "unregisterProducer", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 2, + "Function Name": "selectionStyle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2870, - "End Line": 2883 + "Control Flow Ratio": "0.0%", + "Start Line": 52, + "End Line": 52 }, { - "Function Name": "registerProducer", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "50.0%", - "Start Line": 1124, - "End Line": 1136 + "Function Name": "appendStyle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 58, + "End Line": 58 }, { - "Function Name": "_getContentFile", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, + "Function Name": "appendText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 837, - "End Line": 843 + "Control Flow Ratio": "0.0%", + "Start Line": 59, + "End Line": 59 }, { - "Function Name": "__eq__", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 1747, - "End Line": 1765 + "Function Name": "appendCharacter", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 60, + "End Line": 60 }, { - "Function Name": "sendHeader", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "50.0%", - "Start Line": 702, - "End Line": 708 + "Function Name": "appendBeginAnchor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 61, + "End Line": 61 }, { - "Function Name": "getHeader", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 1147, - "End Line": 1162 + "Function Name": "linkSelTo", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 75, + "End Line": 75 }, { - "Function Name": "extractHeader", - "Structural Impact": 4.2, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 713, - "End Line": 726 + "Function Name": "disconnectAnchor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 76, + "End Line": 76 }, { - "Function Name": "allContentReceived", - "Structural Impact": 4.2, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 1, + "Function Name": "selectAnchor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2519, - "End Line": 2545 + "Control Flow Ratio": "0.0%", + "Start Line": 77, + "End Line": 77 }, { - "Function Name": "log", - "Structural Impact": 4.0, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 3471, - "End Line": 3480 + "Function Name": "setTitle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 79, + "End Line": 79 }, { - "Function Name": "_set_logFile", - "Structural Impact": 3.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 3410, - "End Line": 3418 + "Function Name": "dump", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 80, + "End Line": 80 }, { - "Function Name": "datetimeToLogString", - "Structural Impact": 3.8, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 1, + "Function Name": "readText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 414, - "End Line": 432 + "Control Flow Ratio": "0.0%", + "Start Line": 84, + "End Line": 84 }, { - "Function Name": "getUser", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, + "Function Name": "readRichText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 1695, - "End Line": 1709 + "Control Flow Ratio": "0.0%", + "Start Line": 85, + "End Line": 85 }, { - "Function Name": "getPassword", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 1711, - "End Line": 1725 - }, - { - "Function Name": "isSecure", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 2729, - "End Line": 2741 - }, - { - "Function Name": "notifyFinish", - "Structural Impact": 3.4, - "Lines of Code (LOC)": 42, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1177, - "End Line": 1218 - }, - { - "Function Name": "getAllHeaders", - "Structural Impact": 3.4, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 1551, - "End Line": 1562 - }, - { - "Function Name": "stopProducing", - "Structural Impact": 3.4, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2885, - "End Line": 2895 - }, - { - "Function Name": "handleResponseEnd", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 772, - "End Line": 781 - }, - { - "Function Name": "noMoreData", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2157, - "End Line": 2166 - }, - { - "Function Name": "connectionMade", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2348, - "End Line": 2355 - }, - { - "Function Name": "timeoutConnection", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2695, - "End Line": 2702 - }, - { - "Function Name": "loseConnection", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 1740, - "End Line": 1745 - }, - { - "Function Name": "_get_logFile", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 3404, - "End Line": 3407 - }, - { - "Function Name": "_protocolUpgradeForWebsockets", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2547, - "End Line": 2568 - }, - { - "Function Name": "setHeader", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 1451, - "End Line": 1464 - }, - { - "Function Name": "__init__", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 1986, - "End Line": 1997 - }, - { - "Function Name": "buildProtocol", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3429, - "End Line": 3444 - }, - { - "Function Name": "redirect", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1466, - "End Line": 1479 - }, - { - "Function Name": "__init__", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 1826, - "End Line": 1829 - }, - { - "Function Name": "gotLength", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 997, - "End Line": 1007 - }, - { - "Function Name": "getCookie", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1164, - "End Line": 1175 - }, - { - "Function Name": "requestFactory", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3165, - "End Line": 3176 - }, - { - "Function Name": "site", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3188, - "End Line": 3199 - }, - { - "Function Name": "timeOut", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3209, - "End Line": 3220 - }, - { - "Function Name": "__repr__", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1098, - "End Line": 1112 - }, - { - "Function Name": "getClientAddress", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1640, - "End Line": 1654 - }, - { - "Function Name": "write", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2779, - "End Line": 2788 - }, - { - "Function Name": "writeSequence", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2790, - "End Line": 2799 - }, - { - "Function Name": "getClientAddress", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 3050, - "End Line": 3064 - }, - { - "Function Name": "proxiedLogFormatter", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3093, - "End Line": 3101 - }, - { - "Function Name": "callLater", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3231, - "End Line": 3240 - }, - { - "Function Name": "sendCommand", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 699, - "End Line": 700 - }, - { - "Function Name": "handleContentChunk", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1030, - "End Line": 1036 - }, - { - "Function Name": "forceAbortClient", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2704, - "End Line": 2717 - }, - { - "Function Name": "noLongerQueued", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 984, - "End Line": 995 - }, - { - "Function Name": "_openLogFile", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3465, - "End Line": 3469 - }, - { - "Function Name": "_parseContentType", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 297, - "End Line": 305 - }, - { - "Function Name": "toChunk", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 510, - "End Line": 518 - }, - { - "Function Name": "_sanitize", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1398, - "End Line": 1406 - }, - { - "Function Name": "getHost", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1581, - "End Line": 1589 - }, - { - "Function Name": "_dataReceived_FINISHED", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2136, - "End Line": 2145 - }, - { - "Function Name": "dataReceived", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2357, - "End Line": 2359 - }, - { - "Function Name": "_finishRequestBody", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2427, - "End Line": 2429 - }, - { - "Function Name": "loseConnection", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2817, - "End Line": 2826 - }, - { - "Function Name": "_respondToBadRequestAndDisconnect", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2958, - "End Line": 2967 - }, - { - "Function Name": "factory", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3151, - "End Line": 3153 - }, - { - "Function Name": "writeSequence", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 666, - "End Line": 667 - }, - { - "Function Name": "__getattr__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 669, - "End Line": 670 - }, - { - "Function Name": "connectionLost", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 769, - "End Line": 770 - }, - { - "Function Name": "handleResponsePart", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 783, - "End Line": 784 - }, - { - "Function Name": "process", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1114, - "End Line": 1120 - }, - { - "Function Name": "__hash__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1767, - "End Line": 1773 - }, - { - "Function Name": "_failChooseTransferDecoder", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2431, - "End Line": 2437 - }, - { - "Function Name": "getPeer", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2801, - "End Line": 2807 - }, - { - "Function Name": "getHost", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "mouseDown", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2809, - "End Line": 2815 - }, - { - "Function Name": "__init__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3040, - "End Line": 3041 + "Start Line": 86, + "End Line": 86 }, { - "Function Name": "requestFactory", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "keyDown", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3156, - "End Line": 3162 + "Start Line": 87, + "End Line": 87 }, { - "Function Name": "site", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "paste", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3179, - "End Line": 3185 + "Start Line": 88, + "End Line": 88 }, { - "Function Name": "_genericHTTPChannelProtocolFactory", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "windowDidBecomeMain", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3292, - "End Line": 3298 + "Start Line": 92, + "End Line": 92 }, { - "Function Name": "unregisterProducer", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "Accmgr", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 1138, - "End Line": 1143 + "Start Line": 38, + "End Line": 38 }, { - "Function Name": "__init__", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "isIndex", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 2341, - "End Line": 2346 + "Start Line": 39, + "End Line": 39 }, { - "Function Name": "_send100Continue", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "setupWindow", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 2951, - "End Line": 2956 + "Start Line": 40, + "End Line": 40 }, { - "Function Name": "clientproto", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "adjustWindow", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3068, - "End Line": 3073 + "Start Line": 41, + "End Line": 41 }, { - "Function Name": "code", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "format", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3076, - "End Line": 3081 + "Start Line": 43, + "End Line": 43 }, { - "Function Name": "sentLength", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "appendBegin", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3084, - "End Line": 3089 + "Start Line": 57, + "End Line": 57 }, { - "Function Name": "factory", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "appendEndAnchor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3144, - "End Line": 3148 + "Start Line": 62, + "End Line": 62 }, { - "Function Name": "timeOut", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "appendEnd", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3202, - "End Line": 3206 + "Start Line": 63, + "End Line": 63 }, { - "Function Name": "callLater", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "nodeAnchor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3223, - "End Line": 3228 + "Start Line": 70, + "End Line": 70 }, { - "Function Name": "_updateLogDateTime", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "followLink", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3422, - "End Line": 3427 + "Start Line": 71, + "End Line": 71 }, { - "Function Name": "__init__", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "unlinkSelection", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 663, - "End Line": 664 + "Start Line": 72, + "End Line": 72 }, { - "Function Name": "endHeaders", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "referenceSelected", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 710, - "End Line": 711 + "Start Line": 73, + "End Line": 73 }, { - "Function Name": "connectionMade", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "referenceAll", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 786, - "End Line": 787 + "Start Line": 74, + "End Line": 74 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 295, - "Sequential Logic Declarations": 372, - "Function Parameters": 156, - "Function/Method Declarations": 153, - "Class/Entity Declarations": 17, - "Defensive Programming Constructs": 52, - "Type/Safety Bypasses": 28, + "Control Flow Branches": 0, + "Sequential Logic Declarations": 2, + "Function Parameters": 28, + "Function/Method Declarations": 40, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 0, + "Type/Safety Bypasses": 0, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 13, - "Exposed API / Public Exports": 148, - "State Mutations / Variable Reassignments": 329, - "Commented-out Code (Dead Logic)": 4, - "Structured Documentation Blocks": 292, - "Unit Test Assertions": 3, + "I/O and Network Boundaries": 7, + "Exposed API / Public Exports": 36, + "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": 3, - "Global State Dependencies": 0, - "Decorators and Annotations": 23, - "Generic Type Abstractions": 44, - "Collection Iterators / Comprehensions": 9, + "UI / View Layer Components": 3, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 2, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 14, - "Module Dependencies (Imports)": 35, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 4, "Authorship Metadata": 0, - "Planned Work (TODOs)": 4, - "Acknowledged Tech Debt (FIXMEs)": 3, + "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, + "Preprocessor Macros": 7, "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": 14, - "Fatal Aborts & Exceptions": 33, + "Explicit Type Casts": 29, + "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 3, + "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 4, - "Private / Encapsulated Scopes": 408, - "Event Listeners & Subscribers": 1, + "Immutable Data Declarations": 3, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 1410, + "Structural Tab Indentations": 6, + "Structural Space Indentations": 0, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, "Ipc Rpc Bridges": 0, "Feature Flags": 0, "Serialization Parsing": 0, - "Regex Execution": 1, - "Time Date Logic": 4, + "Regex Execution": 0, + "Time Date Logic": 0, "Cloud LLM API Integrations": 0, "AI Orchestration Frameworks": 0, "Vector Databases (RAG)": 0, @@ -303958,26 +303679,26 @@ "Traditional Machine Learning (Stats/Trees)": 0, "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 22, - "Core Var Decl": 292, - "Design Camel Case": 55, - "Design Snake Case": 199, - "Design Pascal Case": 13, - "Design Upper Case": 5, - "Design Short Vars": 20, - "Design Long Vars": 1, + "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": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 129, + "High-Entropy / Obfuscated Logic": 0, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 2, + "Dynamic Code Execution (Eval/Exec)": 0, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 8, + "Commented-Out Executable Logic": 0, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, @@ -303991,410 +303712,809 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 34, - "Direct Downstream (Dependency Blast Radius)": 9, - "Total Upstream (Absolute Fragility)": 2, - "Total Downstream (Absolute Dependency Blast Radius)": 2 + "Direct Upstream (Fragility)": 4, + "Direct Downstream (Dependency Blast Radius)": 4, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 4 }, "9. Extracted Dependencies": [ - "__future__", - "base64", - "binascii", - "calendar", - "collections", - "email", - "email.message", - "incremental", - "io", - "math", - "os", - "re", - "tempfile", - "time", - "twisted.internet", - "twisted.internet._producer_helpers", - "twisted.internet.defer", - "twisted.internet.interfaces", - "twisted.logger", - "twisted.protocols", - "twisted.python", - "twisted.python.compat", - "twisted.python.components", - "twisted.python.deprecate", - "twisted.python.failure", - "twisted.web._abnf", - "twisted.web._http2", - "twisted.web._responses", - "twisted.web.http_headers", - "twisted.web.iweb", - "typing", - "urllib.parse", - "warnings", - "zope.interface" + "Anchor.h", + "HTStyle.h", + "appkit/Text.h", + "objc/List.h" ] }, - "python/twisted/reflect.py": { + "objective-c/worldwideweb/HyperText.m": { "1. Artifact Identity": { - "Filename": "reflect.py", - "Path": "python/twisted/reflect.py", - "Language": "Python", - "Architect": "Unknown Architect", - "Indentation Style": "Spaces", - "Parent Entity": "Exception, ValueError, InvalidName", + "Filename": "HyperText.m", + "Path": "objective-c/worldwideweb/HyperText.m", + "Language": "Objective-C", + "Architect": "Tim Berners-Lee", + "Indentation Style": "Mixed (75.2% Spaces / 24.8% Tabs)", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "python", - "Lock Tier": 1.5, - "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" + "Folder Dominant Lang": "objective-c", + "Lock Tier": 0, + "Identity Proof": "Sibling Anchor (.h)" }, "2. Topological Coordinates": { - "X": 6805.67, - "Y": -135.8, - "Z": -842.37 + "X": -2791.6, + "Y": -16.03, + "Z": 3856.01 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": "Unclassified", + "File Archetype": null, "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 687, - "Coding LOC": 295, - "Documentation LOC": 249, - "Structural Magnitude": 264.9, - "Control Flow Ratio": "40.6%", - "Popularity Rank": 2, + "Total LOC": 1614, + "Coding LOC": 1039, + "Documentation LOC": 290, + "Structural Magnitude": 1624.78, + "Control Flow Ratio": "99.3%", + "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.762 + "Raw Cognitive Density": 1.038 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "25.62%", - "Error & Exception Exposure": "41.9%", - "Tech Debt Exposure": "13.92%", + "Cognitive Load Exposure": "75.97%", + "Error & Exception Exposure": "99.19%", + "Tech Debt Exposure": "74.52%", "Testing Exposure": "80.0%", - "API Exposure": "3.52%", + "API Exposure": "1.88%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "47.24%", - "Commented Logic Exposure": "5.37%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "5.27%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "22.29%", + "Documentation Exposure": "11.92%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "objgrep", - "Structural Impact": 62.9, - "Lines of Code (LOC)": 117, - "Control Flow Branches": 18, - "Input Parameters": 8, - "Control Flow Ratio": "66.7%", - "Start Line": 534, - "End Line": 650 + "Function Name": "applyStyle", + "Structural Impact": 70.8, + "Lines of Code (LOC)": 137, + "Control Flow Branches": 31, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 813, + "End Line": 949 }, { - "Function Name": "addMethodNamesToDict", - "Structural Impact": 19.9, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 7, - "Input Parameters": 4, - "Control Flow Ratio": "77.8%", - "Start Line": 48, - "End Line": 87 + "Function Name": "willChange", + "Structural Impact": 28.6, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 15, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 640, + "End Line": 657 }, { - "Function Name": "accumulateMethods", - "Structural Impact": 19.9, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 7, - "Input Parameters": 4, - "Control Flow Ratio": "77.8%", - "Start Line": 109, - "End Line": 149 + "Function Name": "adjustWindow", + "Structural Impact": 20.5, + "Lines of Code (LOC)": 110, + "Control Flow Branches": 14, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 194, + "End Line": 303 }, { - "Function Name": "namedAny", - "Structural Impact": 17.2, - "Lines of Code (LOC)": 62, - "Control Flow Branches": 9, + "Function Name": "endOfParagraph", + "Structural Impact": 20.0, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 12, "Input Parameters": 1, - "Control Flow Ratio": "81.8%", - "Start Line": 249, - "End Line": 310 + "Control Flow Ratio": "100.0%", + "Start Line": 730, + "End Line": 761 }, { - "Function Name": "filenameToModuleName", - "Structural Impact": 11.7, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 6, + "Function Name": "appendStyle", + "Structural Impact": 17.1, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 10, "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 313, - "End Line": 348 + "Control Flow Ratio": "100.0%", + "Start Line": 1255, + "End Line": 1284 }, { - "Function Name": "accumulateClassDict", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 35, - "Control Flow Branches": 3, - "Input Parameters": 4, - "Control Flow Ratio": "75.0%", - "Start Line": 465, - "End Line": 499 + "Function Name": "apply", + "Structural Impact": 17.0, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 606, + "End Line": 634 }, { - "Function Name": "accumulateClassList", - "Structural Impact": 9.4, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 3, - "Input Parameters": 4, - "Control Flow Ratio": "75.0%", - "Start Line": 502, - "End Line": 511 + "Function Name": "followLink", + "Structural Impact": 16.9, + "Lines of Code (LOC)": 39, + "Control Flow Branches": 14, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 533, + "End Line": 571 }, { - "Function Name": "_importAndCheckStack", - "Structural Impact": 7.0, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 3, + "Function Name": "linkSelTo", + "Structural Impact": 16.8, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 10, "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 221, - "End Line": 246 + "Control Flow Ratio": "100.0%", + "Start Line": 442, + "End Line": 466 }, { - "Function Name": "safe_str", + "Function Name": "applyStyle", + "Structural Impact": 16.8, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 958, + "End Line": 981 + }, + { + "Function Name": "run_match", + "Structural Impact": 16.1, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 767, + "End Line": 777 + }, + { + "Function Name": "startOfParagraph", + "Structural Impact": 15.0, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 9, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 702, + "End Line": 718 + }, + { + "Function Name": "applyToSimilar", + "Structural Impact": 14.1, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 8, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 988, + "End Line": 1014 + }, + { + "Function Name": "dump", + "Structural Impact": 14.0, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 128, + "End Line": 180 + }, + { + "Function Name": "windowWillClose", + "Structural Impact": 13.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 8, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1099, + "End Line": 1108 + }, + { + "Function Name": "selectAnchor", + "Structural Impact": 12.3, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 503, + "End Line": 522 + }, + { + "Function Name": "keyDown", + "Structural Impact": 12.1, + "Lines of Code (LOC)": 44, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1426, + "End Line": 1469 + }, + { + "Function Name": "mergeRun", + "Structural Impact": 9.1, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 785, + "End Line": 797 + }, + { + "Function Name": "referenceSelected", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 7, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 419, + "End Line": 437 + }, + { + "Function Name": "anchorSelected", + "Structural Impact": 8.8, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 7, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 394, + "End Line": 410 + }, + { + "Function Name": "mouseDown", + "Structural Impact": 8.8, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1407, + "End Line": 1412 + }, + { + "Function Name": "appendEnd", + "Structural Impact": 8.7, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 6, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 1305, + "End Line": 1338 + }, + { + "Function Name": "selectUnstyled", + "Structural Impact": 7.7, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 589, + "End Line": 601 + }, + { + "Function Name": "appendBegin", + "Structural Impact": 7.7, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 5, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 1217, + "End Line": 1250 + }, + { + "Function Name": "setupWindow", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 55, + "Control Flow Branches": 4, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 309, + "End Line": 363 + }, + { + "Function Name": "newAnchor", "Structural Impact": 6.6, "Lines of Code (LOC)": 18, "Control Flow Branches": 3, "Input Parameters": 1, - "Control Flow Ratio": "37.5%", - "Start Line": 418, - "End Line": 435 + "Control Flow Ratio": "100.0%", + "Start Line": 83, + "End Line": 100 }, { - "Function Name": "_determineClassName", + "Function Name": "updateStyle", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 663, + "End Line": 675 + }, + { + "Function Name": "disconnectAnchor", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 682, + "End Line": 694 + }, + { + "Function Name": "replaceSel", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 1037, + "End Line": 1050 + }, + { + "Function Name": "unlinkSelection", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 4, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 476, + "End Line": 487 + }, + { + "Function Name": "appendStartBlock", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 3, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 1189, + "End Line": 1213 + }, + { + "Function Name": "selectionStyle", "Structural Impact": 4.7, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 10, "Control Flow Branches": 2, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 365, - "End Line": 373 + "Control Flow Ratio": "100.0%", + "Start Line": 1019, + "End Line": 1028 }, { - "Function Name": "_safeFormat", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 25, + "Function Name": "readText", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 19, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 376, - "End Line": 400 + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1059, + "End Line": 1077 }, { - "Function Name": "requireModule", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 176, - "End Line": 192 + "Function Name": "initialize", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 50, + "End Line": 55 }, { - "Function Name": "safe_repr", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 13, + "Function Name": "appendBeginAnchor", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 9, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 403, - "End Line": 415 + "Control Flow Ratio": "100.0%", + "Start Line": 1375, + "End Line": 1383 }, { - "Function Name": "namedModule", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 10, + "Function Name": "readRichText", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 7, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 152, - "End Line": 161 + "Control Flow Ratio": "100.0%", + "Start Line": 1086, + "End Line": 1092 }, { - "Function Name": "_determineClass", + "Function Name": "appendCharacter", "Structural Impact": 3.1, "Lines of Code (LOC)": 5, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 358, - "End Line": 362 + "Control Flow Ratio": "100.0%", + "Start Line": 1361, + "End Line": 1365 }, { - "Function Name": "fullFuncName", + "Function Name": "appendText", "Structural Impact": 3.1, "Lines of Code (LOC)": 5, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 451, - "End Line": 455 + "Control Flow Ratio": "100.0%", + "Start Line": 1367, + "End Line": 1371 }, { - "Function Name": "prefixedMethodNames", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 28, - "End Line": 45 + "Function Name": "setTitle", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 573, + "End Line": 576 }, { - "Function Name": "prefixedMethods", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 90, - "End Line": 106 + "Function Name": "windowDidBecomeMain", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1112, + "End Line": 1115 }, { - "Function Name": "__init__", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 443, - "End Line": 445 + "Function Name": "setFormat", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 119, + "End Line": 119 }, { - "Function Name": "namedObject", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 164, - "End Line": 170 + "Function Name": "page_width", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 62, + "End Line": 72 }, { - "Function Name": "__call__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 447, - "End Line": 448 + "Function Name": "anchor", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 379, + "End Line": 388 }, { - "Function Name": "isSame", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 514, - "End Line": 515 + "Function Name": "appendEndAnchor", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 1386, + "End Line": 1393 }, { - "Function Name": "isLike", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 518, - "End Line": 519 + "Function Name": "free", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 108, + "End Line": 113 }, { - "Function Name": "isOfType", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 526, - "End Line": 527 + "Function Name": "referenceAll", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 490, + "End Line": 494 }, { - "Function Name": "findInstances", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 530, - "End Line": 531 + "Function Name": "format", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 118, + "End Line": 118 }, { - "Function Name": "qual", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "nodeAnchor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 368, + "End Line": 368 + }, + { + "Function Name": "isIndex", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 369, + "End Line": 369 + }, + { + "Function Name": "loadPlainText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 11, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 351, - "End Line": 355 + "Start Line": 1342, + "End Line": 1352 }, { - "Function Name": "getClass", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "paste", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 458, - "End Line": 462 + "Start Line": 1568, + "End Line": 1568 }, { - "Function Name": "modgrep", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "start_input", + "Structural Impact": 1.3, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 522, - "End Line": 523 + "Start Line": 1140, + "End Line": 1145 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 67, - "Sequential Logic Declarations": 98, - "Function Parameters": 28, - "Function/Method Declarations": 28, - "Class/Entity Declarations": 5, - "Defensive Programming Constructs": 30, - "Type/Safety Bypasses": 12, + "Control Flow Branches": 294, + "Sequential Logic Declarations": 2, + "Function Parameters": 195, + "Function/Method Declarations": 51, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 15, + "Type/Safety Bypasses": 7, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 11, - "Exposed API / Public Exports": 28, - "State Mutations / Variable Reassignments": 16, - "Commented-out Code (Dead Logic)": 1, - "Structured Documentation Blocks": 48, + "I/O and Network Boundaries": 14, + "Exposed API / Public Exports": 1, + "State Mutations / Variable Reassignments": 1123, + "Commented-out Code (Dead Logic)": 2, + "Structured Documentation Blocks": 0, "Unit Test Assertions": 0, "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, + "UI / View Layer Components": 20, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 2, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 3, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 13, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 11, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 1, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 25, + "Pointer Arithmetic & Addressing": 342, + "Manual Memory Allocation": 3, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 51, + "Explicit Type Casts": 91, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 29, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 4, + "Resource Deallocation & Cleanup": 9, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 164, + "Structural Space Indentations": 496, + "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": 160, + "Design Camel Case": 30, + "Design Snake Case": 125, + "Design Pascal Case": 0, + "Design Upper Case": 1, + "Design Short Vars": 29, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 22, + "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)": 11, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "../../../Implementation/HTAnchor.h", + "../../../Implementation/HTML.h", + "HTAnchor.h", + "HTML.h", + "HTParse.h", + "HTStyle.h", + "HTUtils.h", + "HyperAccess.h", + "HyperText.h", + "WWW.h", + "appkit/appkit.h" + ] + }, + "objective-c/worldwideweb/TcpAccess.m": { + "1. Artifact Identity": { + "Filename": "TcpAccess.m", + "Path": "objective-c/worldwideweb/TcpAccess.m", + "Language": "Objective-C", + "Architect": "Unknown Architect", + "Indentation Style": "Mixed (83.9% Spaces / 16.1% Tabs)", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "objective-c", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Shebang)" + }, + "2. Topological Coordinates": { + "X": -2315.42, + "Y": 61.12, + "Z": 3862.43 + }, + "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": 109, + "Coding LOC": 48, + "Documentation LOC": 30, + "Structural Magnitude": 50.56, + "Control Flow Ratio": "88.2%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.958 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "69.71%", + "Error & Exception Exposure": "78.76%", + "Tech Debt Exposure": "0.0%", + "Testing Exposure": "2.82%", + "API Exposure": "4.67%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "99.94%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "44.36%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "loadAnchor", + "Structural Impact": 16.3, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 92, + "End Line": 106 + }, + { + "Function Name": "accessName", + "Structural Impact": 16.1, + "Lines of Code (LOC)": 43, + "Control Flow Branches": 6, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 35, + "End Line": 77 + }, + { + "Function Name": "name", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 27, + "End Line": 30 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 15, + "Sequential Logic Declarations": 2, + "Function Parameters": 13, + "Function/Method Declarations": 3, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 2, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 4, + "Exposed API / Public Exports": 2, + "State Mutations / Variable Reassignments": 13, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 3, "Closures and Anonymous Functions": 0, "Global State Dependencies": 0, "Decorators and Annotations": 0, - "Generic Type Abstractions": 7, + "Generic Type Abstractions": 0, "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 13, - "Module Dependencies (Imports)": 14, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 4, "Authorship Metadata": 0, "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 1, + "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, @@ -304404,26 +304524,26 @@ "Manual Memory Allocation": 0, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 1, + "Ad-hoc Print / Debug Statements": 2, "Explicit Type Casts": 6, - "Fatal Aborts & Exceptions": 7, + "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, + "Immutable Data Declarations": 3, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 54, + "Private / Encapsulated Scopes": 0, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 246, + "Structural Tab Indentations": 5, + "Structural Space Indentations": 26, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, "Ipc Rpc Bridges": 0, "Feature Flags": 0, "Serialization Parsing": 0, - "Regex Execution": 1, + "Regex Execution": 0, "Time Date Logic": 0, "Cloud LLM API Integrations": 0, "AI Orchestration Frameworks": 0, @@ -304433,12 +304553,12 @@ "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 52, - "Design Camel Case": 26, - "Design Snake Case": 25, - "Design Pascal Case": 1, - "Design Upper Case": 0, - "Design Short Vars": 5, + "Core Var Decl": 4, + "Design Camel Case": 1, + "Design Snake Case": 1, + "Design Pascal Case": 0, + "Design Upper Case": 2, + "Design Short Vars": 3, "Design Long Vars": 0, "Duplicate Logic": 0, "Orphaned Logic": 0, @@ -304451,7 +304571,7 @@ "External Network & I/O Hooks": 0, "Dynamic Code Execution (Eval/Exec)": 0, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, + "Commented-Out Executable Logic": 2, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, @@ -304465,45 +304585,59 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 14, - "Direct Downstream (Dependency Blast Radius)": 2, - "Total Upstream (Absolute Fragility)": 3, - "Total Downstream (Absolute Dependency Blast Radius)": 2 + "Direct Upstream (Fragility)": 4, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "__future__", - "a", - "collections", - "io", - "os", - "path", - "pickle", - "re", - "sys", - "traceback", - "twisted.python.compat", - "twisted.python.deprecate", - "types", - "weakref" + "Anchor.h", + "HTTP.h", + "HTUtils.h", + "TcpAccess.h" ] - }, - "python/twisted/transport.py": { + } + } + }, + "python/twisted": { + "Directory Group Magnitude": 3286.88, + "File Count": 4, + "Ecosystem Fingerprint (Archetypes)": { + "Unclassified": "100.0%" + }, + "Average Risk Exposures": { + "Cognitive Load Exposure": "20.57%", + "Error & Exception Exposure": "61.61%", + "Tech Debt Exposure": "22.93%", + "Testing Exposure": "80.0%", + "API Exposure": "2.95%", + "Concurrency Exposure": "3.63%", + "State Flux Exposure": "85.29%", + "Commented Logic Exposure": "4.05%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "14.51%", + "Hardcoded Payload Artifacts": "6.14%" + }, + "Files": { + "python/twisted/defer.py": { "1. Artifact Identity": { - "Filename": "transport.py", - "Path": "python/twisted/transport.py", + "Filename": "defer.py", + "Path": "python/twisted/defer.py", "Language": "Python", "Architect": "Unknown Architect", "Indentation Style": "Spaces", - "Parent Entity": "Tuple[_DigestMod, bytes, bytes, int], protocol.Protocol, SSHTransportBase", + "Parent Entity": "Exception, TypeError, Enum", "Doc Umbrella": 0.0, "Folder Dominant Lang": "python", "Lock Tier": 1.5, "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": 6536.9, - "Y": -69.44, - "Z": -1814.3 + "X": 6211.21, + "Y": -60.8, + "Z": -1274.95 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -304512,822 +304646,1222 @@ "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 2264, - "Coding LOC": 1015, - "Documentation LOC": 886, - "Structural Magnitude": 775.6, - "Control Flow Ratio": "41.5%", - "Popularity Rank": 2, + "Total LOC": 2565, + "Coding LOC": 1151, + "Documentation LOC": 956, + "Structural Magnitude": 881.12, + "Control Flow Ratio": "35.5%", + "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.6 + "Raw Cognitive Density": 0.596 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "17.72%", - "Error & Exception Exposure": "69.28%", - "Tech Debt Exposure": "10.38%", + "Cognitive Load Exposure": "17.53%", + "Error & Exception Exposure": "69.03%", + "Tech Debt Exposure": "55.89%", "Testing Exposure": "80.0%", - "API Exposure": "3.24%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "99.86%", - "Commented Logic Exposure": "0.0%", + "API Exposure": "1.79%", + "Concurrency Exposure": "14.53%", + "State Flux Exposure": "94.23%", + "Commented Logic Exposure": "5.6%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", "Documentation Exposure": "11.92%", - "Hardcoded Payload Artifacts": "24.56%" + "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "ssh_KEXINIT", - "Structural Impact": 28.6, - "Lines of Code (LOC)": 121, - "Control Flow Branches": 12, - "Input Parameters": 2, - "Control Flow Ratio": "75.0%", - "Start Line": 864, - "End Line": 984 + "Function Name": "_runCallbacks", + "Structural Impact": 44.4, + "Lines of Code (LOC)": 153, + "Control Flow Branches": 25, + "Input Parameters": 1, + "Control Flow Ratio": "78.1%", + "Start Line": 1005, + "End Line": 1157 }, { - "Function Name": "getPacket", - "Structural Impact": 20.0, - "Lines of Code (LOC)": 61, - "Control Flow Branches": 11, - "Input Parameters": 1, - "Control Flow Ratio": "52.4%", - "Start Line": 662, - "End Line": 722 + "Function Name": "_inlineCallbacks", + "Structural Impact": 42.0, + "Lines of Code (LOC)": 169, + "Control Flow Branches": 14, + "Input Parameters": 4, + "Control Flow Ratio": "46.7%", + "Start Line": 1805, + "End Line": 1973 }, { - "Function Name": "dataReceived", - "Structural Impact": 16.1, - "Lines of Code (LOC)": 44, - "Control Flow Branches": 7, + "Function Name": "deferUntilLocked", + "Structural Impact": 24.1, + "Lines of Code (LOC)": 67, + "Control Flow Branches": 11, "Input Parameters": 2, - "Control Flow Ratio": "63.6%", - "Start Line": 737, - "End Line": 780 + "Control Flow Ratio": "64.7%", + "Start Line": 2475, + "End Line": 2541 }, { - "Function Name": "dispatchMessage", - "Structural Impact": 15.6, - "Lines of Code (LOC)": 31, + "Function Name": "addCallbacks", + "Structural Impact": 23.1, + "Lines of Code (LOC)": 66, "Control Flow Branches": 6, - "Input Parameters": 3, - "Control Flow Ratio": "85.7%", - "Start Line": 782, - "End Line": 812 + "Input Parameters": 7, + "Control Flow Ratio": "75.0%", + "Start Line": 480, + "End Line": 545 }, { - "Function Name": "_generateECSharedSecret", - "Structural Impact": 13.8, - "Lines of Code (LOC)": 35, + "Function Name": "_cbDeferred", + "Structural Impact": 21.4, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 8, + "Input Parameters": 4, + "Control Flow Ratio": "66.7%", + "Start Line": 1554, + "End Line": 1578 + }, + { + "Function Name": "race", + "Structural Impact": 15.2, + "Lines of Code (LOC)": 77, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "53.8%", + "Start Line": 1650, + "End Line": 1726 + }, + { + "Function Name": "maybeDeferred", + "Structural Impact": 15.1, + "Lines of Code (LOC)": 61, "Control Flow Branches": 5, "Input Parameters": 3, - "Control Flow Ratio": "71.4%", - "Start Line": 1394, - "End Line": 1428 + "Control Flow Ratio": "38.5%", + "Start Line": 183, + "End Line": 243 }, { - "Function Name": "isEncrypted", - "Structural Impact": 13.0, - "Lines of Code (LOC)": 18, + "Function Name": "_startRunCallbacks", + "Structural Impact": 13.3, + "Lines of Code (LOC)": 23, "Control Flow Branches": 6, "Input Parameters": 2, - "Control Flow Ratio": "60.0%", - "Start Line": 1252, - "End Line": 1269 + "Control Flow Ratio": "75.0%", + "Start Line": 974, + "End Line": 996 }, { - "Function Name": "isVerified", - "Structural Impact": 13.0, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 6, - "Input Parameters": 2, - "Control Flow Ratio": "60.0%", - "Start Line": 1271, - "End Line": 1288 + "Function Name": "__init__", + "Structural Impact": 13.2, + "Lines of Code (LOC)": 69, + "Control Flow Branches": 3, + "Input Parameters": 5, + "Control Flow Ratio": "75.0%", + "Start Line": 1484, + "End Line": 1552 }, { - "Function Name": "sendPacket", - "Structural Impact": 11.9, - "Lines of Code (LOC)": 38, - "Control Flow Branches": 4, - "Input Parameters": 3, - "Control Flow Ratio": "66.7%", - "Start Line": 623, - "End Line": 660 + "Function Name": "addTimeout", + "Structural Impact": 12.4, + "Lines of Code (LOC)": 70, + "Control Flow Branches": 3, + "Input Parameters": 4, + "Control Flow Ratio": "27.3%", + "Start Line": 768, + "End Line": 837 }, { - "Function Name": "ssh_KEXINIT", - "Structural Impact": 11.3, - "Lines of Code (LOC)": 19, + "Function Name": "cancel", + "Structural Impact": 9.8, + "Lines of Code (LOC)": 27, "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "71.4%", - "Start Line": 1478, - "End Line": 1496 + "Input Parameters": 1, + "Control Flow Ratio": "83.3%", + "Start Line": 946, + "End Line": 972 }, { - "Function Name": "ssh_KEXINIT", - "Structural Impact": 11.0, - "Lines of Code (LOC)": 46, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 1805, - "End Line": 1850 + "Function Name": "__iter__", + "Structural Impact": 9.5, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 1176, + "End Line": 1195 }, { - "Function Name": "ssh_KEX_DH_GEX_REQUEST_OLD", - "Structural Impact": 10.5, - "Lines of Code (LOC)": 36, + "Function Name": "put", + "Structural Impact": 9.3, + "Lines of Code (LOC)": 12, "Control Flow Branches": 4, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1596, - "End Line": 1631 + "Control Flow Ratio": "80.0%", + "Start Line": 2402, + "End Line": 2413 }, { - "Function Name": "_ssh_KEX_ECDH_REPLY", - "Structural Impact": 10.2, - "Lines of Code (LOC)": 66, + "Function Name": "asFuture", + "Structural Impact": 8.6, + "Lines of Code (LOC)": 33, "Control Flow Branches": 3, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1852, - "End Line": 1917 + "Control Flow Ratio": "37.5%", + "Start Line": 1199, + "End Line": 1231 }, { - "Function Name": "_encodeECPublicKey", - "Structural Impact": 10.0, + "Function Name": "_gotResultInlineCallbacks", + "Structural Impact": 8.6, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "66.7%", + "Start Line": 1777, + "End Line": 1801 + }, + { + "Function Name": "ensureDeferred", + "Structural Impact": 8.4, "Lines of Code (LOC)": 26, "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "57.1%", - "Start Line": 1367, - "End Line": 1392 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 1342, + "End Line": 1367 }, { - "Function Name": "_generateECPrivateKey", - "Structural Impact": 9.7, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 5, + "Function Name": "inlineCallbacks", + "Structural Impact": 8.2, + "Lines of Code (LOC)": 81, + "Control Flow Branches": 2, "Input Parameters": 1, - "Control Flow Ratio": "62.5%", - "Start Line": 1342, - "End Line": 1365 + "Control Flow Ratio": "33.3%", + "Start Line": 2047, + "End Line": 2127 }, { - "Function Name": "ssh_SERVICE_ACCEPT", - "Structural Impact": 9.7, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 4, + "Function Name": "succeeded", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 3, "Input Parameters": 2, - "Control Flow Ratio": "80.0%", - "Start Line": 2109, - "End Line": 2128 + "Control Flow Ratio": "60.0%", + "Start Line": 1683, + "End Line": 1703 }, { - "Function Name": "sendKexInit", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 49, + "Function Name": "get", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 18, "Control Flow Branches": 4, "Input Parameters": 1, - "Control Flow Ratio": "80.0%", - "Start Line": 547, - "End Line": 595 + "Control Flow Ratio": "57.1%", + "Start Line": 2415, + "End Line": 2432 }, { - "Function Name": "ssh_KEX_DH_GEX_GROUP", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 3, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1957, - "End Line": 1980 + "Function Name": "_cancelLock", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 2495, + "End Line": 2512 }, { - "Function Name": "_continue_KEX_ECDH_REPLY", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 22, + "Function Name": "fromFuture", + "Structural Impact": 7.6, + "Lines of Code (LOC)": 48, "Control Flow Branches": 2, - "Input Parameters": 4, - "Control Flow Ratio": "66.7%", - "Start Line": 1875, - "End Line": 1896 + "Input Parameters": 2, + "Control Flow Ratio": "20.0%", + "Start Line": 1234, + "End Line": 1281 }, { - "Function Name": "sendDebug", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 15, + "Function Name": "fromCoroutine", + "Structural Impact": 7.6, + "Lines of Code (LOC)": 48, "Control Flow Branches": 2, - "Input Parameters": 4, - "Control Flow Ratio": "66.7%", - "Start Line": 1075, - "End Line": 1089 + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1284, + "End Line": 1331 }, { - "Function Name": "_keySetup", - "Structural Impact": 7.2, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "66.7%", - "Start Line": 1207, - "End Line": 1230 + "Function Name": "_parseDeferredListResult", + "Structural Impact": 7.4, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 3, + "Input Parameters": 2, + "Control Flow Ratio": "42.9%", + "Start Line": 1600, + "End Line": 1608 }, { - "Function Name": "_continueGEX_REPLY", - "Structural Impact": 6.9, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 1, - "Input Parameters": 5, - "Control Flow Ratio": "33.3%", - "Start Line": 2042, - "End Line": 2081 + "Function Name": "errback", + "Structural Impact": 7.1, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 891, + "End Line": 928 }, { - "Function Name": "setKeys", - "Structural Impact": 6.7, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 1, - "Input Parameters": 7, - "Control Flow Ratio": "50.0%", - "Start Line": 145, - "End Line": 165 + "Function Name": "_tryLock", + "Structural Impact": 7.1, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 5, + "Input Parameters": 0, + "Control Flow Ratio": "83.3%", + "Start Line": 2516, + "End Line": 2537 }, { - "Function Name": "_finishEphemeralDH", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 29, + "Function Name": "execute", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 16, "Control Flow Branches": 2, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "40.0%", - "Start Line": 1157, - "End Line": 1185 + "Start Line": 142, + "End Line": 157 }, { - "Function Name": "_newKeys", + "Function Name": "__del__", "Structural Impact": 6.6, "Lines of Code (LOC)": 19, "Control Flow Branches": 3, "Input Parameters": 1, "Control Flow Ratio": "75.0%", - "Start Line": 1232, - "End Line": 1250 + "Start Line": 370, + "End Line": 388 }, { - "Function Name": "_allowedKeyExchangeMessageType", + "Function Name": "cancel", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 1580, + "End Line": 1597 + }, + { + "Function Name": "__str__", "Structural Impact": 6.4, - "Lines of Code (LOC)": 25, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 1159, + "End Line": 1172 + }, + { + "Function Name": "unwindGenerator", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 14, "Control Flow Branches": 2, "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 597, - "End Line": 621 + "Control Flow Ratio": "50.0%", + "Start Line": 2112, + "End Line": 2125 }, { - "Function Name": "_getHostKeys", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 24, + "Function Name": "failed", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 7, "Control Flow Branches": 2, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1453, - "End Line": 1476 + "Control Flow Ratio": "66.7%", + "Start Line": 1709, + "End Line": 1715 }, { - "Function Name": "_continueKEXDH_REPLY", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 30, + "Function Name": "addBoth", + "Structural Impact": 5.3, + "Lines of Code (LOC)": 16, "Control Flow Branches": 1, - "Input Parameters": 5, + "Input Parameters": 4, "Control Flow Ratio": "33.3%", - "Start Line": 1982, - "End Line": 2011 + "Start Line": 749, + "End Line": 764 }, { - "Function Name": "ssh_SERVICE_REQUEST", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 2, + "Function Name": "addCallback", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "33.3%", + "Start Line": 619, + "End Line": 632 + }, + { + "Function Name": "addErrback", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "33.3%", + "Start Line": 661, + "End Line": 674 + }, + { + "Function Name": "__init__", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 1, "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 1730, - "End Line": 1751 + "Start Line": 444, + "End Line": 474 }, { - "Function Name": "ssh_NEWKEYS", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 17, + "Function Name": "acquire", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 16, "Control Flow Branches": 2, - "Input Parameters": 2, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2248, + "End Line": 2263 + }, + { + "Function Name": "acquire", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 1, "Control Flow Ratio": "40.0%", - "Start Line": 2091, - "End Line": 2107 + "Start Line": 2320, + "End Line": 2335 }, { - "Function Name": "sendExtInfo", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 14, + "Function Name": "_getDebugTracebacks", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 11, "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 1128, - "End Line": 1141 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 358, + "End Line": 368 }, { - "Function Name": "_getMAC", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 35, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 187, - "End Line": 221 + "Function Name": "convertCancelled", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 815, + "End Line": 823 }, { - "Function Name": "connectionLost", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 13, + "Function Name": "unpause", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 9, "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 523, - "End Line": 535 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 936, + "End Line": 944 }, { - "Function Name": "verify", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 21, + "Function Name": "__init__", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 13, "Control Flow Branches": 1, - "Input Parameters": 4, + "Input Parameters": 3, "Control Flow Ratio": "25.0%", - "Start Line": 266, - "End Line": 286 + "Start Line": 2461, + "End Line": 2473 }, { - "Function Name": "_getSupportedCiphers", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "50.0%", - "Start Line": 289, - "End Line": 319 + "Function Name": "_cancelledToTimedOutError", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 279, + "End Line": 296 }, { - "Function Name": "_getCipher", - "Structural Impact": 5.4, - "Lines of Code (LOC)": 19, + "Function Name": "__cmp__", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 12, "Control Flow Branches": 1, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "25.0%", - "Start Line": 167, - "End Line": 185 + "Start Line": 1400, + "End Line": 1411 }, { - "Function Name": "_ssh_KEXDH_REPLY", - "Structural Impact": 5.3, - "Lines of Code (LOC)": 37, + "Function Name": "__init__", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, "Control Flow Branches": 1, "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 1919, - "End Line": 1955 + "Control Flow Ratio": "50.0%", + "Start Line": 2295, + "End Line": 2304 }, { - "Function Name": "receiveDebug", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 1, + "Function Name": "run", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 0, "Input Parameters": 4, - "Control Flow Ratio": "50.0%", - "Start Line": 1327, - "End Line": 1340 + "Control Flow Ratio": "0.0%", + "Start Line": 2167, + "End Line": 2195 }, { - "Function Name": "makeMAC", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 18, + "Function Name": "release", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 247, - "End Line": 264 + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 2265, + "End Line": 2279 }, { - "Function Name": "ssh_KEX_DH_GEX_REPLY", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 28, + "Function Name": "release", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 16, "Control Flow Branches": 1, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "33.3%", - "Start Line": 2013, - "End Line": 2040 + "Start Line": 2337, + "End Line": 2352 }, { - "Function Name": "sendDisconnect", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 17, + "Function Name": "uncancel", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 8, "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "50.0%", - "Start Line": 1110, - "End Line": 1126 + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1269, + "End Line": 1276 }, { - "Function Name": "_keySetup", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 15, + "Function Name": "cancel", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 7, "Control Flow Branches": 1, - "Input Parameters": 3, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 1701, - "End Line": 1715 + "Start Line": 1668, + "End Line": 1674 }, { - "Function Name": "ssh_KEX_DH_GEX_REQUEST", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 25, + "Function Name": "cancelTimeout", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, "Control Flow Branches": 1, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "33.3%", - "Start Line": 1633, - "End Line": 1657 + "Start Line": 825, + "End Line": 829 }, { - "Function Name": "ssh_EXT_INFO", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 18, + "Function Name": "adapt", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 6, "Control Flow Branches": 1, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 1041, - "End Line": 1058 + "Start Line": 1253, + "End Line": 1258 }, { - "Function Name": "_keySetup", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 7, + "Function Name": "gatherResults", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1611, + "End Line": 1637 + }, + { + "Function Name": "chainDeferred", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 839, + "End Line": 864 + }, + { + "Function Name": "checkCancel", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, "Control Flow Branches": 1, - "Input Parameters": 3, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 2083, - "End Line": 2089 + "Start Line": 1216, + "End Line": 1218 }, { - "Function Name": "setService", - "Structural Impact": 4.2, - "Lines of Code (LOC)": 14, + "Function Name": "maybeFail", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, "Control Flow Branches": 1, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 1060, - "End Line": 1073 + "Start Line": 1220, + "End Line": 1222 }, { - "Function Name": "ssh_NEWKEYS", - "Structural Impact": 4.1, - "Lines of Code (LOC)": 12, + "Function Name": "maybeSucceed", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 1717, - "End Line": 1728 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 1224, + "End Line": 1226 }, { - "Function Name": "_ssh_KEX_ECDH_INIT", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 56, + "Function Name": "callback", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 24, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1498, - "End Line": 1553 + "Start Line": 866, + "End Line": 889 }, { - "Function Name": "_ssh_KEXDH_INIT", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 40, + "Function Name": "_handleCancelInlineCallbacks", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 23, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1555, - "End Line": 1594 + "Start Line": 1992, + "End Line": 2014 }, { - "Function Name": "ssh_KEX_DH_GEX_INIT", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 41, + "Function Name": "addCallback", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1659, - "End Line": 1699 + "Start Line": 569, + "End Line": 578 }, { - "Function Name": "_getKey", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 19, + "Function Name": "addCallback", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1187, - "End Line": 1205 + "Start Line": 599, + "End Line": 608 }, { - "Function Name": "__init__", - "Structural Impact": 2.9, + "Function Name": "addBoth", + "Structural Impact": 2.7, "Lines of Code (LOC)": 10, "Control Flow Branches": 0, - "Input Parameters": 5, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 134, - "End Line": 143 + "Start Line": 686, + "End Line": 695 }, { - "Function Name": "receiveError", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 17, + "Function Name": "addBoth", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, - "Input Parameters": 3, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1299, - "End Line": 1315 + "Start Line": 698, + "End Line": 706 }, { - "Function Name": "verifyHostKey", + "Function Name": "addBoth", "Structural Impact": 2.7, - "Lines of Code (LOC)": 14, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, - "Input Parameters": 3, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 709, + "End Line": 717 + }, + { + "Function Name": "addBoth", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 720, + "End Line": 729 + }, + { + "Function Name": "__aexit__", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2203, + "End Line": 2212 + }, + { + "Function Name": "addCallback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 560, + "End Line": 566 + }, + { + "Function Name": "addCallback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 581, + "End Line": 587 + }, + { + "Function Name": "addCallback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 590, + "End Line": 596 + }, + { + "Function Name": "addCallback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 611, + "End Line": 617 + }, + { + "Function Name": "addErrback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 635, + "End Line": 641 + }, + { + "Function Name": "addErrback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 644, + "End Line": 650 + }, + { + "Function Name": "addErrback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 653, + "End Line": 659 + }, + { + "Function Name": "addBoth", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 677, + "End Line": 683 + }, + { + "Function Name": "addBoth", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 732, + "End Line": 738 + }, + { + "Function Name": "addBoth", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 741, + "End Line": 747 + }, + { + "Function Name": "_DeferredList", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1425, + "End Line": 1431 + }, + { + "Function Name": "_DeferredList", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1434, + "End Line": 1440 + }, + { + "Function Name": "_DeferredList", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1442, + "End Line": 1449 + }, + { + "Function Name": "run", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", "Start Line": 2142, - "End Line": 2155 + "End Line": 2149 }, { - "Function Name": "ssh_DISCONNECT", + "Function Name": "run", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2152, + "End Line": 2159 + }, + { + "Function Name": "succeed", "Structural Impact": 2.5, - "Lines of Code (LOC)": 16, + "Lines of Code (LOC)": 22, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 986, - "End Line": 1001 + "Start Line": 102, + "End Line": 123 }, { - "Function Name": "ssh_DEBUG", + "Function Name": "_cancellableInlineCallbacks", "Structural Impact": 2.5, - "Lines of Code (LOC)": 15, + "Lines of Code (LOC)": 21, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1025, - "End Line": 1039 + "Start Line": 2017, + "End Line": 2037 }, { - "Function Name": "encrypt", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, + "Function Name": "_addCancelCallbackToDeferred", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 223, - "End Line": 233 + "Start Line": 1976, + "End Line": 1989 }, { - "Function Name": "decrypt", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, + "Function Name": "run", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2162, + "End Line": 2165 + }, + { + "Function Name": "_cancelAcquire", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 13, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 235, - "End Line": 245 + "Start Line": 2234, + "End Line": 2246 }, { - "Function Name": "_unsupportedVersionReceived", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, + "Function Name": "_cancelAcquire", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 13, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 724, - "End Line": 735 + "Start Line": 2306, + "End Line": 2318 }, { - "Function Name": "ssh_UNIMPLEMENTED", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, + "Function Name": "__init__", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 2380, + "End Line": 2386 + }, + { + "Function Name": "_cancelGet", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 13, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1012, - "End Line": 1023 + "Start Line": 2388, + "End Line": 2400 }, { - "Function Name": "update", + "Function Name": "maybeDeferred", "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 2170, - "End Line": 2180 + "Start Line": 168, + "End Line": 173 }, { - "Function Name": "sendIgnore", + "Function Name": "maybeDeferred", "Structural Impact": 2.2, - "Lines of Code (LOC)": 10, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 1091, - "End Line": 1100 + "Start Line": 161, + "End Line": 164 }, { - "Function Name": "receiveUnimplemented", + "Function Name": "maybeDeferred", "Structural Impact": 2.2, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 1317, - "End Line": 1325 + "Start Line": 177, + "End Line": 180 }, { - "Function Name": "requestService", + "Function Name": "__init__", "Structural Impact": 2.2, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 2130, - "End Line": 2138 + "Start Line": 1380, + "End Line": 1383 }, { - "Function Name": "_startEphemeralDH", + "Function Name": "fail", "Structural Impact": 2.1, - "Lines of Code (LOC)": 13, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1143, - "End Line": 1155 + "Start Line": 126, + "End Line": 139 }, { - "Function Name": "_mpFromBytes", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 12, + "Function Name": "returnValue", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 51, - "End Line": 62 + "Start Line": 1746, + "End Line": 1759 }, { - "Function Name": "kexAlg", + "Function Name": "logError", "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, + "Lines of Code (LOC)": 11, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 844, - "End Line": 848 + "Start Line": 89, + "End Line": 99 }, { - "Function Name": "connectionMade", + "Function Name": "__init_subclass__", "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 537, - "End Line": 545 + "Start Line": 1333, + "End Line": 1336 }, { - "Function Name": "getPeer", + "Function Name": "__init__", "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 814, - "End Line": 823 + "Start Line": 1645, + "End Line": 1647 }, { - "Function Name": "getHost", + "Function Name": "_releaseAndReturn", "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 825, - "End Line": 834 + "Start Line": 2137, + "End Line": 2139 }, { - "Function Name": "sendUnimplemented", + "Function Name": "setDebugging", "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Lines of Code (LOC)": 8, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1102, - "End Line": 1108 + "Start Line": 262, + "End Line": 269 }, { - "Function Name": "connectionMade", + "Function Name": "__str__", "Structural Impact": 1.8, "Lines of Code (LOC)": 7, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1797, - "End Line": 1803 + "Start Line": 1392, + "End Line": 1398 }, { - "Function Name": "encryptor", + "Function Name": "__init__", "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2201, - "End Line": 2207 + "Start Line": 1738, + "End Line": 1739 }, { - "Function Name": "decryptor", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "pause", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2209, - "End Line": 2215 + "Start Line": 930, + "End Line": 934 }, { - "Function Name": "kexAlg", + "Function Name": "_continuation", "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 837, - "End Line": 841 + "Start Line": 998, + "End Line": 1003 }, { - "Function Name": "loseConnection", + "Function Name": "__repr__", "Structural Impact": 1.7, "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1290, - "End Line": 1295 - }, + "Start Line": 1385, + "End Line": 1390 + }, { - "Function Name": "connectionSecure", + "Function Name": "execute", "Structural Impact": 1.7, "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2157, - "End Line": 2162 + "Start Line": 2188, + "End Line": 2193 + }, + { + "Function Name": "__aenter__", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2197, + "End Line": 2201 + }, + { + "Function Name": "cancel", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1262, + "End Line": 1264 + }, + { + "Function Name": "timeout", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 250, + "End Line": 251 + }, + { + "Function Name": "passthru", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 254, + "End Line": 255 + }, + { + "Function Name": "_failthru", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 258, + "End Line": 259 + }, + { + "Function Name": "callbacks", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 477, + "End Line": 478 + }, + { + "Function Name": "__init__", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2134, + "End Line": 2135 + }, + { + "Function Name": "acquire", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2215, + "End Line": 2216 + }, + { + "Function Name": "release", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2219, + "End Line": 2220 + }, + { + "Function Name": "getDebugging", + "Structural Impact": 1.2, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 272, + "End Line": 276 + }, + { + "Function Name": "timeItOut", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 809, + "End Line": 811 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 144, - "Sequential Logic Declarations": 203, - "Function Parameters": 80, - "Function/Method Declarations": 77, - "Class/Entity Declarations": 8, - "Defensive Programming Constructs": 14, - "Type/Safety Bypasses": 10, + "Control Flow Branches": 156, + "Sequential Logic Declarations": 283, + "Function Parameters": 119, + "Function/Method Declarations": 116, + "Class/Entity Declarations": 21, + "Defensive Programming Constructs": 53, + "Type/Safety Bypasses": 78, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 73, - "State Mutations / Variable Reassignments": 224, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 168, - "Unit Test Assertions": 1, - "Asynchronous/Concurrent Execution": 0, + "Exposed API / Public Exports": 93, + "State Mutations / Variable Reassignments": 146, + "Commented-out Code (Dead Logic)": 5, + "Structured Documentation Blocks": 154, + "Unit Test Assertions": 18, + "Asynchronous/Concurrent Execution": 1, "UI / View Layer Components": 0, "Closures and Anonymous Functions": 3, - "Global State Dependencies": 1, - "Decorators and Annotations": 2, - "Generic Type Abstractions": 21, - "Collection Iterators / Comprehensions": 8, + "Global State Dependencies": 0, + "Decorators and Annotations": 35, + "Generic Type Abstractions": 220, + "Collection Iterators / Comprehensions": 2, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 3, - "Module Dependencies (Imports)": 25, + "Metaprogramming & Reflection": 9, + "Module Dependencies (Imports)": 22, "Authorship Metadata": 0, - "Planned Work (TODOs)": 3, + "Planned Work (TODOs)": 0, "Acknowledged Tech Debt (FIXMEs)": 1, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, @@ -305340,17 +305874,17 @@ "Structured Telemetry & Logging": 0, "Ad-hoc Print / Debug Statements": 0, "Explicit Type Casts": 6, - "Fatal Aborts & Exceptions": 10, + "Fatal Aborts & Exceptions": 13, "Thread Sleeps & Blocking Waits": 0, "Bitwise Operations": 0, "Thread Synchronization Locks": 0, "Immutable Data Declarations": 0, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 178, - "Event Listeners & Subscribers": 0, + "Private / Encapsulated Scopes": 508, + "Event Listeners & Subscribers": 41, "Bypassed / Skipped Tests": 0, "Structural Tab Indentations": 0, - "Structural Space Indentations": 943, + "Structural Space Indentations": 1035, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -305365,31 +305899,31 @@ "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": 5, - "Core Var Decl": 246, - "Design Camel Case": 80, - "Design Snake Case": 118, - "Design Pascal Case": 3, - "Design Upper Case": 32, - "Design Short Vars": 26, - "Design Long Vars": 15, - "Duplicate Logic": 0, - "Orphaned Logic": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 10, + "Vectorized Math & Tensor Operations": 15, + "Core Var Decl": 133, + "Design Camel Case": 30, + "Design Snake Case": 75, + "Design Pascal Case": 5, + "Design Upper Case": 2, + "Design Short Vars": 6, + "Design Long Vars": 6, + "Duplicate Logic": 2, + "Orphaned Logic": 14, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 3, + "High-Entropy / Obfuscated Logic": 0, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, + "Dynamic Code Execution (Eval/Exec)": 3, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 1, + "Commented-Out Executable Logic": 0, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 1, + "Embedded Credentials & Keys": 0, "Sec Extension Mismatch": 0, "Sec Entropy": 0, "Sec Tainted Injection": 0, @@ -305399,80 +305933,56 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 26, - "Direct Downstream (Dependency Blast Radius)": 2, + "Direct Upstream (Fragility)": 25, + "Direct Downstream (Dependency Blast Radius)": 1, "Total Upstream (Absolute Fragility)": 1, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ "__future__", - "binascii", - "cryptography.exceptions", - "cryptography.hazmat.backends", - "cryptography.hazmat.decrepit.ciphers.algorithms", - "cryptography.hazmat.primitives", - "cryptography.hazmat.primitives.asymmetric", - "cryptography.hazmat.primitives.ciphers", - "cryptography.hazmat.primitives.ciphers.algorithms", - "hashlib", - "hmac", - "is", - "struct", - "twisted", - "twisted.conch.ssh", - "twisted.conch.ssh.common", - "twisted.conch.ssh.factory", - "twisted.conch.ssh.service", + "abc", + "asyncio", + "attr", + "contextvars", + "enum", + "functools", + "incremental", + "inspect", + "sys", + "traceback", + "treq", "twisted.internet", + "twisted.internet.defer", + "twisted.internet.interfaces", + "twisted.internet.task", "twisted.logger", "twisted.python", "twisted.python.compat", + "twisted.python.deprecate", "twisted.python.failure", "types", "typing", - "zlib" + "typing_extensions", + "warnings" ] - } - } - }, - "objective-c/worldwideweb": { - "Directory Group Magnitude": 3255.8, - "File Count": 6, - "Ecosystem Fingerprint (Archetypes)": { - "Unclassified": "100.0%" - }, - "Average Risk Exposures": { - "Cognitive Load Exposure": "66.47%", - "Error & Exception Exposure": "76.31%", - "Tech Debt Exposure": "17.49%", - "Testing Exposure": "67.14%", - "API Exposure": "9.27%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "83.32%", - "Commented Logic Exposure": "3.45%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "60.18%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "Files": { - "objective-c/worldwideweb/HText.c": { + }, + "python/twisted/http.py": { "1. Artifact Identity": { - "Filename": "HText.c", - "Path": "objective-c/worldwideweb/HText.c", - "Language": "C", + "Filename": "http.py", + "Path": "python/twisted/http.py", + "Language": "Python", "Architect": "Unknown Architect", - "Indentation Style": "Mixed (78.1% Spaces / 21.9% Tabs)", + "Indentation Style": "Spaces", + "Parent Entity": "Exception, Interface, basic.LineReceiver", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", + "Folder Dominant Lang": "python", "Lock Tier": 1.5, - "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" + "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": -3009.19, - "Y": -139.19, - "Z": 4242.99 + "X": 6526.3, + "Y": -58.65, + "Z": -1276.9 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -305481,1355 +305991,1443 @@ "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 794, - "Coding LOC": 507, - "Documentation LOC": 154, - "Structural Magnitude": 890.44, - "Control Flow Ratio": "68.0%", - "Popularity Rank": 0, + "Total LOC": 3481, + "Coding LOC": 1513, + "Documentation LOC": 1339, + "Structural Magnitude": 1365.26, + "Control Flow Ratio": "44.2%", + "Popularity Rank": 9, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.375 + "Raw Cognitive Density": 0.677 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "92.4%", - "Error & Exception Exposure": "98.17%", - "Tech Debt Exposure": "0.0%", + "Cognitive Load Exposure": "21.4%", + "Error & Exception Exposure": "66.24%", + "Tech Debt Exposure": "11.53%", "Testing Exposure": "80.0%", - "API Exposure": "14.8%", + "API Exposure": "3.27%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "5.28%", + "State Flux Exposure": "99.84%", + "Commented Logic Exposure": "5.23%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "99.96%", + "Documentation Exposure": "11.92%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "Unknown_Block", - "Structural Impact": 60.2, - "Lines of Code (LOC)": 85, - "Control Flow Branches": 24, - "Input Parameters": 4, - "Control Flow Ratio": "77.4%", - "Start Line": 409, - "End Line": 493 + "Function Name": "addCookie", + "Structural Impact": 64.6, + "Lines of Code (LOC)": 115, + "Control Flow Branches": 16, + "Input Parameters": 11, + "Control Flow Ratio": "69.6%", + "Start Line": 1322, + "End Line": 1436 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 49.0, - "Lines of Code (LOC)": 86, - "Control Flow Branches": 19, - "Input Parameters": 4, - "Control Flow Ratio": "95.0%", - "Start Line": 262, - "End Line": 347 + "Function Name": "write", + "Structural Impact": 36.5, + "Lines of Code (LOC)": 72, + "Control Flow Branches": 18, + "Input Parameters": 2, + "Control Flow Ratio": "81.8%", + "Start Line": 1249, + "End Line": 1320 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 45.0, - "Lines of Code (LOC)": 51, - "Control Flow Branches": 18, + "Function Name": "lineReceived", + "Structural Impact": 32.7, + "Lines of Code (LOC)": 65, + "Control Flow Branches": 16, + "Input Parameters": 2, + "Control Flow Ratio": "72.7%", + "Start Line": 2361, + "End Line": 2425 + }, + { + "Function Name": "requestReceived", + "Structural Impact": 27.5, + "Lines of Code (LOC)": 59, + "Control Flow Branches": 10, "Input Parameters": 4, - "Control Flow Ratio": "94.7%", - "Start Line": 178, - "End Line": 228 + "Control Flow Ratio": "83.3%", + "Start Line": 1038, + "End Line": 1096 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 24.3, - "Lines of Code (LOC)": 38, + "Function Name": "_maybeChooseTransferDecoder", + "Structural Impact": 21.9, + "Lines of Code (LOC)": 37, "Control Flow Branches": 9, - "Input Parameters": 4, - "Control Flow Ratio": "81.8%", - "Start Line": 668, - "End Line": 705 + "Input Parameters": 3, + "Control Flow Ratio": "56.2%", + "Start Line": 2439, + "End Line": 2475 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 18.8, + "Function Name": "parse_qs", + "Structural Impact": 21.3, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 9, + "Input Parameters": 3, + "Control Flow Ratio": "75.0%", + "Start Line": 366, + "End Line": 391 + }, + { + "Function Name": "stringToDatetime", + "Structural Impact": 21.0, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 12, + "Input Parameters": 1, + "Control Flow Ratio": "75.0%", + "Start Line": 455, + "End Line": 507 + }, + { + "Function Name": "_dataReceived_CHUNK_LENGTH", + "Structural Impact": 18.2, + "Lines of Code (LOC)": 52, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "71.4%", + "Start Line": 1999, + "End Line": 2050 + }, + { + "Function Name": "checkPersistence", + "Structural Impact": 18.1, + "Lines of Code (LOC)": 42, + "Control Flow Branches": 7, + "Input Parameters": 3, + "Control Flow Ratio": "63.6%", + "Start Line": 2626, + "End Line": 2667 + }, + { + "Function Name": "lineReceived", + "Structural Impact": 17.6, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "72.7%", + "Start Line": 728, + "End Line": 767 + }, + { + "Function Name": "timegm", + "Structural Impact": 14.1, "Lines of Code (LOC)": 18, + "Control Flow Branches": 4, + "Input Parameters": 6, + "Control Flow Ratio": "57.1%", + "Start Line": 435, + "End Line": 452 + }, + { + "Function Name": "writeHeaders", + "Structural Impact": 14.0, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 4, + "Input Parameters": 5, + "Control Flow Ratio": "80.0%", + "Start Line": 2743, + "End Line": 2777 + }, + { + "Function Name": "_parseRequestLine", + "Structural Impact": 13.8, + "Lines of Code (LOC)": 50, "Control Flow Branches": 7, - "Input Parameters": 4, - "Control Flow Ratio": "87.5%", - "Start Line": 353, - "End Line": 370 + "Input Parameters": 1, + "Control Flow Ratio": "77.8%", + "Start Line": 245, + "End Line": 294 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 12.2, - "Lines of Code (LOC)": 21, + "Function Name": "setETag", + "Structural Impact": 13.7, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 6, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 1518, + "End Line": 1549 + }, + { + "Function Name": "setHost", + "Structural Impact": 12.8, + "Lines of Code (LOC)": 33, "Control Flow Branches": 4, "Input Parameters": 4, "Control Flow Ratio": "80.0%", - "Start Line": 500, - "End Line": 520 + "Start Line": 1591, + "End Line": 1623 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 10.0, - "Lines of Code (LOC)": 27, + "Function Name": "dataReceived", + "Structural Impact": 12.8, + "Lines of Code (LOC)": 48, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "62.5%", + "Start Line": 3242, + "End Line": 3289 + }, + { + "Function Name": "finish", + "Structural Impact": 12.7, + "Lines of Code (LOC)": 28, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "77.8%", + "Start Line": 1220, + "End Line": 1247 + }, + { + "Function Name": "headerReceived", + "Structural Impact": 12.4, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "41.7%", + "Start Line": 2477, + "End Line": 2517 + }, + { + "Function Name": "setLastModified", + "Structural Impact": 12.2, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "55.6%", + "Start Line": 1481, + "End Line": 1516 + }, + { + "Function Name": "_dataReceived_TRAILER", + "Structural Impact": 12.1, + "Lines of Code (LOC)": 44, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2072, + "End Line": 2115 + }, + { + "Function Name": "combinedLogFormatter", + "Structural Impact": 11.9, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "71.4%", + "Start Line": 2995, + "End Line": 3025 + }, + { + "Function Name": "__init__", + "Structural Impact": 11.8, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 3, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 3350, + "End Line": 3389 + }, + { + "Function Name": "requestDone", + "Structural Impact": 11.6, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "71.4%", + "Start Line": 2669, + "End Line": 2693 + }, + { + "Function Name": "getRequestHostname", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 1564, + "End Line": 1579 + }, + { + "Function Name": "rawDataReceived", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 2570, + "End Line": 2609 + }, + { + "Function Name": "dataReceived", + "Structural Impact": 10.2, + "Lines of Code (LOC)": 31, "Control Flow Branches": 4, "Input Parameters": 2, "Control Flow Ratio": "80.0%", - "Start Line": 128, - "End Line": 154 + "Start Line": 1831, + "End Line": 1861 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 9.7, + "Function Name": "registerProducer", + "Structural Impact": 10.1, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "75.0%", + "Start Line": 2828, + "End Line": 2868 + }, + { + "Function Name": "_cleanup", + "Structural Impact": 9.6, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "55.6%", + "Start Line": 958, + "End Line": 979 + }, + { + "Function Name": "parseCookies", + "Structural Impact": 9.5, "Lines of Code (LOC)": 20, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "62.5%", + "Start Line": 1009, + "End Line": 1028 + }, + { + "Function Name": "_escape", + "Structural Impact": 8.2, + "Lines of Code (LOC)": 22, "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "57.1%", + "Start Line": 2970, + "End Line": 2991 + }, + { + "Function Name": "_getMultiPartArgs", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 3, "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 314, + "End Line": 335 + }, + { + "Function Name": "stopFactory", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 4, + "Input Parameters": 1, "Control Flow Ratio": "80.0%", - "Start Line": 67, - "End Line": 86 + "Start Line": 3455, + "End Line": 3463 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 9.6, - "Lines of Code (LOC)": 13, + "Function Name": "rawDataReceived", + "Structural Impact": 7.4, + "Lines of Code (LOC)": 10, "Control Flow Branches": 3, - "Input Parameters": 4, + "Input Parameters": 2, + "Control Flow Ratio": "75.0%", + "Start Line": 809, + "End Line": 818 + }, + { + "Function Name": "fromChunk", + "Structural Impact": 6.7, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 3, + "Input Parameters": 1, "Control Flow Ratio": "60.0%", - "Start Line": 391, - "End Line": 403 + "Start Line": 521, + "End Line": 541 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 9.6, - "Lines of Code (LOC)": 13, + "Function Name": "setResponseCode", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "66.7%", + "Start Line": 1438, + "End Line": 1449 + }, + { + "Function Name": "_dataReceived_CRLF", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 19, "Control Flow Branches": 3, - "Input Parameters": 4, + "Input Parameters": 1, + "Control Flow Ratio": "42.9%", + "Start Line": 2052, + "End Line": 2070 + }, + { + "Function Name": "parseContentRange", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 544, + "End Line": 559 + }, + { + "Function Name": "_ensureBytes", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "42.9%", + "Start Line": 1380, + "End Line": 1396 + }, + { + "Function Name": "_authorize", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 3, + "Input Parameters": 1, "Control Flow Ratio": "60.0%", - "Start Line": 644, - "End Line": 656 + "Start Line": 1677, + "End Line": 1693 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 7.6, - "Lines of Code (LOC)": 13, + "Function Name": "allHeadersReceived", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 14, "Control Flow Branches": 3, - "Input Parameters": 2, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 2611, + "End Line": 2624 + }, + { + "Function Name": "__init__", + "Structural Impact": 6.2, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 1, + "Input Parameters": 4, "Control Flow Ratio": "50.0%", - "Start Line": 160, - "End Line": 172 + "Start Line": 923, + "End Line": 956 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 5.7, - "Lines of Code (LOC)": 10, + "Function Name": "startFactory", + "Structural Impact": 6.1, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "75.0%", + "Start Line": 3446, + "End Line": 3453 + }, + { + "Function Name": "pauseProducing", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 2897, + "End Line": 2930 + }, + { + "Function Name": "connectionLost", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 12, "Control Flow Branches": 2, "Input Parameters": 2, "Control Flow Ratio": "66.7%", - "Start Line": 523, - "End Line": 532 + "Start Line": 1727, + "End Line": 1738 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 4.8, + "Function Name": "dataReceived", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 2147, + "End Line": 2155 + }, + { + "Function Name": "connectionLost", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 2719, + "End Line": 2727 + }, + { + "Function Name": "urlparse", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 338, + "End Line": 363 + }, + { + "Function Name": "isSecure", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 1656, + "End Line": 1675 + }, + { + "Function Name": "datetimeToString", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 394, + "End Line": 411 + }, + { + "Function Name": "noMoreData", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 1863, + "End Line": 1880 + }, + { + "Function Name": "_dataReceived_BODY", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 2117, + "End Line": 2134 + }, + { + "Function Name": "resumeProducing", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 2932, + "End Line": 2949 + }, + { + "Function Name": "getClientIP", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 1626, + "End Line": 1638 + }, + { + "Function Name": "unregisterProducer", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2870, + "End Line": 2883 + }, + { + "Function Name": "registerProducer", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 1124, + "End Line": 1136 + }, + { + "Function Name": "_getContentFile", + "Structural Impact": 4.6, "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 837, + "End Line": 843 + }, + { + "Function Name": "__eq__", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 19, "Control Flow Branches": 1, - "Input Parameters": 4, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1747, + "End Line": 1765 + }, + { + "Function Name": "sendHeader", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 3, "Control Flow Ratio": "50.0%", - "Start Line": 535, - "End Line": 541 + "Start Line": 702, + "End Line": 708 }, { - "Function Name": "Unknown_Block", + "Function Name": "getHeader", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1147, + "End Line": 1162 + }, + { + "Function Name": "extractHeader", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 713, + "End Line": 726 + }, + { + "Function Name": "allContentReceived", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 2519, + "End Line": 2545 + }, + { + "Function Name": "log", "Structural Impact": 4.0, "Lines of Code (LOC)": 10, "Control Flow Branches": 1, "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 544, - "End Line": 553 + "Start Line": 3471, + "End Line": 3480 }, { - "Function Name": "Unknown_Block", + "Function Name": "_set_logFile", "Structural Impact": 3.9, "Lines of Code (LOC)": 9, "Control Flow Branches": 1, "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 658, - "End Line": 666 + "Start Line": 3410, + "End Line": 3418 }, { - "Function Name": "Unknown_Block", + "Function Name": "datetimeToLogString", "Structural Impact": 3.8, - "Lines of Code (LOC)": 6, + "Lines of Code (LOC)": 19, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 378, - "End Line": 383 + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 414, + "End Line": 432 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 3.8, - "Lines of Code (LOC)": 6, + "Function Name": "getUser", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 608, - "End Line": 613 + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1695, + "End Line": 1709 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 4, + "Function Name": "getPassword", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 593, - "End Line": 596 + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1711, + "End Line": 1725 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 6, - "Control Flow Ratio": "0.0%", - "Start Line": 745, - "End Line": 750 + "Function Name": "isSecure", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 2729, + "End Line": 2741 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, + "Function Name": "notifyFinish", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 42, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 719, - "End Line": 722 + "Start Line": 1177, + "End Line": 1218 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 727, - "End Line": 730 + "Function Name": "getAllHeaders", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 1551, + "End Line": 1562 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 756, - "End Line": 759 + "Function Name": "stopProducing", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2885, + "End Line": 2895 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 765, - "End Line": 768 + "Function Name": "handleResponseEnd", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 772, + "End Line": 781 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 119, - "End Line": 123 + "Function Name": "noMoreData", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2157, + "End Line": 2166 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 236, - "End Line": 240 + "Function Name": "connectionMade", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2348, + "End Line": 2355 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 559, - "End Line": 562 + "Function Name": "timeoutConnection", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2695, + "End Line": 2702 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, + "Function Name": "loseConnection", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 1740, + "End Line": 1745 + }, + { + "Function Name": "_get_logFile", + "Structural Impact": 3.0, "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 3404, + "End Line": 3407 + }, + { + "Function Name": "_protocolUpgradeForWebsockets", + "Structural Impact": 2.8, + "Lines of Code (LOC)": 22, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 588, - "End Line": 591 + "Start Line": 2547, + "End Line": 2568 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "setHeader", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 598, - "End Line": 601 + "Start Line": 1451, + "End Line": 1464 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "__init__", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 12, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 603, - "End Line": 606 + "Start Line": 1986, + "End Line": 1997 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "buildProtocol", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 16, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 617, - "End Line": 620 + "Start Line": 3429, + "End Line": 3444 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "redirect", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 622, - "End Line": 625 + "Start Line": 1466, + "End Line": 1479 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, + "Function Name": "__init__", + "Structural Impact": 2.4, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 627, - "End Line": 630 + "Start Line": 1826, + "End Line": 1829 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "gotLength", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 632, - "End Line": 634 + "Start Line": 997, + "End Line": 1007 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "getCookie", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 773, - "End Line": 776 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 117, - "Sequential Logic Declarations": 55, - "Function Parameters": 44, - "Function/Method Declarations": 34, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 2, - "Type/Safety Bypasses": 15, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 139, - "State Mutations / Variable Reassignments": 422, - "Commented-out Code (Dead Logic)": 1, - "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": 28, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 1, - "Module Dependencies (Imports)": 5, - "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": 8, - "Pointer Arithmetic & Addressing": 246, - "Manual Memory Allocation": 5, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 10, - "Explicit Type Casts": 1, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 3, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 66, - "Structural Space Indentations": 236, - "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": 58, - "Design Camel Case": 0, - "Design Snake Case": 52, - "Design Pascal Case": 6, - "Design Upper Case": 0, - "Design Short Vars": 8, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 0, - "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)": 1, - "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)": 5, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "HTString.h", - "HTUtils.h", - "HText.h", - "HyperText.h", - "ctype.h" - ] - }, - "objective-c/worldwideweb/Anchor.m": { - "1. Artifact Identity": { - "Filename": "Anchor.m", - "Path": "objective-c/worldwideweb/Anchor.m", - "Language": "Objective-C", - "Architect": "Unknown Architect", - "Indentation Style": "Mixed (71.6% Spaces / 28.4% Tabs)", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Shebang)" - }, - "2. Topological Coordinates": { - "X": -2424.44, - "Y": 1.94, - "Z": 4266.83 - }, - "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": 364, - "Coding LOC": 220, - "Documentation LOC": 85, - "Structural Magnitude": 234.4, - "Control Flow Ratio": "97.3%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.105 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "80.51%", - "Error & Exception Exposure": "88.11%", - "Tech Debt Exposure": "0.0%", - "Testing Exposure": "80.0%", - "API Exposure": "8.13%", - "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": "35.03%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "selectDiagnostic", - "Structural Impact": 22.3, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 14, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 277, - "End Line": 297 - }, - { - "Function Name": "newParent", - "Structural Impact": 13.3, - "Lines of Code (LOC)": 23, - "Control Flow Branches": 6, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 84, - "End Line": 106 + "Start Line": 1164, + "End Line": 1175 }, { - "Function Name": "equivalent", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 5, + "Function Name": "requestFactory", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 69, - "End Line": 75 - }, - { - "Function Name": "moveBy", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 6, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 172, - "End Line": 188 - }, - { - "Function Name": "free", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 214, - "End Line": 222 - }, - { - "Function Name": "isLastChild", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 200, - "End Line": 208 - }, - { - "Function Name": "setAddress", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 313, - "End Line": 318 - }, - { - "Function Name": "unlink", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 234, - "End Line": 242 + "Control Flow Ratio": "0.0%", + "Start Line": 3165, + "End Line": 3176 }, { - "Function Name": "delete", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 254, - "End Line": 259 + "Function Name": "site", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3188, + "End Line": 3199 }, { - "Function Name": "node", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 356, - "End Line": 359 + "Function Name": "timeOut", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3209, + "End Line": 3220 }, { - "Function Name": "setManager", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, + "Function Name": "__repr__", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 34, - "End Line": 38 + "Control Flow Ratio": "0.0%", + "Start Line": 1098, + "End Line": 1112 }, { - "Function Name": "new", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 47, - "End Line": 57 + "Function Name": "getClientAddress", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1640, + "End Line": 1654 }, { - "Function Name": "initialize", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 26, - "End Line": 32 + "Function Name": "write", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2779, + "End Line": 2788 }, { - "Function Name": "back", + "Function Name": "writeSequence", "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 162, - "End Line": 165 + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2790, + "End Line": 2799 }, { - "Function Name": "unload", + "Function Name": "getClientAddress", "Structural Impact": 2.2, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 246, - "End Line": 250 + "Lines of Code (LOC)": 15, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 3050, + "End Line": 3064 }, { - "Function Name": "select", + "Function Name": "proxiedLogFormatter", "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 306, - "End Line": 309 + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3093, + "End Line": 3101 }, { - "Function Name": "address", + "Function Name": "callLater", "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 322, - "End Line": 325 + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3231, + "End Line": 3240 }, { - "Function Name": "next", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 190, - "End Line": 190 + "Function Name": "sendCommand", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 699, + "End Line": 700 }, { - "Function Name": "previous", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 191, - "End Line": 191 + "Function Name": "handleContentChunk", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1030, + "End Line": 1036 }, { - "Function Name": "sources", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 226, - "End Line": 226 + "Function Name": "forceAbortClient", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2704, + "End Line": 2717 }, { - "Function Name": "parent", + "Function Name": "noLongerQueued", "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 230, - "End Line": 230 + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 984, + "End Line": 995 }, { - "Function Name": "destination", + "Function Name": "_openLogFile", "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 361, - "End Line": 361 + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3465, + "End Line": 3469 }, { - "Function Name": "setNode", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "_parseContentType", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 263, - "End Line": 266 + "Start Line": 297, + "End Line": 305 }, { - "Function Name": "newAddress", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "toChunk", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 117, - "End Line": 117 + "Start Line": 510, + "End Line": 518 }, { - "Function Name": "linkTo", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "_sanitize", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 331, - "End Line": 331 + "Start Line": 1398, + "End Line": 1406 }, { - "Function Name": "follow", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "getHost", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 341, - "End Line": 341 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 73, - "Sequential Logic Declarations": 2, - "Function Parameters": 51, - "Function/Method Declarations": 26, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 7, - "Type/Safety Bypasses": 1, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 2, - "Exposed API / Public Exports": 10, - "State Mutations / Variable Reassignments": 105, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 2, - "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)": 9, - "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": 1, - "Pointer Arithmetic & Addressing": 24, - "Manual Memory Allocation": 8, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 11, - "Explicit Type Casts": 23, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 3, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 6, - "Resource Deallocation & Cleanup": 8, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 31, - "Structural Space Indentations": 78, - "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": 25, - "Design Camel Case": 3, - "Design Snake Case": 17, - "Design Pascal Case": 5, - "Design Upper Case": 0, - "Design Short Vars": 4, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 0, - "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)": 9, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "Anchor.h", - "HTParse.h", - "HTUtils.h", - "HyperManager.h", - "HyperText.h", - "appkit/appkit.h", - "ctype.h", - "objc/Object.h", - "objc/typedstream.h" - ] - }, - "objective-c/worldwideweb/HyperManager.m": { - "1. Artifact Identity": { - "Filename": "HyperManager.m", - "Path": "objective-c/worldwideweb/HyperManager.m", - "Language": "Objective-C", - "Architect": "Unknown Architect", - "Indentation Style": "Mixed (78.4% Spaces / 21.6% Tabs)", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Shebang)" - }, - "2. Topological Coordinates": { - "X": -2726.32, - "Y": 29.74, - "Z": 3713.99 - }, - "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": 441, - "Coding LOC": 254, - "Documentation LOC": 102, - "Structural Magnitude": 364.18, - "Control Flow Ratio": "97.7%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.1 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "80.24%", - "Error & Exception Exposure": "93.64%", - "Tech Debt Exposure": "30.43%", - "Testing Exposure": "80.0%", - "API Exposure": "10.29%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "10.12%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "69.84%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "loadAnchor", - "Structural Impact": 41.6, - "Lines of Code (LOC)": 70, - "Control Flow Branches": 21, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 77, - "End Line": 146 + "Start Line": 1581, + "End Line": 1589 }, { - "Function Name": "searchDiagnostic", - "Structural Impact": 16.6, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 10, + "Function Name": "_dataReceived_FINISHED", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 167, - "End Line": 187 + "Control Flow Ratio": "0.0%", + "Start Line": 2136, + "End Line": 2145 }, { - "Function Name": "closeOthers", - "Structural Impact": 12.5, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 356, - "End Line": 379 + "Function Name": "dataReceived", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2357, + "End Line": 2359 }, { - "Function Name": "saveAll", - "Structural Impact": 10.9, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 6, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 330, - "End Line": 349 + "Function Name": "_finishRequestBody", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2427, + "End Line": 2429 }, { - "Function Name": "registerAccess", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 4, + "Function Name": "loseConnection", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 54, - "End Line": 62 + "Control Flow Ratio": "0.0%", + "Start Line": 2817, + "End Line": 2826 }, { - "Function Name": "windowDidBecomeKey", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 4, + "Function Name": "_respondToBadRequestAndDisconnect", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 431, - "End Line": 439 + "Control Flow Ratio": "0.0%", + "Start Line": 2958, + "End Line": 2967 }, { - "Function Name": "hyperTextDidBecomeMain", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 411, - "End Line": 423 + "Function Name": "factory", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3151, + "End Line": 3153 }, { - "Function Name": "appDidInit", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 239, - "End Line": 249 + "Function Name": "writeSequence", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 666, + "End Line": 667 }, { - "Function Name": "save", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 319, - "End Line": 325 + "Function Name": "__getattr__", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 669, + "End Line": 670 }, { - "Function Name": "goHome", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 209, - "End Line": 212 + "Function Name": "connectionLost", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 769, + "End Line": 770 }, { - "Function Name": "appOpenFile", - "Structural Impact": 3.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, + "Function Name": "handleResponsePart", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 260, - "End Line": 266 + "Control Flow Ratio": "0.0%", + "Start Line": 783, + "End Line": 784 }, { - "Function Name": "appOpenTempFile", - "Structural Impact": 3.8, + "Function Name": "process", + "Structural Impact": 1.8, "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 272, - "End Line": 278 + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1114, + "End Line": 1120 }, { - "Function Name": "accessName", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 155, - "End Line": 159 + "Function Name": "__hash__", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1767, + "End Line": 1773 }, { - "Function Name": "runPagelayout", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, + "Function Name": "_failChooseTransferDecoder", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 391, - "End Line": 396 + "Control Flow Ratio": "0.0%", + "Start Line": 2431, + "End Line": 2437 }, { - "Function Name": "help", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "getPeer", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 218, - "End Line": 221 + "Control Flow Ratio": "0.0%", + "Start Line": 2801, + "End Line": 2807 }, { - "Function Name": "goToBlank", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "getHost", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 227, - "End Line": 230 + "Control Flow Ratio": "0.0%", + "Start Line": 2809, + "End Line": 2815 }, { - "Function Name": "appAcceptsAnotherFile", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 253, - "End Line": 256 + "Function Name": "__init__", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3040, + "End Line": 3041 }, { - "Function Name": "search", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "requestFactory", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 284, - "End Line": 287 + "Control Flow Ratio": "0.0%", + "Start Line": 3156, + "End Line": 3162 }, { - "Function Name": "searchRTF", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "site", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 289, - "End Line": 292 + "Control Flow Ratio": "0.0%", + "Start Line": 3179, + "End Line": 3185 }, { - "Function Name": "searchSGML", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "_genericHTTPChannelProtocolFactory", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 294, - "End Line": 297 + "Control Flow Ratio": "0.0%", + "Start Line": 3292, + "End Line": 3298 }, { - "Function Name": "open", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "unregisterProducer", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 301, - "End Line": 304 + "Control Flow Ratio": "0.0%", + "Start Line": 1138, + "End Line": 1143 }, { - "Function Name": "openRTF", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "__init__", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 306, - "End Line": 309 + "Control Flow Ratio": "0.0%", + "Start Line": 2341, + "End Line": 2346 }, { - "Function Name": "openSGML", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "_send100Continue", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 311, - "End Line": 314 + "Control Flow Ratio": "0.0%", + "Start Line": 2951, + "End Line": 2956 }, { - "Function Name": "print", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "clientproto", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 384, - "End Line": 387 + "Control Flow Ratio": "0.0%", + "Start Line": 3068, + "End Line": 3073 }, { - "Function Name": "traceOn", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "code", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 41, - "End Line": 41 + "Control Flow Ratio": "0.0%", + "Start Line": 3076, + "End Line": 3081 }, { - "Function Name": "traceOff", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "sentLength", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 42, - "End Line": 42 + "Control Flow Ratio": "0.0%", + "Start Line": 3084, + "End Line": 3089 }, { - "Function Name": "back", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "factory", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 198, - "End Line": 198 + "Control Flow Ratio": "0.0%", + "Start Line": 3144, + "End Line": 3148 }, { - "Function Name": "next", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "timeOut", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 199, - "End Line": 199 + "Control Flow Ratio": "0.0%", + "Start Line": 3202, + "End Line": 3206 }, { - "Function Name": "previous", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "callLater", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 200, - "End Line": 200 + "Control Flow Ratio": "0.0%", + "Start Line": 3223, + "End Line": 3228 }, { - "Function Name": "new", - "Structural Impact": 2.3, + "Function Name": "_updateLogDateTime", + "Structural Impact": 1.7, "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 34, - "End Line": 39 + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 3422, + "End Line": 3427 }, { - "Function Name": "name", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 47, - "End Line": 50 + "Function Name": "__init__", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 663, + "End Line": 664 }, { - "Function Name": "manager", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 44, - "End Line": 44 + "Function Name": "endHeaders", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 710, + "End Line": 711 }, { - "Function Name": "setManager", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 45, - "End Line": 45 + "Function Name": "connectionMade", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 786, + "End Line": 787 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 84, - "Sequential Logic Declarations": 2, - "Function Parameters": 73, - "Function/Method Declarations": 34, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 7, - "Type/Safety Bypasses": 4, + "Control Flow Branches": 295, + "Sequential Logic Declarations": 372, + "Function Parameters": 156, + "Function/Method Declarations": 153, + "Class/Entity Declarations": 17, + "Defensive Programming Constructs": 52, + "Type/Safety Bypasses": 28, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 8, - "Exposed API / Public Exports": 22, - "State Mutations / Variable Reassignments": 153, + "I/O and Network Boundaries": 13, + "Exposed API / Public Exports": 148, + "State Mutations / Variable Reassignments": 329, "Commented-out Code (Dead Logic)": 4, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, + "Structured Documentation Blocks": 292, + "Unit Test Assertions": 3, "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 12, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 5, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 3, + "Global State Dependencies": 0, + "Decorators and Annotations": 23, + "Generic Type Abstractions": 44, + "Collection Iterators / Comprehensions": 9, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 6, + "Metaprogramming & Reflection": 14, + "Module Dependencies (Imports)": 35, "Authorship Metadata": 0, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 2, + "Planned Work (TODOs)": 4, + "Acknowledged Tech Debt (FIXMEs)": 3, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, - "Preprocessor Macros": 1, - "Pointer Arithmetic & Addressing": 7, - "Manual Memory Allocation": 5, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 0, + "Manual Memory Allocation": 0, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 8, - "Explicit Type Casts": 17, - "Fatal Aborts & Exceptions": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 14, + "Fatal Aborts & Exceptions": 33, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, + "Bitwise Operations": 3, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 8, - "Resource Deallocation & Cleanup": 5, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 4, + "Private / Encapsulated Scopes": 408, + "Event Listeners & Subscribers": 1, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 27, - "Structural Space Indentations": 98, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 1410, "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, + "Regex Execution": 1, + "Time Date Logic": 4, "Cloud LLM API Integrations": 0, "AI Orchestration Frameworks": 0, "Vector Databases (RAG)": 0, @@ -306837,26 +307435,26 @@ "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": 32, - "Design Camel Case": 3, - "Design Snake Case": 20, - "Design Pascal Case": 0, - "Design Upper Case": 6, - "Design Short Vars": 14, - "Design Long Vars": 0, + "Vectorized Math & Tensor Operations": 22, + "Core Var Decl": 292, + "Design Camel Case": 55, + "Design Snake Case": 199, + "Design Pascal Case": 13, + "Design Upper Case": 5, + "Design Short Vars": 20, + "Design Long Vars": 1, "Duplicate Logic": 0, "Orphaned Logic": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, + "High-Entropy / Obfuscated Logic": 129, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, + "Dynamic Code Execution (Eval/Exec)": 2, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, + "Commented-Out Executable Logic": 8, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, @@ -306870,520 +307468,439 @@ "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)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 + "Direct Upstream (Fragility)": 34, + "Direct Downstream (Dependency Blast Radius)": 9, + "Total Upstream (Absolute Fragility)": 2, + "Total Downstream (Absolute Dependency Blast Radius)": 2 }, "9. Extracted Dependencies": [ - "HTAccess.h", - "HTParse.h", - "HTUtils.h", - "HyperManager.h", - "HyperText.h", - "WWWPageLayout.h" + "__future__", + "base64", + "binascii", + "calendar", + "collections", + "email", + "email.message", + "incremental", + "io", + "math", + "os", + "re", + "tempfile", + "time", + "twisted.internet", + "twisted.internet._producer_helpers", + "twisted.internet.defer", + "twisted.internet.interfaces", + "twisted.logger", + "twisted.protocols", + "twisted.python", + "twisted.python.compat", + "twisted.python.components", + "twisted.python.deprecate", + "twisted.python.failure", + "twisted.web._abnf", + "twisted.web._http2", + "twisted.web._responses", + "twisted.web.http_headers", + "twisted.web.iweb", + "typing", + "urllib.parse", + "warnings", + "zope.interface" ] }, - "objective-c/worldwideweb/HyperText.h": { + "python/twisted/reflect.py": { "1. Artifact Identity": { - "Filename": "HyperText.h", - "Path": "objective-c/worldwideweb/HyperText.h", - "Language": "Objective-C", + "Filename": "reflect.py", + "Path": "python/twisted/reflect.py", + "Language": "Python", "Architect": "Unknown Architect", - "Indentation Style": "Tabs", + "Indentation Style": "Spaces", + "Parent Entity": "Exception, ValueError, InvalidName", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 0, - "Identity Proof": "Sibling Anchor (.m)" + "Folder Dominant Lang": "python", + "Lock Tier": 1.5, + "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": -3318.16, - "Y": -36.27, - "Z": 3844.86 + "X": 6805.67, + "Y": -135.8, + "Z": -842.37 }, "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": 95, - "Coding LOC": 62, - "Documentation LOC": 10, - "Structural Magnitude": 91.44, - "Control Flow Ratio": "0.0%", - "Popularity Rank": 4, + "Total LOC": 687, + "Coding LOC": 295, + "Documentation LOC": 249, + "Structural Magnitude": 264.9, + "Control Flow Ratio": "40.6%", + "Popularity Rank": 2, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.0 + "Raw Cognitive Density": 0.762 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "0.0%", - "Error & Exception Exposure": "0.0%", - "Tech Debt Exposure": "0.0%", + "Cognitive Load Exposure": "25.62%", + "Error & Exception Exposure": "41.9%", + "Tech Debt Exposure": "13.92%", "Testing Exposure": "80.0%", - "API Exposure": "15.82%", + "API Exposure": "3.52%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "0.0%", - "Commented Logic Exposure": "0.0%", + "State Flux Exposure": "47.24%", + "Commented Logic Exposure": "5.37%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "100.0%", + "Documentation Exposure": "22.29%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "readSGML", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 34, - "End Line": 34 - }, - { - "Function Name": "writeSGML", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 35, - "End Line": 35 - }, - { - "Function Name": "replaceSel", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 53, - "End Line": 53 - }, - { - "Function Name": "newAnchor", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 32, - "End Line": 32 - }, - { - "Function Name": "readText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 37, - "End Line": 37 - }, - { - "Function Name": "setFormat", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 44, - "End Line": 44 + "Function Name": "objgrep", + "Structural Impact": 62.9, + "Lines of Code (LOC)": 117, + "Control Flow Branches": 18, + "Input Parameters": 8, + "Control Flow Ratio": "66.7%", + "Start Line": 534, + "End Line": 650 }, { - "Function Name": "applyToSimilar", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", + "Function Name": "addMethodNamesToDict", + "Structural Impact": 19.9, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 7, + "Input Parameters": 4, + "Control Flow Ratio": "77.8%", "Start Line": 48, - "End Line": 48 - }, - { - "Function Name": "applyStyle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 49, - "End Line": 49 + "End Line": 87 }, { - "Function Name": "selectUnstyled", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 50, - "End Line": 50 + "Function Name": "accumulateMethods", + "Structural Impact": 19.9, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 7, + "Input Parameters": 4, + "Control Flow Ratio": "77.8%", + "Start Line": 109, + "End Line": 149 }, { - "Function Name": "updateStyle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "namedAny", + "Structural Impact": 17.2, + "Lines of Code (LOC)": 62, + "Control Flow Branches": 9, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 51, - "End Line": 51 + "Control Flow Ratio": "81.8%", + "Start Line": 249, + "End Line": 310 }, { - "Function Name": "selectionStyle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "filenameToModuleName", + "Structural Impact": 11.7, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 6, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 52, - "End Line": 52 + "Control Flow Ratio": "66.7%", + "Start Line": 313, + "End Line": 348 }, { - "Function Name": "appendStyle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 58, - "End Line": 58 + "Function Name": "accumulateClassDict", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 3, + "Input Parameters": 4, + "Control Flow Ratio": "75.0%", + "Start Line": 465, + "End Line": 499 }, { - "Function Name": "appendText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 59, - "End Line": 59 + "Function Name": "accumulateClassList", + "Structural Impact": 9.4, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 3, + "Input Parameters": 4, + "Control Flow Ratio": "75.0%", + "Start Line": 502, + "End Line": 511 }, { - "Function Name": "appendCharacter", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "_importAndCheckStack", + "Structural Impact": 7.0, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 3, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 60, - "End Line": 60 + "Control Flow Ratio": "60.0%", + "Start Line": 221, + "End Line": 246 }, { - "Function Name": "appendBeginAnchor", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "safe_str", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 3, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 61, - "End Line": 61 + "Control Flow Ratio": "37.5%", + "Start Line": 418, + "End Line": 435 }, { - "Function Name": "linkSelTo", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "_determineClassName", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 75, - "End Line": 75 + "Control Flow Ratio": "33.3%", + "Start Line": 365, + "End Line": 373 }, { - "Function Name": "disconnectAnchor", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 76, - "End Line": 76 + "Function Name": "_safeFormat", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 376, + "End Line": 400 }, { - "Function Name": "selectAnchor", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 77, - "End Line": 77 + "Function Name": "requireModule", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 176, + "End Line": 192 }, { - "Function Name": "setTitle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "safe_repr", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 79, - "End Line": 79 + "Control Flow Ratio": "25.0%", + "Start Line": 403, + "End Line": 415 }, { - "Function Name": "dump", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "namedModule", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 80, - "End Line": 80 + "Control Flow Ratio": "33.3%", + "Start Line": 152, + "End Line": 161 }, { - "Function Name": "readText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "_determineClass", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 84, - "End Line": 84 + "Control Flow Ratio": "20.0%", + "Start Line": 358, + "End Line": 362 }, { - "Function Name": "readRichText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "fullFuncName", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 85, - "End Line": 85 + "Control Flow Ratio": "25.0%", + "Start Line": 451, + "End Line": 455 }, { - "Function Name": "mouseDown", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "prefixedMethodNames", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 18, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 86, - "End Line": 86 + "Start Line": 28, + "End Line": 45 }, { - "Function Name": "keyDown", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "prefixedMethods", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 17, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 87, - "End Line": 87 + "Start Line": 90, + "End Line": 106 }, { - "Function Name": "paste", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "__init__", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 88, - "End Line": 88 + "Start Line": 443, + "End Line": 445 }, { - "Function Name": "windowDidBecomeMain", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "namedObject", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 92, - "End Line": 92 - }, - { - "Function Name": "Accmgr", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 38, - "End Line": 38 - }, - { - "Function Name": "isIndex", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 39, - "End Line": 39 - }, - { - "Function Name": "setupWindow", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 40, - "End Line": 40 - }, - { - "Function Name": "adjustWindow", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 41, - "End Line": 41 - }, - { - "Function Name": "format", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 43, - "End Line": 43 + "Start Line": 164, + "End Line": 170 }, { - "Function Name": "appendBegin", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "__call__", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 57, - "End Line": 57 + "Start Line": 447, + "End Line": 448 }, { - "Function Name": "appendEndAnchor", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "isSame", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 62, - "End Line": 62 + "Start Line": 514, + "End Line": 515 }, { - "Function Name": "appendEnd", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "isLike", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 63, - "End Line": 63 + "Start Line": 518, + "End Line": 519 }, { - "Function Name": "nodeAnchor", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "isOfType", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 70, - "End Line": 70 + "Start Line": 526, + "End Line": 527 }, { - "Function Name": "followLink", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "findInstances", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 71, - "End Line": 71 + "Start Line": 530, + "End Line": 531 }, { - "Function Name": "unlinkSelection", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "qual", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 72, - "End Line": 72 + "Start Line": 351, + "End Line": 355 }, { - "Function Name": "referenceSelected", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "getClass", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 73, - "End Line": 73 + "Start Line": 458, + "End Line": 462 }, { - "Function Name": "referenceAll", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "modgrep", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 74, - "End Line": 74 + "Start Line": 522, + "End Line": 523 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 0, - "Sequential Logic Declarations": 2, + "Control Flow Branches": 67, + "Sequential Logic Declarations": 98, "Function Parameters": 28, - "Function/Method Declarations": 40, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 0, - "Type/Safety Bypasses": 0, + "Function/Method Declarations": 28, + "Class/Entity Declarations": 5, + "Defensive Programming Constructs": 30, + "Type/Safety Bypasses": 12, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 7, - "Exposed API / Public Exports": 36, - "State Mutations / Variable Reassignments": 0, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, + "I/O and Network Boundaries": 11, + "Exposed API / Public Exports": 28, + "State Mutations / Variable Reassignments": 16, + "Commented-out Code (Dead Logic)": 1, + "Structured Documentation Blocks": 48, "Unit Test Assertions": 0, "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 3, + "UI / View Layer Components": 0, "Closures and Anonymous Functions": 0, - "Global State Dependencies": 2, + "Global State Dependencies": 0, "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, + "Generic Type Abstractions": 7, "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 4, + "Metaprogramming & Reflection": 13, + "Module Dependencies (Imports)": 14, "Authorship Metadata": 0, "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 1, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, - "Preprocessor Macros": 7, + "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": 29, - "Fatal Aborts & Exceptions": 0, + "Ad-hoc Print / Debug Statements": 1, + "Explicit Type Casts": 6, + "Fatal Aborts & Exceptions": 7, "Thread Sleeps & Blocking Waits": 0, "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 3, + "Immutable Data Declarations": 0, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, + "Private / Encapsulated Scopes": 54, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 6, - "Structural Space Indentations": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 246, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, "Ipc Rpc Bridges": 0, "Feature Flags": 0, "Serialization Parsing": 0, - "Regex Execution": 0, + "Regex Execution": 1, "Time Date Logic": 0, "Cloud LLM API Integrations": 0, "AI Orchestration Frameworks": 0, @@ -307393,12 +307910,12 @@ "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, + "Core Var Decl": 52, + "Design Camel Case": 26, + "Design Snake Case": 25, + "Design Pascal Case": 1, "Design Upper Case": 0, - "Design Short Vars": 0, + "Design Short Vars": 5, "Design Long Vars": 0, "Duplicate Logic": 0, "Orphaned Logic": 0, @@ -307425,831 +307942,892 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 4, - "Direct Downstream (Dependency Blast Radius)": 4, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 4 + "Direct Upstream (Fragility)": 14, + "Direct Downstream (Dependency Blast Radius)": 2, + "Total Upstream (Absolute Fragility)": 3, + "Total Downstream (Absolute Dependency Blast Radius)": 2 }, "9. Extracted Dependencies": [ - "Anchor.h", - "HTStyle.h", - "appkit/Text.h", - "objc/List.h" + "__future__", + "a", + "collections", + "io", + "os", + "path", + "pickle", + "re", + "sys", + "traceback", + "twisted.python.compat", + "twisted.python.deprecate", + "types", + "weakref" ] }, - "objective-c/worldwideweb/HyperText.m": { + "python/twisted/transport.py": { "1. Artifact Identity": { - "Filename": "HyperText.m", - "Path": "objective-c/worldwideweb/HyperText.m", - "Language": "Objective-C", - "Architect": "Tim Berners-Lee", - "Indentation Style": "Mixed (75.2% Spaces / 24.8% Tabs)", + "Filename": "transport.py", + "Path": "python/twisted/transport.py", + "Language": "Python", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Parent Entity": "Tuple[_DigestMod, bytes, bytes, int], protocol.Protocol, SSHTransportBase", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 0, - "Identity Proof": "Sibling Anchor (.h)" + "Folder Dominant Lang": "python", + "Lock Tier": 1.5, + "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": -2791.6, - "Y": -16.03, - "Z": 3856.01 + "X": 6536.9, + "Y": -69.44, + "Z": -1814.3 }, "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": 1614, - "Coding LOC": 1039, - "Documentation LOC": 290, - "Structural Magnitude": 1624.78, - "Control Flow Ratio": "99.3%", - "Popularity Rank": 0, + "Total LOC": 2264, + "Coding LOC": 1015, + "Documentation LOC": 886, + "Structural Magnitude": 775.6, + "Control Flow Ratio": "41.5%", + "Popularity Rank": 2, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.038 + "Raw Cognitive Density": 0.6 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "75.97%", - "Error & Exception Exposure": "99.19%", - "Tech Debt Exposure": "74.52%", + "Cognitive Load Exposure": "17.72%", + "Error & Exception Exposure": "69.28%", + "Tech Debt Exposure": "10.38%", "Testing Exposure": "80.0%", - "API Exposure": "1.88%", + "API Exposure": "3.24%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "5.27%", + "State Flux Exposure": "99.86%", + "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%" + "Hardcoded Payload Artifacts": "24.56%" }, "5. Function Analysis": [ { - "Function Name": "applyStyle", - "Structural Impact": 70.8, - "Lines of Code (LOC)": 137, - "Control Flow Branches": 31, + "Function Name": "ssh_KEXINIT", + "Structural Impact": 28.6, + "Lines of Code (LOC)": 121, + "Control Flow Branches": 12, + "Input Parameters": 2, + "Control Flow Ratio": "75.0%", + "Start Line": 864, + "End Line": 984 + }, + { + "Function Name": "getPacket", + "Structural Impact": 20.0, + "Lines of Code (LOC)": 61, + "Control Flow Branches": 11, + "Input Parameters": 1, + "Control Flow Ratio": "52.4%", + "Start Line": 662, + "End Line": 722 + }, + { + "Function Name": "dataReceived", + "Structural Impact": 16.1, + "Lines of Code (LOC)": 44, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "63.6%", + "Start Line": 737, + "End Line": 780 + }, + { + "Function Name": "dispatchMessage", + "Structural Impact": 15.6, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 6, "Input Parameters": 3, - "Control Flow Ratio": "100.0%", - "Start Line": 813, - "End Line": 949 + "Control Flow Ratio": "85.7%", + "Start Line": 782, + "End Line": 812 }, { - "Function Name": "willChange", - "Structural Impact": 28.6, + "Function Name": "_generateECSharedSecret", + "Structural Impact": 13.8, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 5, + "Input Parameters": 3, + "Control Flow Ratio": "71.4%", + "Start Line": 1394, + "End Line": 1428 + }, + { + "Function Name": "isEncrypted", + "Structural Impact": 13.0, "Lines of Code (LOC)": 18, - "Control Flow Branches": 15, + "Control Flow Branches": 6, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 640, - "End Line": 657 + "Control Flow Ratio": "60.0%", + "Start Line": 1252, + "End Line": 1269 }, { - "Function Name": "adjustWindow", - "Structural Impact": 20.5, - "Lines of Code (LOC)": 110, - "Control Flow Branches": 14, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 194, - "End Line": 303 + "Function Name": "isVerified", + "Structural Impact": 13.0, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 6, + "Input Parameters": 2, + "Control Flow Ratio": "60.0%", + "Start Line": 1271, + "End Line": 1288 + }, + { + "Function Name": "sendPacket", + "Structural Impact": 11.9, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 4, + "Input Parameters": 3, + "Control Flow Ratio": "66.7%", + "Start Line": 623, + "End Line": 660 + }, + { + "Function Name": "ssh_KEXINIT", + "Structural Impact": 11.3, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "71.4%", + "Start Line": 1478, + "End Line": 1496 + }, + { + "Function Name": "ssh_KEXINIT", + "Structural Impact": 11.0, + "Lines of Code (LOC)": 46, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 1805, + "End Line": 1850 + }, + { + "Function Name": "ssh_KEX_DH_GEX_REQUEST_OLD", + "Structural Impact": 10.5, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1596, + "End Line": 1631 + }, + { + "Function Name": "_ssh_KEX_ECDH_REPLY", + "Structural Impact": 10.2, + "Lines of Code (LOC)": 66, + "Control Flow Branches": 3, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1852, + "End Line": 1917 + }, + { + "Function Name": "_encodeECPublicKey", + "Structural Impact": 10.0, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "57.1%", + "Start Line": 1367, + "End Line": 1392 + }, + { + "Function Name": "_generateECPrivateKey", + "Structural Impact": 9.7, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "62.5%", + "Start Line": 1342, + "End Line": 1365 + }, + { + "Function Name": "ssh_SERVICE_ACCEPT", + "Structural Impact": 9.7, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "80.0%", + "Start Line": 2109, + "End Line": 2128 + }, + { + "Function Name": "sendKexInit", + "Structural Impact": 9.5, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "80.0%", + "Start Line": 547, + "End Line": 595 + }, + { + "Function Name": "ssh_KEX_DH_GEX_GROUP", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 3, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1957, + "End Line": 1980 + }, + { + "Function Name": "_continue_KEX_ECDH_REPLY", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 2, + "Input Parameters": 4, + "Control Flow Ratio": "66.7%", + "Start Line": 1875, + "End Line": 1896 + }, + { + "Function Name": "sendDebug", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 4, + "Control Flow Ratio": "66.7%", + "Start Line": 1075, + "End Line": 1089 + }, + { + "Function Name": "_keySetup", + "Structural Impact": 7.2, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "66.7%", + "Start Line": 1207, + "End Line": 1230 + }, + { + "Function Name": "_continueGEX_REPLY", + "Structural Impact": 6.9, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 1, + "Input Parameters": 5, + "Control Flow Ratio": "33.3%", + "Start Line": 2042, + "End Line": 2081 + }, + { + "Function Name": "setKeys", + "Structural Impact": 6.7, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 1, + "Input Parameters": 7, + "Control Flow Ratio": "50.0%", + "Start Line": 145, + "End Line": 165 + }, + { + "Function Name": "_finishEphemeralDH", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 1157, + "End Line": 1185 + }, + { + "Function Name": "_newKeys", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "75.0%", + "Start Line": 1232, + "End Line": 1250 + }, + { + "Function Name": "_allowedKeyExchangeMessageType", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 597, + "End Line": 621 + }, + { + "Function Name": "_getHostKeys", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1453, + "End Line": 1476 + }, + { + "Function Name": "_continueKEXDH_REPLY", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 1, + "Input Parameters": 5, + "Control Flow Ratio": "33.3%", + "Start Line": 1982, + "End Line": 2011 + }, + { + "Function Name": "ssh_SERVICE_REQUEST", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1730, + "End Line": 1751 + }, + { + "Function Name": "ssh_NEWKEYS", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 2091, + "End Line": 2107 + }, + { + "Function Name": "sendExtInfo", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 1128, + "End Line": 1141 + }, + { + "Function Name": "_getMAC", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 187, + "End Line": 221 + }, + { + "Function Name": "connectionLost", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 523, + "End Line": 535 }, { - "Function Name": "endOfParagraph", - "Structural Impact": 20.0, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 12, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 730, - "End Line": 761 + "Function Name": "verify", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "25.0%", + "Start Line": 266, + "End Line": 286 }, { - "Function Name": "appendStyle", - "Structural Impact": 17.1, - "Lines of Code (LOC)": 30, - "Control Flow Branches": 10, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1255, - "End Line": 1284 + "Function Name": "_getSupportedCiphers", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 3, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 289, + "End Line": 319 }, { - "Function Name": "apply", - "Structural Impact": 17.0, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 8, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 606, - "End Line": 634 + "Function Name": "_getCipher", + "Structural Impact": 5.4, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "25.0%", + "Start Line": 167, + "End Line": 185 }, { - "Function Name": "followLink", - "Structural Impact": 16.9, - "Lines of Code (LOC)": 39, - "Control Flow Branches": 14, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 533, - "End Line": 571 + "Function Name": "_ssh_KEXDH_REPLY", + "Structural Impact": 5.3, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1919, + "End Line": 1955 }, { - "Function Name": "linkSelTo", - "Structural Impact": 16.8, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 10, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 442, - "End Line": 466 + "Function Name": "receiveDebug", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "50.0%", + "Start Line": 1327, + "End Line": 1340 }, { - "Function Name": "applyStyle", - "Structural Impact": 16.8, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 10, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 958, - "End Line": 981 + "Function Name": "makeMAC", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 247, + "End Line": 264 }, { - "Function Name": "run_match", - "Structural Impact": 16.1, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 8, + "Function Name": "ssh_KEX_DH_GEX_REPLY", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 28, + "Control Flow Branches": 1, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 767, - "End Line": 777 + "Control Flow Ratio": "33.3%", + "Start Line": 2013, + "End Line": 2040 }, { - "Function Name": "startOfParagraph", - "Structural Impact": 15.0, + "Function Name": "sendDisconnect", + "Structural Impact": 4.8, "Lines of Code (LOC)": 17, - "Control Flow Branches": 9, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 702, - "End Line": 718 + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 1110, + "End Line": 1126 }, { - "Function Name": "applyToSimilar", - "Structural Impact": 14.1, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 8, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 988, - "End Line": 1014 + "Function Name": "_keySetup", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 1701, + "End Line": 1715 }, { - "Function Name": "dump", - "Structural Impact": 14.0, - "Lines of Code (LOC)": 53, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 128, - "End Line": 180 + "Function Name": "ssh_KEX_DH_GEX_REQUEST", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1633, + "End Line": 1657 }, { - "Function Name": "windowWillClose", - "Structural Impact": 13.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 8, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1099, - "End Line": 1108 + "Function Name": "ssh_EXT_INFO", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1041, + "End Line": 1058 }, { - "Function Name": "selectAnchor", - "Structural Impact": 12.3, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 503, - "End Line": 522 + "Function Name": "_keySetup", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 2083, + "End Line": 2089 }, { - "Function Name": "keyDown", - "Structural Impact": 12.1, - "Lines of Code (LOC)": 44, - "Control Flow Branches": 6, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1426, - "End Line": 1469 + "Function Name": "setService", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1060, + "End Line": 1073 }, { - "Function Name": "mergeRun", - "Structural Impact": 9.1, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 785, - "End Line": 797 + "Function Name": "ssh_NEWKEYS", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1717, + "End Line": 1728 }, { - "Function Name": "referenceSelected", - "Structural Impact": 8.9, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 419, - "End Line": 437 + "Function Name": "_ssh_KEX_ECDH_INIT", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 56, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1498, + "End Line": 1553 }, { - "Function Name": "anchorSelected", - "Structural Impact": 8.8, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 394, - "End Line": 410 + "Function Name": "_ssh_KEXDH_INIT", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1555, + "End Line": 1594 }, { - "Function Name": "mouseDown", - "Structural Impact": 8.8, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1407, - "End Line": 1412 + "Function Name": "ssh_KEX_DH_GEX_INIT", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1659, + "End Line": 1699 }, { - "Function Name": "appendEnd", - "Structural Impact": 8.7, - "Lines of Code (LOC)": 34, - "Control Flow Branches": 6, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 1305, - "End Line": 1338 + "Function Name": "_getKey", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1187, + "End Line": 1205 }, { - "Function Name": "selectUnstyled", - "Structural Impact": 7.7, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 589, - "End Line": 601 + "Function Name": "__init__", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 5, + "Control Flow Ratio": "0.0%", + "Start Line": 134, + "End Line": 143 }, { - "Function Name": "appendBegin", - "Structural Impact": 7.7, - "Lines of Code (LOC)": 34, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 1217, - "End Line": 1250 + "Function Name": "receiveError", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 1299, + "End Line": 1315 }, { - "Function Name": "setupWindow", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 55, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 309, - "End Line": 363 + "Function Name": "verifyHostKey", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 2142, + "End Line": 2155 }, { - "Function Name": "newAnchor", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 83, - "End Line": 100 + "Function Name": "ssh_DISCONNECT", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 986, + "End Line": 1001 }, { - "Function Name": "updateStyle", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 663, - "End Line": 675 + "Function Name": "ssh_DEBUG", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1025, + "End Line": 1039 }, { - "Function Name": "disconnectAnchor", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 682, - "End Line": 694 + "Function Name": "encrypt", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 223, + "End Line": 233 }, { - "Function Name": "replaceSel", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 2, + "Function Name": "decrypt", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 1037, - "End Line": 1050 + "Control Flow Ratio": "0.0%", + "Start Line": 235, + "End Line": 245 }, { - "Function Name": "unlinkSelection", - "Structural Impact": 5.6, + "Function Name": "_unsupportedVersionReceived", + "Structural Impact": 2.3, "Lines of Code (LOC)": 12, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 476, - "End Line": 487 + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 724, + "End Line": 735 }, { - "Function Name": "appendStartBlock", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 1189, - "End Line": 1213 + "Function Name": "ssh_UNIMPLEMENTED", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1012, + "End Line": 1023 }, { - "Function Name": "selectionStyle", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1019, - "End Line": 1028 + "Function Name": "update", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2170, + "End Line": 2180 }, { - "Function Name": "readText", - "Structural Impact": 3.8, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1059, - "End Line": 1077 + "Function Name": "sendIgnore", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1091, + "End Line": 1100 }, { - "Function Name": "initialize", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 50, - "End Line": 55 + "Function Name": "receiveUnimplemented", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1317, + "End Line": 1325 }, { - "Function Name": "appendBeginAnchor", - "Structural Impact": 3.3, + "Function Name": "requestService", + "Structural Impact": 2.2, "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1375, - "End Line": 1383 + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2130, + "End Line": 2138 }, { - "Function Name": "readRichText", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, + "Function Name": "_startEphemeralDH", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1086, - "End Line": 1092 + "Control Flow Ratio": "0.0%", + "Start Line": 1143, + "End Line": 1155 }, { - "Function Name": "appendCharacter", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, + "Function Name": "_mpFromBytes", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1361, - "End Line": 1365 + "Control Flow Ratio": "0.0%", + "Start Line": 51, + "End Line": 62 }, { - "Function Name": "appendText", - "Structural Impact": 3.1, + "Function Name": "kexAlg", + "Structural Impact": 2.0, "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1367, - "End Line": 1371 + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 844, + "End Line": 848 }, { - "Function Name": "setTitle", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "connectionMade", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 573, - "End Line": 576 + "Control Flow Ratio": "0.0%", + "Start Line": 537, + "End Line": 545 }, { - "Function Name": "windowDidBecomeMain", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "getPeer", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1112, - "End Line": 1115 + "Control Flow Ratio": "0.0%", + "Start Line": 814, + "End Line": 823 }, { - "Function Name": "setFormat", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "getHost", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 119, - "End Line": 119 + "Control Flow Ratio": "0.0%", + "Start Line": 825, + "End Line": 834 }, { - "Function Name": "page_width", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 62, - "End Line": 72 + "Function Name": "sendUnimplemented", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1102, + "End Line": 1108 }, { - "Function Name": "anchor", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 379, - "End Line": 388 + "Function Name": "connectionMade", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1797, + "End Line": 1803 }, { - "Function Name": "appendEndAnchor", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 1386, - "End Line": 1393 + "Function Name": "encryptor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2201, + "End Line": 2207 }, { - "Function Name": "free", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 108, - "End Line": 113 + "Function Name": "decryptor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2209, + "End Line": 2215 }, { - "Function Name": "referenceAll", - "Structural Impact": 2.2, + "Function Name": "kexAlg", + "Structural Impact": 1.7, "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 490, - "End Line": 494 - }, - { - "Function Name": "format", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 118, - "End Line": 118 - }, - { - "Function Name": "nodeAnchor", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 368, - "End Line": 368 - }, - { - "Function Name": "isIndex", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 369, - "End Line": 369 - }, - { - "Function Name": "loadPlainText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 11, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1342, - "End Line": 1352 + "Start Line": 837, + "End Line": 841 }, { - "Function Name": "paste", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "loseConnection", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1568, - "End Line": 1568 + "Start Line": 1290, + "End Line": 1295 }, { - "Function Name": "start_input", - "Structural Impact": 1.3, + "Function Name": "connectionSecure", + "Structural Impact": 1.7, "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1140, - "End Line": 1145 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 294, - "Sequential Logic Declarations": 2, - "Function Parameters": 195, - "Function/Method Declarations": 51, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 15, - "Type/Safety Bypasses": 7, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 14, - "Exposed API / Public Exports": 1, - "State Mutations / Variable Reassignments": 1123, - "Commented-out Code (Dead Logic)": 2, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 20, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 2, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 3, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 13, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 11, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 1, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 25, - "Pointer Arithmetic & Addressing": 342, - "Manual Memory Allocation": 3, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 51, - "Explicit Type Casts": 91, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 29, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 4, - "Resource Deallocation & Cleanup": 9, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 164, - "Structural Space Indentations": 496, - "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": 160, - "Design Camel Case": 30, - "Design Snake Case": 125, - "Design Pascal Case": 0, - "Design Upper Case": 1, - "Design Short Vars": 29, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 22, - "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)": 11, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "../../../Implementation/HTAnchor.h", - "../../../Implementation/HTML.h", - "HTAnchor.h", - "HTML.h", - "HTParse.h", - "HTStyle.h", - "HTUtils.h", - "HyperAccess.h", - "HyperText.h", - "WWW.h", - "appkit/appkit.h" - ] - }, - "objective-c/worldwideweb/TcpAccess.m": { - "1. Artifact Identity": { - "Filename": "TcpAccess.m", - "Path": "objective-c/worldwideweb/TcpAccess.m", - "Language": "Objective-C", - "Architect": "Unknown Architect", - "Indentation Style": "Mixed (83.9% Spaces / 16.1% Tabs)", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Shebang)" - }, - "2. Topological Coordinates": { - "X": -2315.42, - "Y": 61.12, - "Z": 3862.43 - }, - "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": 109, - "Coding LOC": 48, - "Documentation LOC": 30, - "Structural Magnitude": 50.56, - "Control Flow Ratio": "88.2%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.958 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "69.71%", - "Error & Exception Exposure": "78.76%", - "Tech Debt Exposure": "0.0%", - "Testing Exposure": "2.82%", - "API Exposure": "4.67%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "99.94%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "44.36%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "loadAnchor", - "Structural Impact": 16.3, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 8, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 92, - "End Line": 106 - }, - { - "Function Name": "accessName", - "Structural Impact": 16.1, - "Lines of Code (LOC)": 43, - "Control Flow Branches": 6, - "Input Parameters": 3, - "Control Flow Ratio": "100.0%", - "Start Line": 35, - "End Line": 77 - }, - { - "Function Name": "name", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 27, - "End Line": 30 + "Start Line": 2157, + "End Line": 2162 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 15, - "Sequential Logic Declarations": 2, - "Function Parameters": 13, - "Function/Method Declarations": 3, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 2, - "Type/Safety Bypasses": 0, + "Control Flow Branches": 144, + "Sequential Logic Declarations": 203, + "Function Parameters": 80, + "Function/Method Declarations": 77, + "Class/Entity Declarations": 8, + "Defensive Programming Constructs": 14, + "Type/Safety Bypasses": 10, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 4, - "Exposed API / Public Exports": 2, - "State Mutations / Variable Reassignments": 13, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 73, + "State Mutations / Variable Reassignments": 224, "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, + "Structured Documentation Blocks": 168, + "Unit Test Assertions": 1, "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 3, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 0, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 3, + "Global State Dependencies": 1, + "Decorators and Annotations": 2, + "Generic Type Abstractions": 21, + "Collection Iterators / Comprehensions": 8, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 4, + "Metaprogramming & Reflection": 3, + "Module Dependencies (Imports)": 25, "Authorship Metadata": 0, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, + "Planned Work (TODOs)": 3, + "Acknowledged Tech Debt (FIXMEs)": 1, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, + "Event Publishers / Emitters": 1, "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": 2, + "Ad-hoc Print / Debug Statements": 0, "Explicit Type Casts": 6, - "Fatal Aborts & Exceptions": 0, + "Fatal Aborts & Exceptions": 10, "Thread Sleeps & Blocking Waits": 0, "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 3, + "Immutable Data Declarations": 0, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, + "Private / Encapsulated Scopes": 178, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 5, - "Structural Space Indentations": 26, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 943, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -308265,30 +308843,30 @@ "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": 4, - "Design Camel Case": 1, - "Design Snake Case": 1, - "Design Pascal Case": 0, - "Design Upper Case": 2, - "Design Short Vars": 3, - "Design Long Vars": 0, + "Vectorized Math & Tensor Operations": 5, + "Core Var Decl": 246, + "Design Camel Case": 80, + "Design Snake Case": 118, + "Design Pascal Case": 3, + "Design Upper Case": 32, + "Design Short Vars": 26, + "Design Long Vars": 15, "Duplicate Logic": 0, "Orphaned Logic": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, + "High-Entropy / Obfuscated Logic": 3, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, "Dynamic Code Execution (Eval/Exec)": 0, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 2, + "Commented-Out Executable Logic": 1, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, + "Embedded Credentials & Keys": 1, "Sec Extension Mismatch": 0, "Sec Entropy": 0, "Sec Tainted Injection": 0, @@ -308298,16 +308876,38 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 4, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, + "Direct Upstream (Fragility)": 26, + "Direct Downstream (Dependency Blast Radius)": 2, + "Total Upstream (Absolute Fragility)": 1, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "Anchor.h", - "HTTP.h", - "HTUtils.h", - "TcpAccess.h" + "__future__", + "binascii", + "cryptography.exceptions", + "cryptography.hazmat.backends", + "cryptography.hazmat.decrepit.ciphers.algorithms", + "cryptography.hazmat.primitives", + "cryptography.hazmat.primitives.asymmetric", + "cryptography.hazmat.primitives.ciphers", + "cryptography.hazmat.primitives.ciphers.algorithms", + "hashlib", + "hmac", + "is", + "struct", + "twisted", + "twisted.conch.ssh", + "twisted.conch.ssh.common", + "twisted.conch.ssh.factory", + "twisted.conch.ssh.service", + "twisted.internet", + "twisted.logger", + "twisted.python", + "twisted.python.compat", + "twisted.python.failure", + "types", + "typing", + "zlib" ] } } diff --git a/tests/golden_master_zero_dep_audit.json b/tests/golden_master_zero_dep_audit.json index 76c4843d5..b9e5333ef 100644 --- a/tests/golden_master_zero_dep_audit.json +++ b/tests/golden_master_zero_dep_audit.json @@ -12,8 +12,8 @@ }, "Target Root Name": "data", "Absolute Project Path": "/home/joe/nyx_projects/language-crucible/data", - "Analysis ISO Timestamp": "2026-08-17T01:54:24.467293+00:00", - "Total Scan Duration": "49.93 seconds" + "Analysis ISO Timestamp": "2026-08-17T03:24:40.296962+00:00", + "Total Scan Duration": "47.43 seconds" }, "Source Control Footprint (Immutable Anchor)": { "Active Branch": "HEAD", @@ -196,9 +196,9 @@ } }, "health": { - "avg_cognitive_load": 24.768, - "avg_safety_score": 38.602, - "avg_tech_debt": 23.322, + "avg_cognitive_load": 24.747, + "avg_safety_score": 38.601, + "avg_tech_debt": 23.362, "avg_documentation": 21.555 }, "composition": { @@ -245,7 +245,7 @@ "c": { "files": 44, "loc": 74236, - "impact": 103331.12 + "impact": 104111.51999999999 }, "batch": { "files": 3, @@ -641,9 +641,9 @@ }, "c/sqlite": { "file_count": 2, - "total_mass": 9954.46, + "total_mass": 10009.46, "avg_exposures": { - "cognitive_load": 45.8, + "cognitive_load": 45.78, "safety_score": 49.78, "tech_debt": 4.01, "verification": 40.0, @@ -1021,11 +1021,11 @@ }, "c/cpython": { "file_count": 8, - "total_mass": 35273.84, + "total_mass": 35701.24, "avg_exposures": { - "cognitive_load": 72.91, - "safety_score": 86.01, - "tech_debt": 34.97, + "cognitive_load": 70.49, + "safety_score": 86.0, + "tech_debt": 35.25, "verification": 70.29, "api_exposure": 13.77, "concurrency": 0.0, @@ -1116,7 +1116,7 @@ }, "c/micropython": { "file_count": 12, - "total_mass": 11101.74, + "total_mass": 11109.94, "avg_exposures": { "cognitive_load": 49.19, "safety_score": 53.58, @@ -1154,31 +1154,31 @@ }, "objective-c/worldwideweb": { "file_count": 6, - "total_mass": 3255.8, + "total_mass": 3294.7, "avg_exposures": { - "cognitive_load": 66.47, + "cognitive_load": 66.5, "safety_score": 76.31, "tech_debt": 17.49, "verification": 67.14, - "api_exposure": 9.27, + "api_exposure": 9.29, "concurrency": 0.0, "state_flux": 83.32, "dead_code": 3.45, "spec_match": 100.0, "stability": 50.0, "churn": 0.0, - "documentation": 60.18, + "documentation": 60.19, "secrets_risk": 0.0 } }, "python/numpy": { "file_count": 18, - "total_mass": 9250.66, + "total_mass": 9290.36, "avg_exposures": { "cognitive_load": 14.87, "safety_score": 43.1, - "tech_debt": 17.35, - "verification": 36.49, + "tech_debt": 19.32, + "verification": 40.81, "api_exposure": 3.09, "concurrency": 0.0, "state_flux": 45.12, @@ -1192,9 +1192,9 @@ }, "scheme/racket": { "file_count": 7, - "total_mass": 233922.26, + "total_mass": 234133.46, "avg_exposures": { - "cognitive_load": 34.91, + "cognitive_load": 34.9, "safety_score": 59.45, "tech_debt": 6.43, "verification": 24.17, @@ -1205,7 +1205,7 @@ "spec_match": 85.71, "stability": 42.86, "churn": 0.0, - "documentation": 35.3, + "documentation": 35.31, "secrets_risk": 0.0 } }, @@ -3968,7 +3968,7 @@ { "name": "object.c", "path": "c/cpython/object.c", - "value": 697.06 + "value": 697.1 }, { "name": "crConnection.ts", @@ -5361,14 +5361,14 @@ ], "6. Parsed Files (Scanned Artifacts)": { "scheme/racket": { - "Directory Group Magnitude": 233922.26, + "Directory Group Magnitude": 234133.46, "File Count": 7, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "85.7%", "Static: Literature & Documentation": "14.3%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "34.91%", + "Cognitive Load Exposure": "34.9%", "Error & Exception Exposure": "59.45%", "Tech Debt Exposure": "6.43%", "Testing Exposure": "24.17%", @@ -5379,7 +5379,7 @@ "Specification Exposure": "85.71%", "Instability Exposure": "42.86%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "35.3%", + "Documentation Exposure": "35.31%", "Hardcoded Payload Artifacts": "0.0%" }, "Files": { @@ -5396,9 +5396,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 2193.34, + "X": 2193.5, "Y": -139.65, - "Z": 2332.59 + "Z": 2332.49 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -5410,16 +5410,16 @@ "Total LOC": 4146, "Coding LOC": 3169, "Documentation LOC": 366, - "Structural Magnitude": 5227.18, + "Structural Magnitude": 5279.98, "Control Flow Ratio": "79.4%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.524 + "Raw Cognitive Density": 1.52 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "94.14%", + "Cognitive Load Exposure": "94.07%", "Error & Exception Exposure": "98.8%", "Tech Debt Exposure": "7.92%", "Testing Exposure": "80.0%", @@ -5524,6 +5524,16 @@ "Start Line": 1268, "End Line": 1322 }, + { + "Function Name": "scheme_enlarge_runstack", + "Structural Impact": 30.4, + "Lines of Code (LOC)": 89, + "Control Flow Branches": 14, + "Input Parameters": 2, + "Control Flow Ratio": "77.8%", + "Start Line": 590, + "End Line": 678 + }, { "Function Name": "scheme_init_compiled_roots_config", "Structural Impact": 26.1, @@ -5544,6 +5554,16 @@ "Start Line": 1219, "End Line": 1252 }, + { + "Function Name": "scheme_handle_stack_overflow", + "Structural Impact": 22.4, + "Lines of Code (LOC)": 80, + "Control Flow Branches": 12, + "Input Parameters": 1, + "Control Flow Ratio": "80.0%", + "Start Line": 276, + "End Line": 355 + }, { "Function Name": "find_exe_stack_size", "Structural Impact": 21.4, @@ -6550,7 +6570,7 @@ "Control Flow Branches": 723, "Sequential Logic Declarations": 188, "Function Parameters": 218, - "Function/Method Declarations": 111, + "Function/Method Declarations": 113, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 128, @@ -6696,16 +6716,16 @@ "Total LOC": 10416, "Coding LOC": 8288, "Documentation LOC": 707, - "Structural Magnitude": 14279.56, + "Structural Magnitude": 14437.96, "Control Flow Ratio": "76.0%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.436 + "Raw Cognitive Density": 1.435 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "93.97%", + "Cognitive Load Exposure": "93.94%", "Error & Exception Exposure": "98.42%", "Tech Debt Exposure": "20.13%", "Testing Exposure": "80.0%", @@ -6716,7 +6736,7 @@ "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "99.69%", + "Documentation Exposure": "99.71%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ @@ -6850,6 +6870,16 @@ "Start Line": 7068, "End Line": 7165 }, + { + "Function Name": "scheme_dynamic_wind", + "Structural Impact": 100.0, + "Lines of Code (LOC)": 188, + "Control Flow Branches": 36, + "Input Parameters": 5, + "Control Flow Ratio": "73.5%", + "Start Line": 9660, + "End Line": 9847 + }, { "Function Name": "extract_impersonator_results", "Structural Impact": 97.8, @@ -6960,6 +6990,16 @@ "Start Line": 4792, "End Line": 4881 }, + { + "Function Name": "scheme_top_level_do_worker", + "Structural Impact": 56.5, + "Lines of Code (LOC)": 131, + "Control Flow Branches": 24, + "Input Parameters": 3, + "Control Flow Ratio": "77.4%", + "Start Line": 1264, + "End Line": 1394 + }, { "Function Name": "copy_in_mark_stack", "Structural Impact": 55.5, @@ -8870,6 +8910,16 @@ "Start Line": 10299, "End Line": 10303 }, + { + "Function Name": "scheme_top_level_do", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1260, + "End Line": 1262 + }, { "Function Name": "scheme_make_arity", "Structural Impact": 1.9, @@ -9516,7 +9566,7 @@ "Control Flow Branches": 2274, "Sequential Logic Declarations": 717, "Function Parameters": 613, - "Function/Method Declarations": 279, + "Function/Method Declarations": 282, "Class/Entity Declarations": 4, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 261, @@ -29245,15 +29295,15 @@ } }, "c/cpython": { - "Directory Group Magnitude": 35273.84, + "Directory Group Magnitude": 35701.24, "File Count": 8, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "72.91%", - "Error & Exception Exposure": "86.01%", - "Tech Debt Exposure": "34.97%", + "Cognitive Load Exposure": "70.49%", + "Error & Exception Exposure": "86.0%", + "Tech Debt Exposure": "35.25%", "Testing Exposure": "70.29%", "API Exposure": "13.77%", "Concurrency Exposure": "0.0%", @@ -29447,9 +29497,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": -1390.94, + "X": -1390.92, "Y": 145.69, - "Z": -1761.38 + "Z": -1761.55 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -29461,24 +29511,24 @@ "Total LOC": 3840, "Coding LOC": 3294, "Documentation LOC": 244, - "Structural Magnitude": 6161.48, + "Structural Magnitude": 6214.98, "Control Flow Ratio": "68.6%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.526 + "Raw Cognitive Density": 1.524 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "94.47%", - "Error & Exception Exposure": "90.27%", + "Cognitive Load Exposure": "94.44%", + "Error & Exception Exposure": "90.24%", "Tech Debt Exposure": "9.09%", "Testing Exposure": "80.0%", "API Exposure": "15.95%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "100.0%", "Commented Logic Exposure": "4.96%", - "Specification Exposure": "96.55%", + "Specification Exposure": "96.58%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", "Documentation Exposure": "99.97%", @@ -29575,6 +29625,16 @@ "Start Line": 1664, "End Line": 1726 }, + { + "Function Name": "_PyEval_EvalFrameDefault", + "Structural Impact": 54.5, + "Lines of Code (LOC)": 129, + "Control Flow Branches": 23, + "Input Parameters": 3, + "Control Flow Ratio": "76.7%", + "Start Line": 1232, + "End Line": 1360 + }, { "Function Name": "PyEval_EvalCodeEx", "Structural Impact": 52.1, @@ -30631,14 +30691,14 @@ "Control Flow Branches": 694, "Sequential Logic Declarations": 317, "Function Parameters": 207, - "Function/Method Declarations": 114, + "Function/Method Declarations": 115, "Class/Entity Declarations": 2, "Defensive Programming Constructs": 100, "Type/Safety Bypasses": 42, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 837, - "State Mutations / Variable Reassignments": 1832, + "Exposed API / Public Exports": 838, + "State Mutations / Variable Reassignments": 1830, "Commented-out Code (Dead Logic)": 2, "Structured Documentation Blocks": 5, "Unit Test Assertions": 83, @@ -30755,7 +30815,7 @@ "2. Topological Coordinates": { "X": -1583.24, "Y": 175.04, - "Z": -779.43 + "Z": -779.41 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -30767,7 +30827,7 @@ "Total LOC": 1773, "Coding LOC": 1472, "Documentation LOC": 130, - "Structural Magnitude": 2049.24, + "Structural Magnitude": 2051.74, "Control Flow Ratio": "59.2%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -30778,7 +30838,7 @@ "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "73.42%", "Error & Exception Exposure": "89.2%", - "Tech Debt Exposure": "51.19%", + "Tech Debt Exposure": "52.88%", "Testing Exposure": "80.0%", "API Exposure": "15.55%", "Concurrency Exposure": "0.0%", @@ -31211,6 +31271,16 @@ "Start Line": 1328, "End Line": 1335 }, + { + "Function Name": "PyCode_Optimize", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1767, + "End Line": 1772 + }, { "Function Name": "compiler_unit_free", "Structural Impact": 2.4, @@ -31387,7 +31457,7 @@ "Control Flow Branches": 305, "Sequential Logic Declarations": 210, "Function Parameters": 85, - "Function/Method Declarations": 59, + "Function/Method Declarations": 60, "Class/Entity Declarations": 13, "Defensive Programming Constructs": 39, "Type/Safety Bypasses": 5, @@ -31457,7 +31527,7 @@ "Design Short Vars": 32, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 37, + "Orphaned Logic": 38, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -31529,18 +31599,18 @@ "Total LOC": 8326, "Coding LOC": 6573, "Documentation LOC": 821, - "Structural Magnitude": 8237.26, + "Structural Magnitude": 8327.26, "Control Flow Ratio": "63.3%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.409 + "Raw Cognitive Density": 1.408 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "92.7%", + "Cognitive Load Exposure": "92.69%", "Error & Exception Exposure": "87.3%", - "Tech Debt Exposure": "31.74%", + "Tech Debt Exposure": "32.24%", "Testing Exposure": "80.0%", "API Exposure": "13.63%", "Concurrency Exposure": "0.0%", @@ -31753,6 +31823,16 @@ "Start Line": 1942, "End Line": 2009 }, + { + "Function Name": "do_lookup", + "Structural Impact": 36.4, + "Lines of Code (LOC)": 43, + "Control Flow Branches": 13, + "Input Parameters": 5, + "Control Flow Ratio": "61.9%", + "Start Line": 1052, + "End Line": 1094 + }, { "Function Name": "dictiter_iternextkey_lock_held", "Structural Impact": 34.5, @@ -31923,6 +32003,16 @@ "Start Line": 3226, "End Line": 3260 }, + { + "Function Name": "delitemif_lock_held", + "Structural Impact": 19.7, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 7, + "Input Parameters": 4, + "Control Flow Ratio": "46.7%", + "Start Line": 2961, + "End Line": 2997 + }, { "Function Name": "dict_popitem_impl", "Structural Impact": 19.7, @@ -32993,6 +33083,26 @@ "Start Line": 7654, "End Line": 7663 }, + { + "Function Name": "dictiter_len", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 5490, + "End Line": 5498 + }, + { + "Function Name": "dictview_mapping", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 6296, + "End Line": 6304 + }, { "Function Name": "ensure_shared_on_resize", "Structural Impact": 5.2, @@ -33243,6 +33353,16 @@ "Start Line": 1816, "End Line": 1830 }, + { + "Function Name": "dictiter_reduce", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 6200, + "End Line": 6213 + }, { "Function Name": "free_values", "Structural Impact": 4.1, @@ -33333,6 +33453,16 @@ "Start Line": 5132, "End Line": 5142 }, + { + "Function Name": "frozendict_getnewargs", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 8120, + "End Line": 8129 + }, { "Function Name": "_PyDictKeys_StringLookup", "Structural Impact": 3.9, @@ -33363,6 +33493,36 @@ "Start Line": 6441, "End Line": 6448 }, + { + "Function Name": "dictkeys_reversed", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 6854, + "End Line": 6862 + }, + { + "Function Name": "dictitems_reversed", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 6966, + "End Line": 6974 + }, + { + "Function Name": "dictvalues_reversed", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 7056, + "End Line": 7064 + }, { "Function Name": "check_keys_unicode", "Structural Impact": 3.7, @@ -33513,6 +33673,16 @@ "Start Line": 8049, "End Line": 8058 }, + { + "Function Name": "_PyDict_DelItemIf", + "Structural Impact": 2.8, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 3003, + "End Line": 3014 + }, { "Function Name": "PyDict_SetDefaultRef", "Structural Impact": 2.7, @@ -34279,7 +34449,7 @@ "Control Flow Branches": 1206, "Sequential Logic Declarations": 698, "Function Parameters": 468, - "Function/Method Declarations": 273, + "Function/Method Declarations": 283, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 279, "Type/Safety Bypasses": 162, @@ -34349,7 +34519,7 @@ "Design Short Vars": 185, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 67, + "Orphaned Logic": 68, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -34413,9 +34583,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": -1986.28, - "Y": 137.89, - "Z": -1506.95 + "X": -1986.72, + "Y": 137.9, + "Z": -1507.03 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -34427,16 +34597,16 @@ "Total LOC": 2451, "Coding LOC": 1936, "Documentation LOC": 235, - "Structural Magnitude": 2509.42, + "Structural Magnitude": 2579.72, "Control Flow Ratio": "61.8%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.324 + "Raw Cognitive Density": 0.98 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "90.87%", + "Cognitive Load Exposure": "71.49%", "Error & Exception Exposure": "91.29%", "Tech Debt Exposure": "8.75%", "Testing Exposure": "80.0%", @@ -34501,6 +34671,16 @@ "Start Line": 2202, "End Line": 2248 }, + { + "Function Name": "framelocalsproxy_items", + "Structural Impact": 26.9, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 13, + "Input Parameters": 2, + "Control Flow Ratio": "81.2%", + "Start Line": 619, + "End Line": 671 + }, { "Function Name": "framelocalsproxy_pop", "Structural Impact": 26.6, @@ -34561,6 +34741,26 @@ "Start Line": 1554, "End Line": 1578 }, + { + "Function Name": "framelocalsproxy_keys", + "Structural Impact": 15.8, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "63.6%", + "Start Line": 372, + "End Line": 409 + }, + { + "Function Name": "framelocalsproxy_values", + "Structural Impact": 15.7, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "63.6%", + "Start Line": 581, + "End Line": 617 + }, { "Function Name": "framelocalsproxy_setdefault", "Structural Impact": 15.5, @@ -34801,6 +35001,26 @@ "Start Line": 996, "End Line": 1014 }, + { + "Function Name": "framelocalsproxy_copy", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 846, + "End Line": 861 + }, + { + "Function Name": "framelocalsproxy_reversed", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 863, + "End Line": 877 + }, { "Function Name": "pop_to_level", "Structural Impact": 5.8, @@ -35227,7 +35447,7 @@ "Control Flow Branches": 408, "Sequential Logic Declarations": 252, "Function Parameters": 132, - "Function/Method Declarations": 80, + "Function/Method Declarations": 85, "Class/Entity Declarations": 1, "Defensive Programming Constructs": 60, "Type/Safety Bypasses": 25, @@ -36572,7 +36792,7 @@ "2. Topological Coordinates": { "X": -1112.65, "Y": 169.19, - "Z": -760.38 + "Z": -760.37 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -36584,16 +36804,16 @@ "Total LOC": 3503, "Coding LOC": 2785, "Documentation LOC": 322, - "Structural Magnitude": 2728.0, + "Structural Magnitude": 2730.0, "Control Flow Ratio": "56.2%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.194 + "Raw Cognitive Density": 1.195 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "85.28%", + "Cognitive Load Exposure": "85.32%", "Error & Exception Exposure": "81.19%", "Tech Debt Exposure": "81.54%", "Testing Exposure": "80.0%", @@ -37588,6 +37808,16 @@ "Start Line": 2007, "End Line": 2011 }, + { + "Function Name": "NotImplemented_reduce", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2408, + "End Line": 2412 + }, { "Function Name": "_PyObject_SetDeferredRefcount", "Structural Impact": 2.0, @@ -38124,7 +38354,7 @@ "Control Flow Branches": 472, "Sequential Logic Declarations": 368, "Function Parameters": 239, - "Function/Method Declarations": 151, + "Function/Method Declarations": 152, "Class/Entity Declarations": 2, "Defensive Programming Constructs": 48, "Type/Safety Bypasses": 45, @@ -38287,7 +38517,7 @@ "Total LOC": 12874, "Coding LOC": 9970, "Documentation LOC": 1437, - "Structural Magnitude": 11321.2, + "Structural Magnitude": 11530.3, "Control Flow Ratio": "61.6%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -38471,6 +38701,16 @@ "Start Line": 12619, "End Line": 12699 }, + { + "Function Name": "type_set_annotations", + "Structural Impact": 35.5, + "Lines of Code (LOC)": 71, + "Control Flow Branches": 15, + "Input Parameters": 3, + "Control Flow Ratio": "60.0%", + "Start Line": 2237, + "End Line": 2307 + }, { "Function Name": "pmerge", "Structural Impact": 35.5, @@ -38561,6 +38801,16 @@ "Start Line": 7233, "End Line": 7301 }, + { + "Function Name": "type_get_annotations", + "Structural Impact": 31.2, + "Lines of Code (LOC)": 70, + "Control Flow Branches": 15, + "Input Parameters": 2, + "Control Flow Ratio": "62.5%", + "Start Line": 2166, + "End Line": 2235 + }, { "Function Name": "type_call", "Structural Impact": 31.2, @@ -38971,6 +39221,16 @@ "Start Line": 5176, "End Line": 5214 }, + { + "Function Name": "type_set_abstractmethods", + "Structural Impact": 18.1, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 7, + "Input Parameters": 3, + "Control Flow Ratio": "58.3%", + "Start Line": 1714, + "End Line": 1754 + }, { "Function Name": "object_set_class", "Structural Impact": 18.1, @@ -39001,6 +39261,16 @@ "Start Line": 385, "End Line": 428 }, + { + "Function Name": "type_set_annotate", + "Structural Impact": 17.9, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 7, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 2127, + "End Line": 2164 + }, { "Function Name": "super_descr_get", "Structural Impact": 17.6, @@ -39011,6 +39281,16 @@ "Start Line": 12586, "End Line": 12617 }, + { + "Function Name": "type_get_annotate", + "Structural Impact": 17.5, + "Lines of Code (LOC)": 39, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "57.1%", + "Start Line": 2087, + "End Line": 2125 + }, { "Function Name": "subtype_clear", "Structural Impact": 17.5, @@ -39341,6 +39621,16 @@ "Start Line": 10730, "End Line": 10766 }, + { + "Function Name": "type_get_doc", + "Structural Impact": 13.1, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 6, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 2048, + "End Line": 2067 + }, { "Function Name": "init_static_type", "Structural Impact": 13.1, @@ -39511,6 +39801,16 @@ "Start Line": 4852, "End Line": 4880 }, + { + "Function Name": "type_set_name", + "Structural Impact": 11.7, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 4, + "Input Parameters": 3, + "Control Flow Ratio": "40.0%", + "Start Line": 1550, + "End Line": 1583 + }, { "Function Name": "type_new_set_ht_name", "Structural Impact": 11.7, @@ -40261,6 +40561,16 @@ "Start Line": 3987, "End Line": 4008 }, + { + "Function Name": "type_abstractmethods", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 3, + "Input Parameters": 2, + "Control Flow Ratio": "60.0%", + "Start Line": 1695, + "End Line": 1712 + }, { "Function Name": "vectorcall_maybe", "Structural Impact": 7.8, @@ -40371,6 +40681,26 @@ "Start Line": 9768, "End Line": 9787 }, + { + "Function Name": "type_set_module", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "33.3%", + "Start Line": 1639, + "End Line": 1653 + }, + { + "Function Name": "type_set_type_params", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "40.0%", + "Start Line": 2324, + "End Line": 2339 + }, { "Function Name": "wrap_descr_delete", "Structural Impact": 6.8, @@ -40601,6 +40931,16 @@ "Start Line": 1121, "End Line": 1135 }, + { + "Function Name": "type_get_type_params", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 2309, + "End Line": 2322 + }, { "Function Name": "_PyObject_LookupSpecial", "Structural Impact": 5.9, @@ -40661,6 +41001,26 @@ "Start Line": 903, "End Line": 914 }, + { + "Function Name": "type_name", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 1524, + "End Line": 1535 + }, + { + "Function Name": "type_qualname", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 1537, + "End Line": 1548 + }, { "Function Name": "PyType_GenericAlloc", "Structural Impact": 5.8, @@ -40971,6 +41331,16 @@ "Start Line": 7056, "End Line": 7104 }, + { + "Function Name": "type_set_bases", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "33.3%", + "Start Line": 2022, + "End Line": 2035 + }, { "Function Name": "hackcheck", "Structural Impact": 4.7, @@ -41001,6 +41371,16 @@ "Start Line": 1398, "End Line": 1409 }, + { + "Function Name": "type_set_doc", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 2076, + "End Line": 2085 + }, { "Function Name": "_PyType_SetFlags", "Structural Impact": 4.5, @@ -41141,6 +41521,36 @@ "Start Line": 432, "End Line": 451 }, + { + "Function Name": "type_get_bases", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1756, + "End Line": 1765 + }, + { + "Function Name": "type_get_mro", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1767, + "End Line": 1776 + }, + { + "Function Name": "type_dict", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 2037, + "End Line": 2046 + }, { "Function Name": "shape_differs", "Structural Impact": 3.9, @@ -41691,6 +42101,26 @@ "Start Line": 589, "End Line": 600 }, + { + "Function Name": "type_get_module", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1632, + "End Line": 1637 + }, + { + "Function Name": "type_get_text_signature", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2069, + "End Line": 2074 + }, { "Function Name": "type___instancecheck___impl", "Structural Impact": 2.0, @@ -42297,7 +42727,7 @@ "Control Flow Branches": 2020, "Sequential Logic Declarations": 1259, "Function Parameters": 847, - "Function/Method Declarations": 398, + "Function/Method Declarations": 418, "Class/Entity Declarations": 18, "Defensive Programming Constructs": 280, "Type/Safety Bypasses": 193, @@ -114842,7 +115272,7 @@ } }, "c/micropython": { - "Directory Group Magnitude": 11101.74, + "Directory Group Magnitude": 11109.94, "File Count": 12, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" @@ -117526,9 +117956,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 1135.39, + "X": 1135.44, "Y": -108.66, - "Z": -2592.06 + "Z": -2592.0 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -117540,7 +117970,7 @@ "Total LOC": 1408, "Coding LOC": 981, "Documentation LOC": 258, - "Structural Magnitude": 1439.42, + "Structural Magnitude": 1447.62, "Control Flow Ratio": "70.7%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -117594,6 +118024,16 @@ "Start Line": 1115, "End Line": 1263 }, + { + "Function Name": "gc_mark_subtree", + "Structural Impact": 40.0, + "Lines of Code (LOC)": 72, + "Control Flow Branches": 20, + "Input Parameters": 2, + "Control Flow Ratio": "76.9%", + "Start Line": 501, + "End Line": 572 + }, { "Function Name": "gc_info", "Structural Impact": 37.5, @@ -117604,16 +118044,6 @@ "Start Line": 755, "End Line": 826 }, - { - "Function Name": "gc_mark_subtree", - "Structural Impact": 31.8, - "Lines of Code (LOC)": 70, - "Control Flow Branches": 19, - "Input Parameters": 1, - "Control Flow Ratio": "79.2%", - "Start Line": 503, - "End Line": 572 - }, { "Function Name": "gc_setup_area", "Structural Impact": 30.3, @@ -119919,14 +120349,14 @@ } }, "c/sqlite": { - "Directory Group Magnitude": 9954.46, + "Directory Group Magnitude": 10009.46, "File Count": 2, "Ecosystem Fingerprint (Archetypes)": { "Static: Literature & Documentation": "50.0%", "Unclassified": "50.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "45.8%", + "Cognitive Load Exposure": "45.78%", "Error & Exception Exposure": "49.78%", "Tech Debt Exposure": "4.01%", "Testing Exposure": "40.0%", @@ -120125,16 +120555,16 @@ "Total LOC": 6076, "Coding LOC": 4862, "Documentation LOC": 876, - "Structural Magnitude": 9945.94, + "Structural Magnitude": 10000.94, "Control Flow Ratio": "68.6%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.511 + "Raw Cognitive Density": 1.508 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "91.61%", + "Cognitive Load Exposure": "91.56%", "Error & Exception Exposure": "99.56%", "Tech Debt Exposure": "8.03%", "Testing Exposure": "80.0%", @@ -120389,6 +120819,16 @@ "Start Line": 3926, "End Line": 3965 }, + { + "Function Name": "merge", + "Structural Impact": 30.9, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 12, + "Input Parameters": 4, + "Control Flow Ratio": "92.3%", + "Start Line": 1959, + "End Line": 1995 + }, { "Function Name": "pathsearch", "Structural Impact": 30.1, @@ -120589,6 +121029,16 @@ "Start Line": 719, "End Line": 743 }, + { + "Function Name": "msort", + "Structural Impact": 15.2, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 6, + "Input Parameters": 3, + "Control Flow Ratio": "85.7%", + "Start Line": 2011, + "End Line": 2035 + }, { "Function Name": "statecmp", "Structural Impact": 14.5, @@ -120769,6 +121219,16 @@ "Start Line": 1044, "End Line": 1083 }, + { + "Function Name": "Configtable_clear", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "55.6%", + "Start Line": 6067, + "End Line": 6075 + }, { "Function Name": "file_open", "Structural Impact": 8.8, @@ -121445,7 +121905,7 @@ "Control Flow Branches": 1610, "Sequential Logic Declarations": 738, "Function Parameters": 216, - "Function/Method Declarations": 131, + "Function/Method Declarations": 134, "Class/Entity Declarations": 255, "Defensive Programming Constructs": 35, "Type/Safety Bypasses": 44, @@ -127075,7 +127535,7 @@ } }, "python/numpy": { - "Directory Group Magnitude": 9250.66, + "Directory Group Magnitude": 9290.36, "File Count": 18, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "88.9%", @@ -127084,8 +127544,8 @@ "Average Risk Exposures": { "Cognitive Load Exposure": "14.87%", "Error & Exception Exposure": "43.1%", - "Tech Debt Exposure": "17.35%", - "Testing Exposure": "36.49%", + "Tech Debt Exposure": "19.32%", + "Testing Exposure": "40.81%", "API Exposure": "3.09%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "45.12%", @@ -127110,9 +127570,9 @@ "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": -4.83, - "Y": -140.9, - "Z": -747.24 + "X": -5.39, + "Y": -140.51, + "Z": -745.21 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -127124,7 +127584,7 @@ "Total LOC": 435, "Coding LOC": 360, "Documentation LOC": 9, - "Structural Magnitude": 187.5, + "Structural Magnitude": 227.2, "Control Flow Ratio": "45.8%", "Popularity Rank": 0, "Raw Churn Frequency": 0.0, @@ -127135,8 +127595,8 @@ "4. Vulnerability & Risk Exposures": { "Cognitive Load Exposure": "25.6%", "Error & Exception Exposure": "75.93%", - "Tech Debt Exposure": "11.07%", - "Testing Exposure": "2.35%", + "Tech Debt Exposure": "46.53%", + "Testing Exposure": "80.0%", "API Exposure": "13.37%", "Concurrency Exposure": "0.0%", "State Flux Exposure": "93.82%", @@ -127158,6 +127618,26 @@ "Start Line": 75, "End Line": 106 }, + { + "Function Name": "lapack_lite_dgelsd", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 52, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 116, + "End Line": 167 + }, + { + "Function Name": "lapack_lite_zgelsd", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 52, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 232, + "End Line": 283 + }, { "Function Name": "lapack_lite_exec", "Structural Impact": 7.1, @@ -127168,6 +127648,56 @@ "Start Line": 382, "End Line": 410 }, + { + "Function Name": "lapack_lite_dgeqrf", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 169, + "End Line": 200 + }, + { + "Function Name": "lapack_lite_zgeqrf", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 285, + "End Line": 315 + }, + { + "Function Name": "lapack_lite_zungqr", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 318, + "End Line": 347 + }, + { + "Function Name": "lapack_lite_dorgqr", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 203, + "End Line": 229 + }, + { + "Function Name": "lapack_lite_xerbla", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 350, + "End Line": 364 + }, { "Function Name": "PyInit_lapack_lite", "Structural Impact": 1.1, @@ -127184,7 +127714,7 @@ "Control Flow Branches": 27, "Sequential Logic Declarations": 32, "Function Parameters": 22, - "Function/Method Declarations": 3, + "Function/Method Declarations": 10, "Class/Entity Declarations": 2, "Defensive Programming Constructs": 0, "Type/Safety Bypasses": 16, @@ -127254,7 +127784,7 @@ "Design Short Vars": 1, "Design Long Vars": 0, "Duplicate Logic": 0, - "Orphaned Logic": 1, + "Orphaned Logic": 8, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -301122,45 +301652,44 @@ } } }, - "python/twisted": { - "Directory Group Magnitude": 3286.88, - "File Count": 4, + "objective-c/worldwideweb": { + "Directory Group Magnitude": 3294.7, + "File Count": 6, "Ecosystem Fingerprint (Archetypes)": { "Unclassified": "100.0%" }, "Average Risk Exposures": { - "Cognitive Load Exposure": "20.57%", - "Error & Exception Exposure": "61.61%", - "Tech Debt Exposure": "22.93%", - "Testing Exposure": "80.0%", - "API Exposure": "2.95%", - "Concurrency Exposure": "3.63%", - "State Flux Exposure": "85.29%", - "Commented Logic Exposure": "4.05%", + "Cognitive Load Exposure": "66.5%", + "Error & Exception Exposure": "76.31%", + "Tech Debt Exposure": "17.49%", + "Testing Exposure": "67.14%", + "API Exposure": "9.29%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "83.32%", + "Commented Logic Exposure": "3.45%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "14.51%", - "Hardcoded Payload Artifacts": "6.14%" + "Documentation Exposure": "60.19%", + "Hardcoded Payload Artifacts": "0.0%" }, "Files": { - "python/twisted/defer.py": { + "objective-c/worldwideweb/HText.c": { "1. Artifact Identity": { - "Filename": "defer.py", - "Path": "python/twisted/defer.py", - "Language": "Python", + "Filename": "HText.c", + "Path": "objective-c/worldwideweb/HText.c", + "Language": "C", "Architect": "Unknown Architect", - "Indentation Style": "Spaces", - "Parent Entity": "Exception, TypeError, Enum", + "Indentation Style": "Mixed (78.1% Spaces / 21.9% Tabs)", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "python", + "Folder Dominant Lang": "objective-c", "Lock Tier": 1.5, - "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" + "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" }, "2. Topological Coordinates": { - "X": 6211.21, - "Y": -60.8, - "Z": -1274.95 + "X": -3009.61, + "Y": -139.29, + "Z": 4243.37 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -301169,1245 +301698,919 @@ "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 2565, - "Coding LOC": 1151, - "Documentation LOC": 956, - "Structural Magnitude": 881.12, - "Control Flow Ratio": "35.5%", - "Popularity Rank": 1, + "Total LOC": 794, + "Coding LOC": 507, + "Documentation LOC": 154, + "Structural Magnitude": 929.34, + "Control Flow Ratio": "68.0%", + "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.596 + "Raw Cognitive Density": 1.381 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "17.53%", - "Error & Exception Exposure": "69.03%", - "Tech Debt Exposure": "55.89%", + "Cognitive Load Exposure": "92.59%", + "Error & Exception Exposure": "98.17%", + "Tech Debt Exposure": "0.0%", "Testing Exposure": "80.0%", - "API Exposure": "1.79%", - "Concurrency Exposure": "14.53%", - "State Flux Exposure": "94.23%", - "Commented Logic Exposure": "5.6%", + "API Exposure": "14.95%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "5.28%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", + "Documentation Exposure": "99.98%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "_runCallbacks", - "Structural Impact": 44.4, - "Lines of Code (LOC)": 153, - "Control Flow Branches": 25, - "Input Parameters": 1, - "Control Flow Ratio": "78.1%", - "Start Line": 1005, - "End Line": 1157 - }, - { - "Function Name": "_inlineCallbacks", - "Structural Impact": 42.0, - "Lines of Code (LOC)": 169, - "Control Flow Branches": 14, + "Function Name": "Unknown_Block", + "Structural Impact": 60.2, + "Lines of Code (LOC)": 85, + "Control Flow Branches": 24, "Input Parameters": 4, - "Control Flow Ratio": "46.7%", - "Start Line": 1805, - "End Line": 1973 + "Control Flow Ratio": "77.4%", + "Start Line": 409, + "End Line": 493 }, { - "Function Name": "deferUntilLocked", - "Structural Impact": 24.1, - "Lines of Code (LOC)": 67, - "Control Flow Branches": 11, - "Input Parameters": 2, - "Control Flow Ratio": "64.7%", - "Start Line": 2475, - "End Line": 2541 + "Function Name": "Unknown_Block", + "Structural Impact": 49.0, + "Lines of Code (LOC)": 86, + "Control Flow Branches": 19, + "Input Parameters": 4, + "Control Flow Ratio": "95.0%", + "Start Line": 262, + "End Line": 347 }, { - "Function Name": "addCallbacks", - "Structural Impact": 23.1, - "Lines of Code (LOC)": 66, - "Control Flow Branches": 6, - "Input Parameters": 7, - "Control Flow Ratio": "75.0%", - "Start Line": 480, - "End Line": 545 + "Function Name": "Unknown_Block", + "Structural Impact": 45.0, + "Lines of Code (LOC)": 51, + "Control Flow Branches": 18, + "Input Parameters": 4, + "Control Flow Ratio": "94.7%", + "Start Line": 178, + "End Line": 228 }, { - "Function Name": "_cbDeferred", - "Structural Impact": 21.4, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 8, + "Function Name": "Unknown_Block", + "Structural Impact": 24.3, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 9, "Input Parameters": 4, - "Control Flow Ratio": "66.7%", - "Start Line": 1554, - "End Line": 1578 + "Control Flow Ratio": "81.8%", + "Start Line": 668, + "End Line": 705 }, { - "Function Name": "race", - "Structural Impact": 15.2, - "Lines of Code (LOC)": 77, + "Function Name": "Unknown_Block", + "Structural Impact": 18.8, + "Lines of Code (LOC)": 18, "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "53.8%", - "Start Line": 1650, - "End Line": 1726 - }, - { - "Function Name": "maybeDeferred", - "Structural Impact": 15.1, - "Lines of Code (LOC)": 61, - "Control Flow Branches": 5, - "Input Parameters": 3, - "Control Flow Ratio": "38.5%", - "Start Line": 183, - "End Line": 243 + "Input Parameters": 4, + "Control Flow Ratio": "87.5%", + "Start Line": 353, + "End Line": 370 }, { - "Function Name": "_startRunCallbacks", - "Structural Impact": 13.3, - "Lines of Code (LOC)": 23, + "Function Name": "Unknown_Block", + "Structural Impact": 14.2, + "Lines of Code (LOC)": 42, "Control Flow Branches": 6, "Input Parameters": 2, "Control Flow Ratio": "75.0%", - "Start Line": 974, - "End Line": 996 - }, - { - "Function Name": "__init__", - "Structural Impact": 13.2, - "Lines of Code (LOC)": 69, - "Control Flow Branches": 3, - "Input Parameters": 5, - "Control Flow Ratio": "75.0%", - "Start Line": 1484, - "End Line": 1552 + "Start Line": 20, + "End Line": 61 }, { - "Function Name": "addTimeout", - "Structural Impact": 12.4, - "Lines of Code (LOC)": 70, - "Control Flow Branches": 3, + "Function Name": "Unknown_Block", + "Structural Impact": 12.2, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 4, "Input Parameters": 4, - "Control Flow Ratio": "27.3%", - "Start Line": 768, - "End Line": 837 + "Control Flow Ratio": "80.0%", + "Start Line": 500, + "End Line": 520 }, { - "Function Name": "cancel", - "Structural Impact": 9.8, + "Function Name": "Unknown_Block", + "Structural Impact": 10.0, "Lines of Code (LOC)": 27, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "83.3%", - "Start Line": 946, - "End Line": 972 + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "80.0%", + "Start Line": 128, + "End Line": 154 }, { - "Function Name": "__iter__", - "Structural Impact": 9.5, + "Function Name": "Unknown_Block", + "Structural Impact": 9.7, "Lines of Code (LOC)": 20, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 1176, - "End Line": 1195 - }, - { - "Function Name": "put", - "Structural Impact": 9.3, - "Lines of Code (LOC)": 12, "Control Flow Branches": 4, "Input Parameters": 2, "Control Flow Ratio": "80.0%", - "Start Line": 2402, - "End Line": 2413 + "Start Line": 67, + "End Line": 86 }, { - "Function Name": "asFuture", - "Structural Impact": 8.6, - "Lines of Code (LOC)": 33, + "Function Name": "Unknown_Block", + "Structural Impact": 9.6, + "Lines of Code (LOC)": 13, "Control Flow Branches": 3, - "Input Parameters": 2, - "Control Flow Ratio": "37.5%", - "Start Line": 1199, - "End Line": 1231 - }, - { - "Function Name": "_gotResultInlineCallbacks", - "Structural Impact": 8.6, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 2, - "Input Parameters": 5, - "Control Flow Ratio": "66.7%", - "Start Line": 1777, - "End Line": 1801 - }, - { - "Function Name": "ensureDeferred", - "Structural Impact": 8.4, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 1342, - "End Line": 1367 - }, - { - "Function Name": "inlineCallbacks", - "Structural Impact": 8.2, - "Lines of Code (LOC)": 81, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2047, - "End Line": 2127 + "Input Parameters": 4, + "Control Flow Ratio": "60.0%", + "Start Line": 391, + "End Line": 403 }, { - "Function Name": "succeeded", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 21, + "Function Name": "Unknown_Block", + "Structural Impact": 9.6, + "Lines of Code (LOC)": 13, "Control Flow Branches": 3, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "60.0%", - "Start Line": 1683, - "End Line": 1703 - }, - { - "Function Name": "get", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "57.1%", - "Start Line": 2415, - "End Line": 2432 - }, - { - "Function Name": "_cancelLock", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 2495, - "End Line": 2512 - }, - { - "Function Name": "fromFuture", - "Structural Impact": 7.6, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "20.0%", - "Start Line": 1234, - "End Line": 1281 + "Start Line": 644, + "End Line": 656 }, { - "Function Name": "fromCoroutine", + "Function Name": "Unknown_Block", "Structural Impact": 7.6, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1284, - "End Line": 1331 - }, - { - "Function Name": "_parseDeferredListResult", - "Structural Impact": 7.4, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 13, "Control Flow Branches": 3, "Input Parameters": 2, - "Control Flow Ratio": "42.9%", - "Start Line": 1600, - "End Line": 1608 - }, - { - "Function Name": "errback", - "Structural Impact": 7.1, - "Lines of Code (LOC)": 38, - "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 891, - "End Line": 928 + "Control Flow Ratio": "50.0%", + "Start Line": 160, + "End Line": 172 }, { - "Function Name": "_tryLock", + "Function Name": "Unknown_Block", "Structural Impact": 7.1, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "83.3%", - "Start Line": 2516, - "End Line": 2537 - }, - { - "Function Name": "execute", - "Structural Impact": 6.8, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "40.0%", - "Start Line": 142, - "End Line": 157 - }, - { - "Function Name": "__del__", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "75.0%", - "Start Line": 370, - "End Line": 388 - }, - { - "Function Name": "cancel", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 1580, - "End Line": 1597 - }, - { - "Function Name": "__str__", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 1159, - "End Line": 1172 - }, - { - "Function Name": "unwindGenerator", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 14, + "Lines of Code (LOC)": 8, "Control Flow Branches": 2, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "50.0%", - "Start Line": 2112, - "End Line": 2125 + "Start Line": 579, + "End Line": 586 }, { - "Function Name": "failed", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 5.7, + "Lines of Code (LOC)": 10, "Control Flow Branches": 2, "Input Parameters": 2, "Control Flow Ratio": "66.7%", - "Start Line": 1709, - "End Line": 1715 - }, - { - "Function Name": "addBoth", - "Structural Impact": 5.3, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "33.3%", - "Start Line": 749, - "End Line": 764 - }, - { - "Function Name": "addCallback", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "33.3%", - "Start Line": 619, - "End Line": 632 + "Start Line": 523, + "End Line": 532 }, { - "Function Name": "addErrback", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 14, + "Function Name": "Unknown_Block", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 7, "Control Flow Branches": 1, "Input Parameters": 4, - "Control Flow Ratio": "33.3%", - "Start Line": 661, - "End Line": 674 - }, - { - "Function Name": "__init__", - "Structural Impact": 5.0, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 444, - "End Line": 474 - }, - { - "Function Name": "acquire", - "Structural Impact": 5.0, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2248, - "End Line": 2263 - }, - { - "Function Name": "acquire", - "Structural Impact": 5.0, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 2320, - "End Line": 2335 - }, - { - "Function Name": "_getDebugTracebacks", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 358, - "End Line": 368 - }, - { - "Function Name": "convertCancelled", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 815, - "End Line": 823 - }, - { - "Function Name": "unpause", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 936, - "End Line": 944 - }, - { - "Function Name": "__init__", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 2461, - "End Line": 2473 - }, - { - "Function Name": "_cancelledToTimedOutError", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 279, - "End Line": 296 - }, - { - "Function Name": "__cmp__", - "Structural Impact": 4.1, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 1400, - "End Line": 1411 + "Start Line": 535, + "End Line": 541 }, { - "Function Name": "__init__", + "Function Name": "Unknown_Block", "Structural Impact": 4.0, "Lines of Code (LOC)": 10, "Control Flow Branches": 1, "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 2295, - "End Line": 2304 - }, - { - "Function Name": "run", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 2167, - "End Line": 2195 - }, - { - "Function Name": "release", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2265, - "End Line": 2279 - }, - { - "Function Name": "release", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2337, - "End Line": 2352 - }, - { - "Function Name": "uncancel", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 1269, - "End Line": 1276 + "Start Line": 544, + "End Line": 553 }, { - "Function Name": "cancel", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 3.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 1, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 1668, - "End Line": 1674 - }, - { - "Function Name": "cancelTimeout", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 825, - "End Line": 829 + "Start Line": 658, + "End Line": 666 }, { - "Function Name": "adapt", - "Structural Impact": 3.1, + "Function Name": "Unknown_Block", + "Structural Impact": 3.8, "Lines of Code (LOC)": 6, "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 1253, - "End Line": 1258 - }, - { - "Function Name": "gatherResults", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1611, - "End Line": 1637 - }, - { - "Function Name": "chainDeferred", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 839, - "End Line": 864 - }, - { - "Function Name": "checkCancel", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 1, - "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 1216, - "End Line": 1218 + "Start Line": 378, + "End Line": 383 }, { - "Function Name": "maybeFail", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 3, + "Function Name": "Unknown_Block", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 6, "Control Flow Branches": 1, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 1220, - "End Line": 1222 + "Start Line": 608, + "End Line": 613 }, { - "Function Name": "maybeSucceed", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 3, + "Function Name": "Unknown_Block", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 4, "Control Flow Branches": 1, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 1224, - "End Line": 1226 + "Start Line": 593, + "End Line": 596 }, { - "Function Name": "callback", + "Function Name": "Unknown_Block", "Structural Impact": 2.9, - "Lines of Code (LOC)": 24, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 6, "Control Flow Ratio": "0.0%", - "Start Line": 866, - "End Line": 889 + "Start Line": 745, + "End Line": 750 }, { - "Function Name": "_handleCancelInlineCallbacks", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 23, + "Function Name": "Unknown_Block", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1992, - "End Line": 2014 + "Start Line": 735, + "End Line": 740 }, { - "Function Name": "addCallback", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 569, - "End Line": 578 + "Start Line": 719, + "End Line": 722 }, { - "Function Name": "addCallback", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 599, - "End Line": 608 + "Start Line": 727, + "End Line": 730 }, { - "Function Name": "addBoth", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 686, - "End Line": 695 + "Start Line": 756, + "End Line": 759 }, { - "Function Name": "addBoth", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 9, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 698, - "End Line": 706 + "Start Line": 765, + "End Line": 768 }, { - "Function Name": "addBoth", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 9, + "Function Name": "Unknown_Block", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 709, - "End Line": 717 + "Start Line": 788, + "End Line": 791 }, { - "Function Name": "addBoth", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 720, - "End Line": 729 + "Start Line": 119, + "End Line": 123 }, { - "Function Name": "__aexit__", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 10, + "Function Name": "Unknown_Block", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2203, - "End Line": 2212 + "Start Line": 236, + "End Line": 240 }, { - "Function Name": "addCallback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 560, - "End Line": 566 + "Start Line": 559, + "End Line": 562 }, { - "Function Name": "addCallback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 581, - "End Line": 587 - }, - { - "Function Name": "addCallback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 590, - "End Line": 596 - }, - { - "Function Name": "addCallback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 611, - "End Line": 617 - }, - { - "Function Name": "addErrback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 635, - "End Line": 641 - }, - { - "Function Name": "addErrback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 644, - "End Line": 650 + "Start Line": 567, + "End Line": 570 }, { - "Function Name": "addErrback", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 653, - "End Line": 659 + "Start Line": 588, + "End Line": 591 }, { - "Function Name": "addBoth", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 677, - "End Line": 683 + "Start Line": 598, + "End Line": 601 }, { - "Function Name": "addBoth", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 732, - "End Line": 738 + "Start Line": 603, + "End Line": 606 }, { - "Function Name": "addBoth", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 741, - "End Line": 747 + "Start Line": 617, + "End Line": 620 }, { - "Function Name": "_DeferredList", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1425, - "End Line": 1431 + "Start Line": 622, + "End Line": 625 }, { - "Function Name": "_DeferredList", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 7, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1434, - "End Line": 1440 + "Start Line": 627, + "End Line": 630 }, { - "Function Name": "_DeferredList", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 8, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1442, - "End Line": 1449 + "Start Line": 632, + "End Line": 634 }, { - "Function Name": "run", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 8, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2142, - "End Line": 2149 + "Start Line": 773, + "End Line": 776 }, { - "Function Name": "run", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 8, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2152, - "End Line": 2159 + "Start Line": 778, + "End Line": 781 }, { - "Function Name": "succeed", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 22, + "Function Name": "Unknown_Block", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 102, - "End Line": 123 - }, + "Start Line": 783, + "End Line": 786 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 117, + "Sequential Logic Declarations": 55, + "Function Parameters": 44, + "Function/Method Declarations": 41, + "Class/Entity Declarations": 0, + "Defensive Programming Constructs": 2, + "Type/Safety Bypasses": 15, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 146, + "State Mutations / Variable Reassignments": 422, + "Commented-out Code (Dead Logic)": 1, + "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": 28, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 0, + "Metaprogramming & Reflection": 1, + "Module Dependencies (Imports)": 5, + "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": 8, + "Pointer Arithmetic & Addressing": 246, + "Manual Memory Allocation": 6, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 10, + "Explicit Type Casts": 1, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 3, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 66, + "Structural Space Indentations": 236, + "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": 58, + "Design Camel Case": 0, + "Design Snake Case": 52, + "Design Pascal Case": 6, + "Design Upper Case": 0, + "Design Short Vars": 8, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 0, + "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)": 1, + "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)": 5, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "HTString.h", + "HTUtils.h", + "HText.h", + "HyperText.h", + "ctype.h" + ] + }, + "objective-c/worldwideweb/Anchor.m": { + "1. Artifact Identity": { + "Filename": "Anchor.m", + "Path": "objective-c/worldwideweb/Anchor.m", + "Language": "Objective-C", + "Architect": "Unknown Architect", + "Indentation Style": "Mixed (71.6% Spaces / 28.4% Tabs)", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "objective-c", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Shebang)" + }, + "2. Topological Coordinates": { + "X": -2424.44, + "Y": 1.94, + "Z": 4266.83 + }, + "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": 364, + "Coding LOC": 220, + "Documentation LOC": 85, + "Structural Magnitude": 234.4, + "Control Flow Ratio": "97.3%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 1.105 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "80.51%", + "Error & Exception Exposure": "88.11%", + "Tech Debt Exposure": "0.0%", + "Testing Exposure": "80.0%", + "API Exposure": "8.13%", + "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": "35.03%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ { - "Function Name": "_cancellableInlineCallbacks", - "Structural Impact": 2.5, + "Function Name": "selectDiagnostic", + "Structural Impact": 22.3, "Lines of Code (LOC)": 21, - "Control Flow Branches": 0, + "Control Flow Branches": 14, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2017, - "End Line": 2037 + "Control Flow Ratio": "100.0%", + "Start Line": 277, + "End Line": 297 }, { - "Function Name": "_addCancelCallbackToDeferred", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, + "Function Name": "newParent", + "Structural Impact": 13.3, + "Lines of Code (LOC)": 23, + "Control Flow Branches": 6, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1976, - "End Line": 1989 - }, - { - "Function Name": "run", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 2162, - "End Line": 2165 + "Control Flow Ratio": "100.0%", + "Start Line": 84, + "End Line": 106 }, { - "Function Name": "_cancelAcquire", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 0, + "Function Name": "equivalent", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 5, "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2234, - "End Line": 2246 + "Control Flow Ratio": "100.0%", + "Start Line": 69, + "End Line": 75 }, { - "Function Name": "_cancelAcquire", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2306, - "End Line": 2318 + "Function Name": "moveBy", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 172, + "End Line": 188 }, { - "Function Name": "__init__", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 2380, - "End Line": 2386 + "Function Name": "free", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 5, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 214, + "End Line": 222 }, { - "Function Name": "_cancelGet", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2388, - "End Line": 2400 + "Function Name": "isLastChild", + "Structural Impact": 4.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 3, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 200, + "End Line": 208 }, { - "Function Name": "maybeDeferred", - "Structural Impact": 2.3, + "Function Name": "setAddress", + "Structural Impact": 4.5, "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 168, - "End Line": 173 + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 313, + "End Line": 318 }, { - "Function Name": "maybeDeferred", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 161, - "End Line": 164 + "Function Name": "unlink", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 234, + "End Line": 242 }, { - "Function Name": "maybeDeferred", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 177, - "End Line": 180 + "Function Name": "delete", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 254, + "End Line": 259 }, { - "Function Name": "__init__", - "Structural Impact": 2.2, + "Function Name": "node", + "Structural Impact": 3.2, "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 1380, - "End Line": 1383 - }, - { - "Function Name": "fail", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 126, - "End Line": 139 + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 356, + "End Line": 359 }, { - "Function Name": "returnValue", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, + "Function Name": "setManager", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1746, - "End Line": 1759 + "Control Flow Ratio": "100.0%", + "Start Line": 34, + "End Line": 38 }, { - "Function Name": "logError", - "Structural Impact": 2.0, + "Function Name": "new", + "Structural Impact": 2.5, "Lines of Code (LOC)": 11, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 89, - "End Line": 99 - }, - { - "Function Name": "__init_subclass__", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1333, - "End Line": 1336 - }, - { - "Function Name": "__init__", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1645, - "End Line": 1647 - }, - { - "Function Name": "_releaseAndReturn", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2137, - "End Line": 2139 - }, - { - "Function Name": "setDebugging", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 262, - "End Line": 269 + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 47, + "End Line": 57 }, { - "Function Name": "__str__", - "Structural Impact": 1.8, + "Function Name": "initialize", + "Structural Impact": 2.4, "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1392, - "End Line": 1398 + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 26, + "End Line": 32 }, { - "Function Name": "__init__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1738, - "End Line": 1739 + "Function Name": "back", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 162, + "End Line": 165 }, { - "Function Name": "pause", - "Structural Impact": 1.7, + "Function Name": "unload", + "Structural Impact": 2.2, "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 930, - "End Line": 934 - }, - { - "Function Name": "_continuation", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 998, - "End Line": 1003 - }, - { - "Function Name": "__repr__", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1385, - "End Line": 1390 + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 246, + "End Line": 250 }, { - "Function Name": "execute", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2188, - "End Line": 2193 + "Function Name": "select", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 306, + "End Line": 309 }, { - "Function Name": "__aenter__", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2197, - "End Line": 2201 + "Function Name": "address", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 322, + "End Line": 325 }, { - "Function Name": "cancel", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1262, - "End Line": 1264 + "Function Name": "next", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 190, + "End Line": 190 }, { - "Function Name": "timeout", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 250, - "End Line": 251 + "Function Name": "previous", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 191, + "End Line": 191 }, { - "Function Name": "passthru", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 254, - "End Line": 255 + "Function Name": "sources", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 226, + "End Line": 226 }, { - "Function Name": "_failthru", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 258, - "End Line": 259 + "Function Name": "parent", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 230, + "End Line": 230 }, { - "Function Name": "callbacks", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 477, - "End Line": 478 + "Function Name": "destination", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 361, + "End Line": 361 }, { - "Function Name": "__init__", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "setNode", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2134, - "End Line": 2135 + "Start Line": 263, + "End Line": 266 }, { - "Function Name": "acquire", + "Function Name": "newAddress", "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2215, - "End Line": 2216 + "Start Line": 117, + "End Line": 117 }, { - "Function Name": "release", + "Function Name": "linkTo", "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2219, - "End Line": 2220 - }, - { - "Function Name": "getDebugging", - "Structural Impact": 1.2, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 272, - "End Line": 276 + "Start Line": 331, + "End Line": 331 }, { - "Function Name": "timeItOut", + "Function Name": "follow", "Structural Impact": 1.1, - "Lines of Code (LOC)": 3, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 809, - "End Line": 811 + "Start Line": 341, + "End Line": 341 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 156, - "Sequential Logic Declarations": 283, - "Function Parameters": 119, - "Function/Method Declarations": 116, - "Class/Entity Declarations": 21, - "Defensive Programming Constructs": 53, - "Type/Safety Bypasses": 78, + "Control Flow Branches": 73, + "Sequential Logic Declarations": 2, + "Function Parameters": 51, + "Function/Method Declarations": 26, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 7, + "Type/Safety Bypasses": 1, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 93, - "State Mutations / Variable Reassignments": 146, - "Commented-out Code (Dead Logic)": 5, - "Structured Documentation Blocks": 154, - "Unit Test Assertions": 18, - "Asynchronous/Concurrent Execution": 1, - "UI / View Layer Components": 0, - "Closures and Anonymous Functions": 3, + "I/O and Network Boundaries": 2, + "Exposed API / Public Exports": 10, + "State Mutations / Variable Reassignments": 105, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 2, + "Closures and Anonymous Functions": 0, "Global State Dependencies": 0, - "Decorators and Annotations": 35, - "Generic Type Abstractions": 220, - "Collection Iterators / Comprehensions": 2, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 9, - "Module Dependencies (Imports)": 22, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 9, "Authorship Metadata": 0, "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 1, + "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 1, + "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, - "Preprocessor Macros": 0, - "Pointer Arithmetic & Addressing": 0, - "Manual Memory Allocation": 0, + "Preprocessor Macros": 1, + "Pointer Arithmetic & Addressing": 24, + "Manual Memory Allocation": 8, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 0, - "Explicit Type Casts": 6, - "Fatal Aborts & Exceptions": 13, + "Ad-hoc Print / Debug Statements": 11, + "Explicit Type Casts": 23, + "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, + "Bitwise Operations": 3, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 508, - "Event Listeners & Subscribers": 41, + "Immutable Data Declarations": 6, + "Resource Deallocation & Cleanup": 8, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 1035, + "Structural Tab Indentations": 31, + "Structural Space Indentations": 78, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -302422,17 +302625,17 @@ "Local Inference & Tensor Math": 0, "Traditional Machine Learning (Stats/Trees)": 0, "Deep Learning & Neural Networks": 0, - "Lazy Evaluation & Generators (O(1) Memory)": 10, - "Vectorized Math & Tensor Operations": 15, - "Core Var Decl": 133, - "Design Camel Case": 30, - "Design Snake Case": 75, + "Lazy Evaluation & Generators (O(1) Memory)": 0, + "Vectorized Math & Tensor Operations": 0, + "Core Var Decl": 25, + "Design Camel Case": 3, + "Design Snake Case": 17, "Design Pascal Case": 5, - "Design Upper Case": 2, - "Design Short Vars": 6, - "Design Long Vars": 6, - "Duplicate Logic": 2, - "Orphaned Logic": 14, + "Design Upper Case": 0, + "Design Short Vars": 4, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, @@ -302440,7 +302643,7 @@ "High-Entropy / Obfuscated Logic": 0, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 3, + "Dynamic Code Execution (Eval/Exec)": 0, "Global Environment Mutation": 0, "Commented-Out Executable Logic": 0, "Low-Level Bitwise / Cryptographic Math": 0, @@ -302456,1501 +302659,1019 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 25, - "Direct Downstream (Dependency Blast Radius)": 1, + "Direct Upstream (Fragility)": 9, + "Direct Downstream (Dependency Blast Radius)": 0, "Total Upstream (Absolute Fragility)": 1, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "__future__", - "abc", - "asyncio", - "attr", - "contextvars", - "enum", - "functools", - "incremental", - "inspect", - "sys", - "traceback", - "treq", - "twisted.internet", - "twisted.internet.defer", - "twisted.internet.interfaces", - "twisted.internet.task", - "twisted.logger", - "twisted.python", - "twisted.python.compat", - "twisted.python.deprecate", - "twisted.python.failure", - "types", - "typing", - "typing_extensions", - "warnings" + "Anchor.h", + "HTParse.h", + "HTUtils.h", + "HyperManager.h", + "HyperText.h", + "appkit/appkit.h", + "ctype.h", + "objc/Object.h", + "objc/typedstream.h" ] }, - "python/twisted/http.py": { + "objective-c/worldwideweb/HyperManager.m": { "1. Artifact Identity": { - "Filename": "http.py", - "Path": "python/twisted/http.py", - "Language": "Python", + "Filename": "HyperManager.m", + "Path": "objective-c/worldwideweb/HyperManager.m", + "Language": "Objective-C", "Architect": "Unknown Architect", - "Indentation Style": "Spaces", - "Parent Entity": "Exception, Interface, basic.LineReceiver", + "Indentation Style": "Mixed (78.4% Spaces / 21.6% Tabs)", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "python", - "Lock Tier": 1.5, - "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" + "Folder Dominant Lang": "objective-c", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Shebang)" }, "2. Topological Coordinates": { - "X": 6526.3, - "Y": -58.65, - "Z": -1276.9 + "X": -2726.32, + "Y": 29.74, + "Z": 3713.99 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": "Unclassified", + "File Archetype": null, "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 3481, - "Coding LOC": 1513, - "Documentation LOC": 1339, - "Structural Magnitude": 1365.26, - "Control Flow Ratio": "44.2%", - "Popularity Rank": 9, + "Total LOC": 441, + "Coding LOC": 254, + "Documentation LOC": 102, + "Structural Magnitude": 364.18, + "Control Flow Ratio": "97.7%", + "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.677 + "Raw Cognitive Density": 1.1 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "21.4%", - "Error & Exception Exposure": "66.24%", - "Tech Debt Exposure": "11.53%", + "Cognitive Load Exposure": "80.24%", + "Error & Exception Exposure": "93.64%", + "Tech Debt Exposure": "30.43%", "Testing Exposure": "80.0%", - "API Exposure": "3.27%", + "API Exposure": "10.29%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "99.84%", - "Commented Logic Exposure": "5.23%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "10.12%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "11.92%", + "Documentation Exposure": "69.84%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "addCookie", - "Structural Impact": 64.6, - "Lines of Code (LOC)": 115, - "Control Flow Branches": 16, - "Input Parameters": 11, - "Control Flow Ratio": "69.6%", - "Start Line": 1322, - "End Line": 1436 - }, - { - "Function Name": "write", - "Structural Impact": 36.5, - "Lines of Code (LOC)": 72, - "Control Flow Branches": 18, + "Function Name": "loadAnchor", + "Structural Impact": 41.6, + "Lines of Code (LOC)": 70, + "Control Flow Branches": 21, "Input Parameters": 2, - "Control Flow Ratio": "81.8%", - "Start Line": 1249, - "End Line": 1320 + "Control Flow Ratio": "100.0%", + "Start Line": 77, + "End Line": 146 }, { - "Function Name": "lineReceived", - "Structural Impact": 32.7, - "Lines of Code (LOC)": 65, - "Control Flow Branches": 16, - "Input Parameters": 2, - "Control Flow Ratio": "72.7%", - "Start Line": 2361, - "End Line": 2425 + "Function Name": "searchDiagnostic", + "Structural Impact": 16.6, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 167, + "End Line": 187 }, { - "Function Name": "requestReceived", - "Structural Impact": 27.5, - "Lines of Code (LOC)": 59, - "Control Flow Branches": 10, - "Input Parameters": 4, - "Control Flow Ratio": "83.3%", - "Start Line": 1038, - "End Line": 1096 + "Function Name": "closeOthers", + "Structural Impact": 12.5, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 356, + "End Line": 379 }, { - "Function Name": "_maybeChooseTransferDecoder", - "Structural Impact": 21.9, - "Lines of Code (LOC)": 37, - "Control Flow Branches": 9, - "Input Parameters": 3, - "Control Flow Ratio": "56.2%", - "Start Line": 2439, - "End Line": 2475 - }, - { - "Function Name": "parse_qs", - "Structural Impact": 21.3, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 9, - "Input Parameters": 3, - "Control Flow Ratio": "75.0%", - "Start Line": 366, - "End Line": 391 - }, - { - "Function Name": "stringToDatetime", - "Structural Impact": 21.0, - "Lines of Code (LOC)": 53, - "Control Flow Branches": 12, - "Input Parameters": 1, - "Control Flow Ratio": "75.0%", - "Start Line": 455, - "End Line": 507 - }, - { - "Function Name": "_dataReceived_CHUNK_LENGTH", - "Structural Impact": 18.2, - "Lines of Code (LOC)": 52, - "Control Flow Branches": 10, + "Function Name": "saveAll", + "Structural Impact": 10.9, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 6, "Input Parameters": 1, - "Control Flow Ratio": "71.4%", - "Start Line": 1999, - "End Line": 2050 - }, - { - "Function Name": "checkPersistence", - "Structural Impact": 18.1, - "Lines of Code (LOC)": 42, - "Control Flow Branches": 7, - "Input Parameters": 3, - "Control Flow Ratio": "63.6%", - "Start Line": 2626, - "End Line": 2667 - }, - { - "Function Name": "lineReceived", - "Structural Impact": 17.6, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 8, - "Input Parameters": 2, - "Control Flow Ratio": "72.7%", - "Start Line": 728, - "End Line": 767 - }, - { - "Function Name": "timegm", - "Structural Impact": 14.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 4, - "Input Parameters": 6, - "Control Flow Ratio": "57.1%", - "Start Line": 435, - "End Line": 452 + "Control Flow Ratio": "100.0%", + "Start Line": 330, + "End Line": 349 }, { - "Function Name": "writeHeaders", - "Structural Impact": 14.0, - "Lines of Code (LOC)": 35, + "Function Name": "registerAccess", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 9, "Control Flow Branches": 4, - "Input Parameters": 5, - "Control Flow Ratio": "80.0%", - "Start Line": 2743, - "End Line": 2777 - }, - { - "Function Name": "_parseRequestLine", - "Structural Impact": 13.8, - "Lines of Code (LOC)": 50, - "Control Flow Branches": 7, "Input Parameters": 1, - "Control Flow Ratio": "77.8%", - "Start Line": 245, - "End Line": 294 - }, - { - "Function Name": "setETag", - "Structural Impact": 13.7, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 6, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 1518, - "End Line": 1549 + "Control Flow Ratio": "100.0%", + "Start Line": 54, + "End Line": 62 }, { - "Function Name": "setHost", - "Structural Impact": 12.8, - "Lines of Code (LOC)": 33, + "Function Name": "windowDidBecomeKey", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 9, "Control Flow Branches": 4, - "Input Parameters": 4, - "Control Flow Ratio": "80.0%", - "Start Line": 1591, - "End Line": 1623 - }, - { - "Function Name": "dataReceived", - "Structural Impact": 12.8, - "Lines of Code (LOC)": 48, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "62.5%", - "Start Line": 3242, - "End Line": 3289 + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 431, + "End Line": 439 }, { - "Function Name": "finish", - "Structural Impact": 12.7, - "Lines of Code (LOC)": 28, - "Control Flow Branches": 7, + "Function Name": "hyperTextDidBecomeMain", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 3, "Input Parameters": 1, - "Control Flow Ratio": "77.8%", - "Start Line": 1220, - "End Line": 1247 + "Control Flow Ratio": "100.0%", + "Start Line": 411, + "End Line": 423 }, { - "Function Name": "headerReceived", - "Structural Impact": 12.4, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "41.7%", - "Start Line": 2477, - "End Line": 2517 + "Function Name": "appDidInit", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 239, + "End Line": 249 }, { - "Function Name": "setLastModified", - "Structural Impact": 12.2, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "55.6%", - "Start Line": 1481, - "End Line": 1516 + "Function Name": "save", + "Structural Impact": 4.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 319, + "End Line": 325 }, { - "Function Name": "_dataReceived_TRAILER", - "Structural Impact": 12.1, - "Lines of Code (LOC)": 44, - "Control Flow Branches": 6, + "Function Name": "goHome", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 2, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2072, - "End Line": 2115 + "Control Flow Ratio": "100.0%", + "Start Line": 209, + "End Line": 212 }, { - "Function Name": "combinedLogFormatter", - "Structural Impact": 11.9, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 5, + "Function Name": "appOpenFile", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, "Input Parameters": 2, - "Control Flow Ratio": "71.4%", - "Start Line": 2995, - "End Line": 3025 + "Control Flow Ratio": "100.0%", + "Start Line": 260, + "End Line": 266 }, { - "Function Name": "__init__", - "Structural Impact": 11.8, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 3, - "Input Parameters": 5, - "Control Flow Ratio": "50.0%", - "Start Line": 3350, - "End Line": 3389 + "Function Name": "appOpenTempFile", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 272, + "End Line": 278 }, { - "Function Name": "requestDone", - "Structural Impact": 11.6, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 5, + "Function Name": "accessName", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, "Input Parameters": 2, - "Control Flow Ratio": "71.4%", - "Start Line": 2669, - "End Line": 2693 + "Control Flow Ratio": "100.0%", + "Start Line": 155, + "End Line": 159 }, { - "Function Name": "getRequestHostname", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 6, + "Function Name": "runPagelayout", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 1564, - "End Line": 1579 - }, - { - "Function Name": "rawDataReceived", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 2570, - "End Line": 2609 + "Control Flow Ratio": "100.0%", + "Start Line": 391, + "End Line": 396 }, { - "Function Name": "dataReceived", - "Structural Impact": 10.2, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "80.0%", - "Start Line": 1831, - "End Line": 1861 + "Function Name": "help", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 218, + "End Line": 221 }, { - "Function Name": "registerProducer", - "Structural Impact": 10.1, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 3, - "Input Parameters": 3, - "Control Flow Ratio": "75.0%", - "Start Line": 2828, - "End Line": 2868 + "Function Name": "goToBlank", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 227, + "End Line": 230 }, { - "Function Name": "_cleanup", - "Structural Impact": 9.6, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 5, + "Function Name": "appAcceptsAnotherFile", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "55.6%", - "Start Line": 958, - "End Line": 979 + "Control Flow Ratio": "100.0%", + "Start Line": 253, + "End Line": 256 }, { - "Function Name": "parseCookies", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 5, + "Function Name": "search", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "62.5%", - "Start Line": 1009, - "End Line": 1028 + "Control Flow Ratio": "100.0%", + "Start Line": 284, + "End Line": 287 }, { - "Function Name": "_escape", - "Structural Impact": 8.2, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 4, + "Function Name": "searchRTF", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "57.1%", - "Start Line": 2970, - "End Line": 2991 + "Control Flow Ratio": "100.0%", + "Start Line": 289, + "End Line": 292 }, { - "Function Name": "_getMultiPartArgs", - "Structural Impact": 8.0, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 3, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 314, - "End Line": 335 + "Function Name": "searchSGML", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 294, + "End Line": 297 }, { - "Function Name": "stopFactory", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 4, + "Function Name": "open", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "80.0%", - "Start Line": 3455, - "End Line": 3463 + "Control Flow Ratio": "100.0%", + "Start Line": 301, + "End Line": 304 }, { - "Function Name": "rawDataReceived", - "Structural Impact": 7.4, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 3, - "Input Parameters": 2, - "Control Flow Ratio": "75.0%", - "Start Line": 809, - "End Line": 818 + "Function Name": "openRTF", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 306, + "End Line": 309 }, { - "Function Name": "fromChunk", - "Structural Impact": 6.7, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 3, + "Function Name": "openSGML", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 521, - "End Line": 541 + "Control Flow Ratio": "100.0%", + "Start Line": 311, + "End Line": 314 }, { - "Function Name": "setResponseCode", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "66.7%", - "Start Line": 1438, - "End Line": 1449 + "Function Name": "print", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 384, + "End Line": 387 }, { - "Function Name": "_dataReceived_CRLF", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 3, + "Function Name": "traceOn", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "42.9%", - "Start Line": 2052, - "End Line": 2070 + "Control Flow Ratio": "100.0%", + "Start Line": 41, + "End Line": 41 }, { - "Function Name": "parseContentRange", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 3, + "Function Name": "traceOff", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 544, - "End Line": 559 + "Control Flow Ratio": "100.0%", + "Start Line": 42, + "End Line": 42 }, { - "Function Name": "_ensureBytes", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 3, + "Function Name": "back", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "42.9%", - "Start Line": 1380, - "End Line": 1396 + "Control Flow Ratio": "100.0%", + "Start Line": 198, + "End Line": 198 }, { - "Function Name": "_authorize", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 3, + "Function Name": "next", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 1677, - "End Line": 1693 + "Control Flow Ratio": "100.0%", + "Start Line": 199, + "End Line": 199 }, { - "Function Name": "allHeadersReceived", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 3, + "Function Name": "previous", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 2611, - "End Line": 2624 + "Control Flow Ratio": "100.0%", + "Start Line": 200, + "End Line": 200 }, { - "Function Name": "__init__", - "Structural Impact": 6.2, - "Lines of Code (LOC)": 34, + "Function Name": "new", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 6, "Control Flow Branches": 1, - "Input Parameters": 4, - "Control Flow Ratio": "50.0%", - "Start Line": 923, - "End Line": 956 + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 34, + "End Line": 39 }, { - "Function Name": "startFactory", - "Structural Impact": 6.1, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "75.0%", - "Start Line": 3446, - "End Line": 3453 + "Function Name": "name", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 47, + "End Line": 50 }, { - "Function Name": "pauseProducing", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 34, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 2897, - "End Line": 2930 + "Function Name": "manager", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 44, + "End Line": 44 }, { - "Function Name": "connectionLost", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 2, + "Function Name": "setManager", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 45, + "End Line": 45 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 84, + "Sequential Logic Declarations": 2, + "Function Parameters": 73, + "Function/Method Declarations": 34, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 7, + "Type/Safety Bypasses": 4, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 8, + "Exposed API / Public Exports": 22, + "State Mutations / Variable Reassignments": 153, + "Commented-out Code (Dead Logic)": 4, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 12, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 5, + "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": 0, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 2, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 1, + "Pointer Arithmetic & Addressing": 7, + "Manual Memory Allocation": 5, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 8, + "Explicit Type Casts": 17, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 0, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 8, + "Resource Deallocation & Cleanup": 5, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 27, + "Structural Space Indentations": 98, + "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": 32, + "Design Camel Case": 3, + "Design Snake Case": 20, + "Design Pascal Case": 0, + "Design Upper Case": 6, + "Design Short Vars": 14, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 0, + "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)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "HTAccess.h", + "HTParse.h", + "HTUtils.h", + "HyperManager.h", + "HyperText.h", + "WWWPageLayout.h" + ] + }, + "objective-c/worldwideweb/HyperText.h": { + "1. Artifact Identity": { + "Filename": "HyperText.h", + "Path": "objective-c/worldwideweb/HyperText.h", + "Language": "Objective-C", + "Architect": "Unknown Architect", + "Indentation Style": "Tabs", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "objective-c", + "Lock Tier": 0, + "Identity Proof": "Sibling Anchor (.m)" + }, + "2. Topological Coordinates": { + "X": -3318.16, + "Y": -36.27, + "Z": 3844.86 + }, + "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": 95, + "Coding LOC": 62, + "Documentation LOC": 10, + "Structural Magnitude": 91.44, + "Control Flow Ratio": "0.0%", + "Popularity Rank": 4, + "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": "0.0%", + "Error & Exception Exposure": "0.0%", + "Tech Debt Exposure": "0.0%", + "Testing Exposure": "80.0%", + "API Exposure": "15.82%", + "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": "100.0%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "readSGML", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 1727, - "End Line": 1738 + "Control Flow Ratio": "0.0%", + "Start Line": 34, + "End Line": 34 }, { - "Function Name": "dataReceived", - "Structural Impact": 5.6, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, + "Function Name": "writeSGML", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 2147, - "End Line": 2155 + "Control Flow Ratio": "0.0%", + "Start Line": 35, + "End Line": 35 }, { - "Function Name": "connectionLost", - "Structural Impact": 5.6, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, + "Function Name": "replaceSel", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 2719, - "End Line": 2727 + "Control Flow Ratio": "0.0%", + "Start Line": 53, + "End Line": 53 }, { - "Function Name": "urlparse", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 2, + "Function Name": "newAnchor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 338, - "End Line": 363 + "Control Flow Ratio": "0.0%", + "Start Line": 32, + "End Line": 32 }, { - "Function Name": "isSecure", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 2, + "Function Name": "readText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 1656, - "End Line": 1675 + "Control Flow Ratio": "0.0%", + "Start Line": 37, + "End Line": 37 }, { - "Function Name": "datetimeToString", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, + "Function Name": "setFormat", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 394, - "End Line": 411 + "Control Flow Ratio": "0.0%", + "Start Line": 44, + "End Line": 44 }, { - "Function Name": "noMoreData", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, + "Function Name": "applyToSimilar", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 1863, - "End Line": 1880 + "Control Flow Ratio": "0.0%", + "Start Line": 48, + "End Line": 48 }, { - "Function Name": "_dataReceived_BODY", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, + "Function Name": "applyStyle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2117, - "End Line": 2134 + "Control Flow Ratio": "0.0%", + "Start Line": 49, + "End Line": 49 }, { - "Function Name": "resumeProducing", - "Structural Impact": 5.1, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 2, + "Function Name": "selectUnstyled", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 2932, - "End Line": 2949 + "Control Flow Ratio": "0.0%", + "Start Line": 50, + "End Line": 50 }, { - "Function Name": "getClientIP", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 2, + "Function Name": "updateStyle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 1626, - "End Line": 1638 + "Control Flow Ratio": "0.0%", + "Start Line": 51, + "End Line": 51 }, { - "Function Name": "unregisterProducer", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 2, + "Function Name": "selectionStyle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2870, - "End Line": 2883 + "Control Flow Ratio": "0.0%", + "Start Line": 52, + "End Line": 52 }, { - "Function Name": "registerProducer", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "50.0%", - "Start Line": 1124, - "End Line": 1136 + "Function Name": "appendStyle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 58, + "End Line": 58 }, { - "Function Name": "_getContentFile", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, + "Function Name": "appendText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "40.0%", - "Start Line": 837, - "End Line": 843 + "Control Flow Ratio": "0.0%", + "Start Line": 59, + "End Line": 59 }, { - "Function Name": "__eq__", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 1747, - "End Line": 1765 + "Function Name": "appendCharacter", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 60, + "End Line": 60 }, { - "Function Name": "sendHeader", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "50.0%", - "Start Line": 702, - "End Line": 708 + "Function Name": "appendBeginAnchor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 61, + "End Line": 61 }, { - "Function Name": "getHeader", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 1147, - "End Line": 1162 + "Function Name": "linkSelTo", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 75, + "End Line": 75 }, { - "Function Name": "extractHeader", - "Structural Impact": 4.2, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 713, - "End Line": 726 + "Function Name": "disconnectAnchor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 76, + "End Line": 76 }, { - "Function Name": "allContentReceived", - "Structural Impact": 4.2, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 1, + "Function Name": "selectAnchor", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 2519, - "End Line": 2545 + "Control Flow Ratio": "0.0%", + "Start Line": 77, + "End Line": 77 }, { - "Function Name": "log", - "Structural Impact": 4.0, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 3471, - "End Line": 3480 + "Function Name": "setTitle", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 79, + "End Line": 79 }, { - "Function Name": "_set_logFile", - "Structural Impact": 3.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 3410, - "End Line": 3418 + "Function Name": "dump", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 80, + "End Line": 80 }, { - "Function Name": "datetimeToLogString", - "Structural Impact": 3.8, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 1, + "Function Name": "readText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 414, - "End Line": 432 + "Control Flow Ratio": "0.0%", + "Start Line": 84, + "End Line": 84 }, { - "Function Name": "getUser", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, + "Function Name": "readRichText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 1695, - "End Line": 1709 + "Control Flow Ratio": "0.0%", + "Start Line": 85, + "End Line": 85 }, { - "Function Name": "getPassword", - "Structural Impact": 3.6, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 1711, - "End Line": 1725 - }, - { - "Function Name": "isSecure", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 2729, - "End Line": 2741 - }, - { - "Function Name": "notifyFinish", - "Structural Impact": 3.4, - "Lines of Code (LOC)": 42, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1177, - "End Line": 1218 - }, - { - "Function Name": "getAllHeaders", - "Structural Impact": 3.4, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 1551, - "End Line": 1562 - }, - { - "Function Name": "stopProducing", - "Structural Impact": 3.4, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2885, - "End Line": 2895 - }, - { - "Function Name": "handleResponseEnd", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 772, - "End Line": 781 - }, - { - "Function Name": "noMoreData", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2157, - "End Line": 2166 - }, - { - "Function Name": "connectionMade", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2348, - "End Line": 2355 - }, - { - "Function Name": "timeoutConnection", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 2695, - "End Line": 2702 - }, - { - "Function Name": "loseConnection", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "50.0%", - "Start Line": 1740, - "End Line": 1745 - }, - { - "Function Name": "_get_logFile", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 3404, - "End Line": 3407 - }, - { - "Function Name": "_protocolUpgradeForWebsockets", - "Structural Impact": 2.8, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2547, - "End Line": 2568 - }, - { - "Function Name": "setHeader", - "Structural Impact": 2.7, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 1451, - "End Line": 1464 - }, - { - "Function Name": "__init__", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 1986, - "End Line": 1997 - }, - { - "Function Name": "buildProtocol", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 16, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3429, - "End Line": 3444 - }, - { - "Function Name": "redirect", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1466, - "End Line": 1479 - }, - { - "Function Name": "__init__", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 1826, - "End Line": 1829 - }, - { - "Function Name": "gotLength", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 997, - "End Line": 1007 - }, - { - "Function Name": "getCookie", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1164, - "End Line": 1175 - }, - { - "Function Name": "requestFactory", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3165, - "End Line": 3176 - }, - { - "Function Name": "site", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3188, - "End Line": 3199 - }, - { - "Function Name": "timeOut", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3209, - "End Line": 3220 - }, - { - "Function Name": "__repr__", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1098, - "End Line": 1112 - }, - { - "Function Name": "getClientAddress", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1640, - "End Line": 1654 - }, - { - "Function Name": "write", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2779, - "End Line": 2788 - }, - { - "Function Name": "writeSequence", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2790, - "End Line": 2799 - }, - { - "Function Name": "getClientAddress", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 3050, - "End Line": 3064 - }, - { - "Function Name": "proxiedLogFormatter", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3093, - "End Line": 3101 - }, - { - "Function Name": "callLater", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3231, - "End Line": 3240 - }, - { - "Function Name": "sendCommand", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 699, - "End Line": 700 - }, - { - "Function Name": "handleContentChunk", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 1030, - "End Line": 1036 - }, - { - "Function Name": "forceAbortClient", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2704, - "End Line": 2717 - }, - { - "Function Name": "noLongerQueued", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 12, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 984, - "End Line": 995 - }, - { - "Function Name": "_openLogFile", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3465, - "End Line": 3469 - }, - { - "Function Name": "_parseContentType", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 297, - "End Line": 305 - }, - { - "Function Name": "toChunk", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 510, - "End Line": 518 - }, - { - "Function Name": "_sanitize", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1398, - "End Line": 1406 - }, - { - "Function Name": "getHost", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1581, - "End Line": 1589 - }, - { - "Function Name": "_dataReceived_FINISHED", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2136, - "End Line": 2145 - }, - { - "Function Name": "dataReceived", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2357, - "End Line": 2359 - }, - { - "Function Name": "_finishRequestBody", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 2427, - "End Line": 2429 - }, - { - "Function Name": "loseConnection", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2817, - "End Line": 2826 - }, - { - "Function Name": "_respondToBadRequestAndDisconnect", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2958, - "End Line": 2967 - }, - { - "Function Name": "factory", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3151, - "End Line": 3153 - }, - { - "Function Name": "writeSequence", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 666, - "End Line": 667 - }, - { - "Function Name": "__getattr__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 669, - "End Line": 670 - }, - { - "Function Name": "connectionLost", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 769, - "End Line": 770 - }, - { - "Function Name": "handleResponsePart", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 783, - "End Line": 784 - }, - { - "Function Name": "process", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1114, - "End Line": 1120 - }, - { - "Function Name": "__hash__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 1767, - "End Line": 1773 - }, - { - "Function Name": "_failChooseTransferDecoder", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2431, - "End Line": 2437 - }, - { - "Function Name": "getPeer", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 2801, - "End Line": 2807 - }, - { - "Function Name": "getHost", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "mouseDown", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2809, - "End Line": 2815 - }, - { - "Function Name": "__init__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 3040, - "End Line": 3041 + "Start Line": 86, + "End Line": 86 }, { - "Function Name": "requestFactory", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "keyDown", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3156, - "End Line": 3162 + "Start Line": 87, + "End Line": 87 }, { - "Function Name": "site", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "paste", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3179, - "End Line": 3185 + "Start Line": 88, + "End Line": 88 }, { - "Function Name": "_genericHTTPChannelProtocolFactory", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "windowDidBecomeMain", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 3292, - "End Line": 3298 + "Start Line": 92, + "End Line": 92 }, { - "Function Name": "unregisterProducer", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "Accmgr", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 1138, - "End Line": 1143 + "Start Line": 38, + "End Line": 38 }, { - "Function Name": "__init__", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "isIndex", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 2341, - "End Line": 2346 + "Start Line": 39, + "End Line": 39 }, { - "Function Name": "_send100Continue", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "setupWindow", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 2951, - "End Line": 2956 + "Start Line": 40, + "End Line": 40 }, { - "Function Name": "clientproto", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "adjustWindow", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3068, - "End Line": 3073 + "Start Line": 41, + "End Line": 41 }, { - "Function Name": "code", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "format", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3076, - "End Line": 3081 + "Start Line": 43, + "End Line": 43 }, { - "Function Name": "sentLength", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "appendBegin", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3084, - "End Line": 3089 + "Start Line": 57, + "End Line": 57 }, { - "Function Name": "factory", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "appendEndAnchor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3144, - "End Line": 3148 + "Start Line": 62, + "End Line": 62 }, { - "Function Name": "timeOut", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "appendEnd", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3202, - "End Line": 3206 + "Start Line": 63, + "End Line": 63 }, { - "Function Name": "callLater", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "nodeAnchor", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3223, - "End Line": 3228 + "Start Line": 70, + "End Line": 70 }, { - "Function Name": "_updateLogDateTime", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 6, + "Function Name": "followLink", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 3422, - "End Line": 3427 + "Start Line": 71, + "End Line": 71 }, { - "Function Name": "__init__", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "unlinkSelection", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 663, - "End Line": 664 + "Start Line": 72, + "End Line": 72 }, { - "Function Name": "endHeaders", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "referenceSelected", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 710, - "End Line": 711 + "Start Line": 73, + "End Line": 73 }, { - "Function Name": "connectionMade", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "referenceAll", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 786, - "End Line": 787 + "Start Line": 74, + "End Line": 74 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 295, - "Sequential Logic Declarations": 372, - "Function Parameters": 156, - "Function/Method Declarations": 153, - "Class/Entity Declarations": 17, - "Defensive Programming Constructs": 52, - "Type/Safety Bypasses": 28, + "Control Flow Branches": 0, + "Sequential Logic Declarations": 2, + "Function Parameters": 28, + "Function/Method Declarations": 40, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 0, + "Type/Safety Bypasses": 0, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 13, - "Exposed API / Public Exports": 148, - "State Mutations / Variable Reassignments": 329, - "Commented-out Code (Dead Logic)": 4, - "Structured Documentation Blocks": 292, - "Unit Test Assertions": 3, + "I/O and Network Boundaries": 7, + "Exposed API / Public Exports": 36, + "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": 3, - "Global State Dependencies": 0, - "Decorators and Annotations": 23, - "Generic Type Abstractions": 44, - "Collection Iterators / Comprehensions": 9, + "UI / View Layer Components": 3, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 2, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 0, + "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 14, - "Module Dependencies (Imports)": 35, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 4, "Authorship Metadata": 0, - "Planned Work (TODOs)": 4, - "Acknowledged Tech Debt (FIXMEs)": 3, + "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, + "Preprocessor Macros": 7, "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": 14, - "Fatal Aborts & Exceptions": 33, + "Explicit Type Casts": 29, + "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 3, + "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 4, - "Private / Encapsulated Scopes": 408, - "Event Listeners & Subscribers": 1, + "Immutable Data Declarations": 3, + "Resource Deallocation & Cleanup": 0, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 1410, + "Structural Tab Indentations": 6, + "Structural Space Indentations": 0, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, "Ipc Rpc Bridges": 0, "Feature Flags": 0, "Serialization Parsing": 0, - "Regex Execution": 1, - "Time Date Logic": 4, + "Regex Execution": 0, + "Time Date Logic": 0, "Cloud LLM API Integrations": 0, "AI Orchestration Frameworks": 0, "Vector Databases (RAG)": 0, @@ -303958,26 +303679,26 @@ "Traditional Machine Learning (Stats/Trees)": 0, "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, - "Vectorized Math & Tensor Operations": 22, - "Core Var Decl": 292, - "Design Camel Case": 55, - "Design Snake Case": 199, - "Design Pascal Case": 13, - "Design Upper Case": 5, - "Design Short Vars": 20, - "Design Long Vars": 1, + "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": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 129, + "High-Entropy / Obfuscated Logic": 0, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 2, + "Dynamic Code Execution (Eval/Exec)": 0, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 8, + "Commented-Out Executable Logic": 0, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, @@ -303991,410 +303712,809 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 34, - "Direct Downstream (Dependency Blast Radius)": 9, - "Total Upstream (Absolute Fragility)": 2, - "Total Downstream (Absolute Dependency Blast Radius)": 2 + "Direct Upstream (Fragility)": 4, + "Direct Downstream (Dependency Blast Radius)": 4, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 4 }, "9. Extracted Dependencies": [ - "__future__", - "base64", - "binascii", - "calendar", - "collections", - "email", - "email.message", - "incremental", - "io", - "math", - "os", - "re", - "tempfile", - "time", - "twisted.internet", - "twisted.internet._producer_helpers", - "twisted.internet.defer", - "twisted.internet.interfaces", - "twisted.logger", - "twisted.protocols", - "twisted.python", - "twisted.python.compat", - "twisted.python.components", - "twisted.python.deprecate", - "twisted.python.failure", - "twisted.web._abnf", - "twisted.web._http2", - "twisted.web._responses", - "twisted.web.http_headers", - "twisted.web.iweb", - "typing", - "urllib.parse", - "warnings", - "zope.interface" + "Anchor.h", + "HTStyle.h", + "appkit/Text.h", + "objc/List.h" ] }, - "python/twisted/reflect.py": { + "objective-c/worldwideweb/HyperText.m": { "1. Artifact Identity": { - "Filename": "reflect.py", - "Path": "python/twisted/reflect.py", - "Language": "Python", - "Architect": "Unknown Architect", - "Indentation Style": "Spaces", - "Parent Entity": "Exception, ValueError, InvalidName", + "Filename": "HyperText.m", + "Path": "objective-c/worldwideweb/HyperText.m", + "Language": "Objective-C", + "Architect": "Tim Berners-Lee", + "Indentation Style": "Mixed (75.2% Spaces / 24.8% Tabs)", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "python", - "Lock Tier": 1.5, - "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" + "Folder Dominant Lang": "objective-c", + "Lock Tier": 0, + "Identity Proof": "Sibling Anchor (.h)" }, "2. Topological Coordinates": { - "X": 6805.67, - "Y": -135.8, - "Z": -842.37 + "X": -2791.6, + "Y": -16.03, + "Z": 3856.01 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", "Repository Drift (Z-Score)": 0.0, "Repository Fingerprint": {}, - "File Archetype": "Unclassified", + "File Archetype": null, "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 687, - "Coding LOC": 295, - "Documentation LOC": 249, - "Structural Magnitude": 264.9, - "Control Flow Ratio": "40.6%", - "Popularity Rank": 2, + "Total LOC": 1614, + "Coding LOC": 1039, + "Documentation LOC": 290, + "Structural Magnitude": 1624.78, + "Control Flow Ratio": "99.3%", + "Popularity Rank": 0, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.762 + "Raw Cognitive Density": 1.038 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "25.62%", - "Error & Exception Exposure": "41.9%", - "Tech Debt Exposure": "13.92%", + "Cognitive Load Exposure": "75.97%", + "Error & Exception Exposure": "99.19%", + "Tech Debt Exposure": "74.52%", "Testing Exposure": "80.0%", - "API Exposure": "3.52%", + "API Exposure": "1.88%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "47.24%", - "Commented Logic Exposure": "5.37%", + "State Flux Exposure": "100.0%", + "Commented Logic Exposure": "5.27%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "22.29%", + "Documentation Exposure": "11.92%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "objgrep", - "Structural Impact": 62.9, - "Lines of Code (LOC)": 117, - "Control Flow Branches": 18, - "Input Parameters": 8, - "Control Flow Ratio": "66.7%", - "Start Line": 534, - "End Line": 650 + "Function Name": "applyStyle", + "Structural Impact": 70.8, + "Lines of Code (LOC)": 137, + "Control Flow Branches": 31, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 813, + "End Line": 949 }, { - "Function Name": "addMethodNamesToDict", - "Structural Impact": 19.9, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 7, - "Input Parameters": 4, - "Control Flow Ratio": "77.8%", - "Start Line": 48, - "End Line": 87 + "Function Name": "willChange", + "Structural Impact": 28.6, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 15, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 640, + "End Line": 657 }, { - "Function Name": "accumulateMethods", - "Structural Impact": 19.9, - "Lines of Code (LOC)": 41, - "Control Flow Branches": 7, - "Input Parameters": 4, - "Control Flow Ratio": "77.8%", - "Start Line": 109, - "End Line": 149 + "Function Name": "adjustWindow", + "Structural Impact": 20.5, + "Lines of Code (LOC)": 110, + "Control Flow Branches": 14, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 194, + "End Line": 303 }, { - "Function Name": "namedAny", - "Structural Impact": 17.2, - "Lines of Code (LOC)": 62, - "Control Flow Branches": 9, + "Function Name": "endOfParagraph", + "Structural Impact": 20.0, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 12, "Input Parameters": 1, - "Control Flow Ratio": "81.8%", - "Start Line": 249, - "End Line": 310 + "Control Flow Ratio": "100.0%", + "Start Line": 730, + "End Line": 761 }, { - "Function Name": "filenameToModuleName", - "Structural Impact": 11.7, - "Lines of Code (LOC)": 36, - "Control Flow Branches": 6, + "Function Name": "appendStyle", + "Structural Impact": 17.1, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 10, "Input Parameters": 1, - "Control Flow Ratio": "66.7%", - "Start Line": 313, - "End Line": 348 + "Control Flow Ratio": "100.0%", + "Start Line": 1255, + "End Line": 1284 }, { - "Function Name": "accumulateClassDict", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 35, - "Control Flow Branches": 3, - "Input Parameters": 4, - "Control Flow Ratio": "75.0%", - "Start Line": 465, - "End Line": 499 + "Function Name": "apply", + "Structural Impact": 17.0, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 606, + "End Line": 634 }, { - "Function Name": "accumulateClassList", - "Structural Impact": 9.4, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 3, - "Input Parameters": 4, - "Control Flow Ratio": "75.0%", - "Start Line": 502, - "End Line": 511 + "Function Name": "followLink", + "Structural Impact": 16.9, + "Lines of Code (LOC)": 39, + "Control Flow Branches": 14, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 533, + "End Line": 571 }, { - "Function Name": "_importAndCheckStack", - "Structural Impact": 7.0, - "Lines of Code (LOC)": 26, - "Control Flow Branches": 3, + "Function Name": "linkSelTo", + "Structural Impact": 16.8, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 10, "Input Parameters": 1, - "Control Flow Ratio": "60.0%", - "Start Line": 221, - "End Line": 246 + "Control Flow Ratio": "100.0%", + "Start Line": 442, + "End Line": 466 }, { - "Function Name": "safe_str", + "Function Name": "applyStyle", + "Structural Impact": 16.8, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 958, + "End Line": 981 + }, + { + "Function Name": "run_match", + "Structural Impact": 16.1, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 767, + "End Line": 777 + }, + { + "Function Name": "startOfParagraph", + "Structural Impact": 15.0, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 9, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 702, + "End Line": 718 + }, + { + "Function Name": "applyToSimilar", + "Structural Impact": 14.1, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 8, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 988, + "End Line": 1014 + }, + { + "Function Name": "dump", + "Structural Impact": 14.0, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 128, + "End Line": 180 + }, + { + "Function Name": "windowWillClose", + "Structural Impact": 13.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 8, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1099, + "End Line": 1108 + }, + { + "Function Name": "selectAnchor", + "Structural Impact": 12.3, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 503, + "End Line": 522 + }, + { + "Function Name": "keyDown", + "Structural Impact": 12.1, + "Lines of Code (LOC)": 44, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1426, + "End Line": 1469 + }, + { + "Function Name": "mergeRun", + "Structural Impact": 9.1, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 785, + "End Line": 797 + }, + { + "Function Name": "referenceSelected", + "Structural Impact": 8.9, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 7, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 419, + "End Line": 437 + }, + { + "Function Name": "anchorSelected", + "Structural Impact": 8.8, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 7, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 394, + "End Line": 410 + }, + { + "Function Name": "mouseDown", + "Structural Impact": 8.8, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1407, + "End Line": 1412 + }, + { + "Function Name": "appendEnd", + "Structural Impact": 8.7, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 6, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 1305, + "End Line": 1338 + }, + { + "Function Name": "selectUnstyled", + "Structural Impact": 7.7, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 589, + "End Line": 601 + }, + { + "Function Name": "appendBegin", + "Structural Impact": 7.7, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 5, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 1217, + "End Line": 1250 + }, + { + "Function Name": "setupWindow", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 55, + "Control Flow Branches": 4, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 309, + "End Line": 363 + }, + { + "Function Name": "newAnchor", "Structural Impact": 6.6, "Lines of Code (LOC)": 18, "Control Flow Branches": 3, "Input Parameters": 1, - "Control Flow Ratio": "37.5%", - "Start Line": 418, - "End Line": 435 + "Control Flow Ratio": "100.0%", + "Start Line": 83, + "End Line": 100 }, { - "Function Name": "_determineClassName", + "Function Name": "updateStyle", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 663, + "End Line": 675 + }, + { + "Function Name": "disconnectAnchor", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 682, + "End Line": 694 + }, + { + "Function Name": "replaceSel", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 1037, + "End Line": 1050 + }, + { + "Function Name": "unlinkSelection", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 4, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 476, + "End Line": 487 + }, + { + "Function Name": "appendStartBlock", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 3, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 1189, + "End Line": 1213 + }, + { + "Function Name": "selectionStyle", "Structural Impact": 4.7, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 10, "Control Flow Branches": 2, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 365, - "End Line": 373 + "Control Flow Ratio": "100.0%", + "Start Line": 1019, + "End Line": 1028 }, { - "Function Name": "_safeFormat", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 25, + "Function Name": "readText", + "Structural Impact": 3.8, + "Lines of Code (LOC)": 19, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 376, - "End Line": 400 + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1059, + "End Line": 1077 }, { - "Function Name": "requireModule", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "25.0%", - "Start Line": 176, - "End Line": 192 + "Function Name": "initialize", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 2, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 50, + "End Line": 55 }, { - "Function Name": "safe_repr", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 13, + "Function Name": "appendBeginAnchor", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 9, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 403, - "End Line": 415 + "Control Flow Ratio": "100.0%", + "Start Line": 1375, + "End Line": 1383 }, { - "Function Name": "namedModule", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 10, + "Function Name": "readRichText", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 7, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "33.3%", - "Start Line": 152, - "End Line": 161 + "Control Flow Ratio": "100.0%", + "Start Line": 1086, + "End Line": 1092 }, { - "Function Name": "_determineClass", + "Function Name": "appendCharacter", "Structural Impact": 3.1, "Lines of Code (LOC)": 5, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "20.0%", - "Start Line": 358, - "End Line": 362 + "Control Flow Ratio": "100.0%", + "Start Line": 1361, + "End Line": 1365 }, { - "Function Name": "fullFuncName", + "Function Name": "appendText", "Structural Impact": 3.1, "Lines of Code (LOC)": 5, "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "25.0%", - "Start Line": 451, - "End Line": 455 + "Control Flow Ratio": "100.0%", + "Start Line": 1367, + "End Line": 1371 }, { - "Function Name": "prefixedMethodNames", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 28, - "End Line": 45 + "Function Name": "setTitle", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 573, + "End Line": 576 }, { - "Function Name": "prefixedMethods", - "Structural Impact": 2.6, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 90, - "End Line": 106 + "Function Name": "windowDidBecomeMain", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 1112, + "End Line": 1115 }, { - "Function Name": "__init__", - "Structural Impact": 2.1, - "Lines of Code (LOC)": 3, - "Control Flow Branches": 0, - "Input Parameters": 3, - "Control Flow Ratio": "0.0%", - "Start Line": 443, - "End Line": 445 + "Function Name": "setFormat", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "100.0%", + "Start Line": 119, + "End Line": 119 }, { - "Function Name": "namedObject", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 164, - "End Line": 170 + "Function Name": "page_width", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 62, + "End Line": 72 }, { - "Function Name": "__call__", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 447, - "End Line": 448 + "Function Name": "anchor", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 379, + "End Line": 388 }, { - "Function Name": "isSame", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 514, - "End Line": 515 + "Function Name": "appendEndAnchor", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 1386, + "End Line": 1393 }, { - "Function Name": "isLike", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 518, - "End Line": 519 + "Function Name": "free", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 108, + "End Line": 113 }, { - "Function Name": "isOfType", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 526, - "End Line": 527 + "Function Name": "referenceAll", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 490, + "End Line": 494 }, { - "Function Name": "findInstances", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 2, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 530, - "End Line": 531 + "Function Name": "format", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 118, + "End Line": 118 }, { - "Function Name": "qual", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "nodeAnchor", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 368, + "End Line": 368 + }, + { + "Function Name": "isIndex", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 1, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 369, + "End Line": 369 + }, + { + "Function Name": "loadPlainText", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 11, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 351, - "End Line": 355 + "Start Line": 1342, + "End Line": 1352 }, { - "Function Name": "getClass", - "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Function Name": "paste", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 1, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 458, - "End Line": 462 + "Start Line": 1568, + "End Line": 1568 }, { - "Function Name": "modgrep", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 2, + "Function Name": "start_input", + "Structural Impact": 1.3, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 0, "Control Flow Ratio": "0.0%", - "Start Line": 522, - "End Line": 523 + "Start Line": 1140, + "End Line": 1145 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 67, - "Sequential Logic Declarations": 98, - "Function Parameters": 28, - "Function/Method Declarations": 28, - "Class/Entity Declarations": 5, - "Defensive Programming Constructs": 30, - "Type/Safety Bypasses": 12, + "Control Flow Branches": 294, + "Sequential Logic Declarations": 2, + "Function Parameters": 195, + "Function/Method Declarations": 51, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 15, + "Type/Safety Bypasses": 7, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 11, - "Exposed API / Public Exports": 28, - "State Mutations / Variable Reassignments": 16, - "Commented-out Code (Dead Logic)": 1, - "Structured Documentation Blocks": 48, + "I/O and Network Boundaries": 14, + "Exposed API / Public Exports": 1, + "State Mutations / Variable Reassignments": 1123, + "Commented-out Code (Dead Logic)": 2, + "Structured Documentation Blocks": 0, "Unit Test Assertions": 0, "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 0, + "UI / View Layer Components": 20, + "Closures and Anonymous Functions": 0, + "Global State Dependencies": 2, + "Decorators and Annotations": 0, + "Generic Type Abstractions": 3, + "Collection Iterators / Comprehensions": 0, + "Scientific & Mathematical Operations": 13, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 11, + "Authorship Metadata": 1, + "Planned Work (TODOs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 1, + "Specification Traceability Tags": 0, + "Server-Side Rendering Contexts": 0, + "Event Publishers / Emitters": 0, + "Dependency Injection Constructs": 0, + "Preprocessor Macros": 25, + "Pointer Arithmetic & Addressing": 342, + "Manual Memory Allocation": 3, + "Inline Assembly Blocks": 0, + "Structured Telemetry & Logging": 0, + "Ad-hoc Print / Debug Statements": 51, + "Explicit Type Casts": 91, + "Fatal Aborts & Exceptions": 0, + "Thread Sleeps & Blocking Waits": 0, + "Bitwise Operations": 29, + "Thread Synchronization Locks": 0, + "Immutable Data Declarations": 4, + "Resource Deallocation & Cleanup": 9, + "Private / Encapsulated Scopes": 0, + "Event Listeners & Subscribers": 0, + "Bypassed / Skipped Tests": 0, + "Structural Tab Indentations": 164, + "Structural Space Indentations": 496, + "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": 160, + "Design Camel Case": 30, + "Design Snake Case": 125, + "Design Pascal Case": 0, + "Design Upper Case": 1, + "Design Short Vars": 29, + "Design Long Vars": 0, + "Duplicate Logic": 0, + "Orphaned Logic": 22, + "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)": 11, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 1, + "Total Downstream (Absolute Dependency Blast Radius)": 0 + }, + "9. Extracted Dependencies": [ + "../../../Implementation/HTAnchor.h", + "../../../Implementation/HTML.h", + "HTAnchor.h", + "HTML.h", + "HTParse.h", + "HTStyle.h", + "HTUtils.h", + "HyperAccess.h", + "HyperText.h", + "WWW.h", + "appkit/appkit.h" + ] + }, + "objective-c/worldwideweb/TcpAccess.m": { + "1. Artifact Identity": { + "Filename": "TcpAccess.m", + "Path": "objective-c/worldwideweb/TcpAccess.m", + "Language": "Objective-C", + "Architect": "Unknown Architect", + "Indentation Style": "Mixed (83.9% Spaces / 16.1% Tabs)", + "Doc Umbrella": 0.0, + "Folder Dominant Lang": "objective-c", + "Lock Tier": 2, + "Identity Proof": "Single Indicator (Shebang)" + }, + "2. Topological Coordinates": { + "X": -2315.42, + "Y": 61.12, + "Z": 3862.43 + }, + "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": 109, + "Coding LOC": 48, + "Documentation LOC": 30, + "Structural Magnitude": 50.56, + "Control Flow Ratio": "88.2%", + "Popularity Rank": 0, + "Raw Churn Frequency": 0.0, + "Authorship Centralization": 0.0, + "Ownership Entropy": 0.0, + "Raw Cognitive Density": 0.958 + }, + "4. Vulnerability & Risk Exposures": { + "Cognitive Load Exposure": "69.71%", + "Error & Exception Exposure": "78.76%", + "Tech Debt Exposure": "0.0%", + "Testing Exposure": "2.82%", + "API Exposure": "4.67%", + "Concurrency Exposure": "0.0%", + "State Flux Exposure": "99.94%", + "Commented Logic Exposure": "0.0%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "44.36%", + "Hardcoded Payload Artifacts": "0.0%" + }, + "5. Function Analysis": [ + { + "Function Name": "loadAnchor", + "Structural Impact": 16.3, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "100.0%", + "Start Line": 92, + "End Line": 106 + }, + { + "Function Name": "accessName", + "Structural Impact": 16.1, + "Lines of Code (LOC)": 43, + "Control Flow Branches": 6, + "Input Parameters": 3, + "Control Flow Ratio": "100.0%", + "Start Line": 35, + "End Line": 77 + }, + { + "Function Name": "name", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 0, + "Control Flow Ratio": "100.0%", + "Start Line": 27, + "End Line": 30 + } + ], + "6. Contextual Mitigations & Amplifications": "None Detected", + "7. Structural Signatures (Net Mitigated Signals)": { + "Control Flow Branches": 15, + "Sequential Logic Declarations": 2, + "Function Parameters": 13, + "Function/Method Declarations": 3, + "Class/Entity Declarations": 1, + "Defensive Programming Constructs": 2, + "Type/Safety Bypasses": 0, + "High-Risk Execution Commands": 0, + "I/O and Network Boundaries": 4, + "Exposed API / Public Exports": 2, + "State Mutations / Variable Reassignments": 13, + "Commented-out Code (Dead Logic)": 0, + "Structured Documentation Blocks": 0, + "Unit Test Assertions": 0, + "Asynchronous/Concurrent Execution": 0, + "UI / View Layer Components": 3, "Closures and Anonymous Functions": 0, "Global State Dependencies": 0, "Decorators and Annotations": 0, - "Generic Type Abstractions": 7, + "Generic Type Abstractions": 0, "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 13, - "Module Dependencies (Imports)": 14, + "Metaprogramming & Reflection": 0, + "Module Dependencies (Imports)": 4, "Authorship Metadata": 0, "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 1, + "Acknowledged Tech Debt (FIXMEs)": 0, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, @@ -304404,26 +304524,26 @@ "Manual Memory Allocation": 0, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 1, + "Ad-hoc Print / Debug Statements": 2, "Explicit Type Casts": 6, - "Fatal Aborts & Exceptions": 7, + "Fatal Aborts & Exceptions": 0, "Thread Sleeps & Blocking Waits": 0, "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, + "Immutable Data Declarations": 3, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 54, + "Private / Encapsulated Scopes": 0, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 0, - "Structural Space Indentations": 246, + "Structural Tab Indentations": 5, + "Structural Space Indentations": 26, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, "Ipc Rpc Bridges": 0, "Feature Flags": 0, "Serialization Parsing": 0, - "Regex Execution": 1, + "Regex Execution": 0, "Time Date Logic": 0, "Cloud LLM API Integrations": 0, "AI Orchestration Frameworks": 0, @@ -304433,12 +304553,12 @@ "Deep Learning & Neural Networks": 0, "Lazy Evaluation & Generators (O(1) Memory)": 0, "Vectorized Math & Tensor Operations": 0, - "Core Var Decl": 52, - "Design Camel Case": 26, - "Design Snake Case": 25, - "Design Pascal Case": 1, - "Design Upper Case": 0, - "Design Short Vars": 5, + "Core Var Decl": 4, + "Design Camel Case": 1, + "Design Snake Case": 1, + "Design Pascal Case": 0, + "Design Upper Case": 2, + "Design Short Vars": 3, "Design Long Vars": 0, "Duplicate Logic": 0, "Orphaned Logic": 0, @@ -304451,7 +304571,7 @@ "External Network & I/O Hooks": 0, "Dynamic Code Execution (Eval/Exec)": 0, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, + "Commented-Out Executable Logic": 2, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, @@ -304465,45 +304585,59 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 14, - "Direct Downstream (Dependency Blast Radius)": 2, - "Total Upstream (Absolute Fragility)": 3, - "Total Downstream (Absolute Dependency Blast Radius)": 2 + "Direct Upstream (Fragility)": 4, + "Direct Downstream (Dependency Blast Radius)": 0, + "Total Upstream (Absolute Fragility)": 0, + "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "__future__", - "a", - "collections", - "io", - "os", - "path", - "pickle", - "re", - "sys", - "traceback", - "twisted.python.compat", - "twisted.python.deprecate", - "types", - "weakref" + "Anchor.h", + "HTTP.h", + "HTUtils.h", + "TcpAccess.h" ] - }, - "python/twisted/transport.py": { + } + } + }, + "python/twisted": { + "Directory Group Magnitude": 3286.88, + "File Count": 4, + "Ecosystem Fingerprint (Archetypes)": { + "Unclassified": "100.0%" + }, + "Average Risk Exposures": { + "Cognitive Load Exposure": "20.57%", + "Error & Exception Exposure": "61.61%", + "Tech Debt Exposure": "22.93%", + "Testing Exposure": "80.0%", + "API Exposure": "2.95%", + "Concurrency Exposure": "3.63%", + "State Flux Exposure": "85.29%", + "Commented Logic Exposure": "4.05%", + "Specification Exposure": "100.0%", + "Instability Exposure": "50.0%", + "Volatility Exposure": "0.0%", + "Documentation Exposure": "14.51%", + "Hardcoded Payload Artifacts": "6.14%" + }, + "Files": { + "python/twisted/defer.py": { "1. Artifact Identity": { - "Filename": "transport.py", - "Path": "python/twisted/transport.py", + "Filename": "defer.py", + "Path": "python/twisted/defer.py", "Language": "Python", "Architect": "Unknown Architect", "Indentation Style": "Spaces", - "Parent Entity": "Tuple[_DigestMod, bytes, bytes, int], protocol.Protocol, SSHTransportBase", + "Parent Entity": "Exception, TypeError, Enum", "Doc Umbrella": 0.0, "Folder Dominant Lang": "python", "Lock Tier": 1.5, "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": 6536.9, - "Y": -69.44, - "Z": -1814.3 + "X": 6211.21, + "Y": -60.8, + "Z": -1274.95 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -304512,822 +304646,1222 @@ "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 2264, - "Coding LOC": 1015, - "Documentation LOC": 886, - "Structural Magnitude": 775.6, - "Control Flow Ratio": "41.5%", - "Popularity Rank": 2, + "Total LOC": 2565, + "Coding LOC": 1151, + "Documentation LOC": 956, + "Structural Magnitude": 881.12, + "Control Flow Ratio": "35.5%", + "Popularity Rank": 1, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.6 + "Raw Cognitive Density": 0.596 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "17.72%", - "Error & Exception Exposure": "69.28%", - "Tech Debt Exposure": "10.38%", + "Cognitive Load Exposure": "17.53%", + "Error & Exception Exposure": "69.03%", + "Tech Debt Exposure": "55.89%", "Testing Exposure": "80.0%", - "API Exposure": "3.24%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "99.86%", - "Commented Logic Exposure": "0.0%", + "API Exposure": "1.79%", + "Concurrency Exposure": "14.53%", + "State Flux Exposure": "94.23%", + "Commented Logic Exposure": "5.6%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", "Documentation Exposure": "11.92%", - "Hardcoded Payload Artifacts": "24.56%" + "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "ssh_KEXINIT", - "Structural Impact": 28.6, - "Lines of Code (LOC)": 121, - "Control Flow Branches": 12, - "Input Parameters": 2, - "Control Flow Ratio": "75.0%", - "Start Line": 864, - "End Line": 984 + "Function Name": "_runCallbacks", + "Structural Impact": 44.4, + "Lines of Code (LOC)": 153, + "Control Flow Branches": 25, + "Input Parameters": 1, + "Control Flow Ratio": "78.1%", + "Start Line": 1005, + "End Line": 1157 }, { - "Function Name": "getPacket", - "Structural Impact": 20.0, - "Lines of Code (LOC)": 61, - "Control Flow Branches": 11, - "Input Parameters": 1, - "Control Flow Ratio": "52.4%", - "Start Line": 662, - "End Line": 722 + "Function Name": "_inlineCallbacks", + "Structural Impact": 42.0, + "Lines of Code (LOC)": 169, + "Control Flow Branches": 14, + "Input Parameters": 4, + "Control Flow Ratio": "46.7%", + "Start Line": 1805, + "End Line": 1973 }, { - "Function Name": "dataReceived", - "Structural Impact": 16.1, - "Lines of Code (LOC)": 44, - "Control Flow Branches": 7, + "Function Name": "deferUntilLocked", + "Structural Impact": 24.1, + "Lines of Code (LOC)": 67, + "Control Flow Branches": 11, "Input Parameters": 2, - "Control Flow Ratio": "63.6%", - "Start Line": 737, - "End Line": 780 + "Control Flow Ratio": "64.7%", + "Start Line": 2475, + "End Line": 2541 }, { - "Function Name": "dispatchMessage", - "Structural Impact": 15.6, - "Lines of Code (LOC)": 31, + "Function Name": "addCallbacks", + "Structural Impact": 23.1, + "Lines of Code (LOC)": 66, "Control Flow Branches": 6, - "Input Parameters": 3, - "Control Flow Ratio": "85.7%", - "Start Line": 782, - "End Line": 812 + "Input Parameters": 7, + "Control Flow Ratio": "75.0%", + "Start Line": 480, + "End Line": 545 }, { - "Function Name": "_generateECSharedSecret", - "Structural Impact": 13.8, - "Lines of Code (LOC)": 35, + "Function Name": "_cbDeferred", + "Structural Impact": 21.4, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 8, + "Input Parameters": 4, + "Control Flow Ratio": "66.7%", + "Start Line": 1554, + "End Line": 1578 + }, + { + "Function Name": "race", + "Structural Impact": 15.2, + "Lines of Code (LOC)": 77, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "53.8%", + "Start Line": 1650, + "End Line": 1726 + }, + { + "Function Name": "maybeDeferred", + "Structural Impact": 15.1, + "Lines of Code (LOC)": 61, "Control Flow Branches": 5, "Input Parameters": 3, - "Control Flow Ratio": "71.4%", - "Start Line": 1394, - "End Line": 1428 + "Control Flow Ratio": "38.5%", + "Start Line": 183, + "End Line": 243 }, { - "Function Name": "isEncrypted", - "Structural Impact": 13.0, - "Lines of Code (LOC)": 18, + "Function Name": "_startRunCallbacks", + "Structural Impact": 13.3, + "Lines of Code (LOC)": 23, "Control Flow Branches": 6, "Input Parameters": 2, - "Control Flow Ratio": "60.0%", - "Start Line": 1252, - "End Line": 1269 + "Control Flow Ratio": "75.0%", + "Start Line": 974, + "End Line": 996 }, { - "Function Name": "isVerified", - "Structural Impact": 13.0, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 6, - "Input Parameters": 2, - "Control Flow Ratio": "60.0%", - "Start Line": 1271, - "End Line": 1288 + "Function Name": "__init__", + "Structural Impact": 13.2, + "Lines of Code (LOC)": 69, + "Control Flow Branches": 3, + "Input Parameters": 5, + "Control Flow Ratio": "75.0%", + "Start Line": 1484, + "End Line": 1552 }, { - "Function Name": "sendPacket", - "Structural Impact": 11.9, - "Lines of Code (LOC)": 38, - "Control Flow Branches": 4, - "Input Parameters": 3, - "Control Flow Ratio": "66.7%", - "Start Line": 623, - "End Line": 660 + "Function Name": "addTimeout", + "Structural Impact": 12.4, + "Lines of Code (LOC)": 70, + "Control Flow Branches": 3, + "Input Parameters": 4, + "Control Flow Ratio": "27.3%", + "Start Line": 768, + "End Line": 837 }, { - "Function Name": "ssh_KEXINIT", - "Structural Impact": 11.3, - "Lines of Code (LOC)": 19, + "Function Name": "cancel", + "Structural Impact": 9.8, + "Lines of Code (LOC)": 27, "Control Flow Branches": 5, - "Input Parameters": 2, - "Control Flow Ratio": "71.4%", - "Start Line": 1478, - "End Line": 1496 + "Input Parameters": 1, + "Control Flow Ratio": "83.3%", + "Start Line": 946, + "End Line": 972 }, { - "Function Name": "ssh_KEXINIT", - "Structural Impact": 11.0, - "Lines of Code (LOC)": 46, - "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 1805, - "End Line": 1850 + "Function Name": "__iter__", + "Structural Impact": 9.5, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 1176, + "End Line": 1195 }, { - "Function Name": "ssh_KEX_DH_GEX_REQUEST_OLD", - "Structural Impact": 10.5, - "Lines of Code (LOC)": 36, + "Function Name": "put", + "Structural Impact": 9.3, + "Lines of Code (LOC)": 12, "Control Flow Branches": 4, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1596, - "End Line": 1631 + "Control Flow Ratio": "80.0%", + "Start Line": 2402, + "End Line": 2413 }, { - "Function Name": "_ssh_KEX_ECDH_REPLY", - "Structural Impact": 10.2, - "Lines of Code (LOC)": 66, + "Function Name": "asFuture", + "Structural Impact": 8.6, + "Lines of Code (LOC)": 33, "Control Flow Branches": 3, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1852, - "End Line": 1917 + "Control Flow Ratio": "37.5%", + "Start Line": 1199, + "End Line": 1231 }, { - "Function Name": "_encodeECPublicKey", - "Structural Impact": 10.0, + "Function Name": "_gotResultInlineCallbacks", + "Structural Impact": 8.6, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 2, + "Input Parameters": 5, + "Control Flow Ratio": "66.7%", + "Start Line": 1777, + "End Line": 1801 + }, + { + "Function Name": "ensureDeferred", + "Structural Impact": 8.4, "Lines of Code (LOC)": 26, "Control Flow Branches": 4, - "Input Parameters": 2, - "Control Flow Ratio": "57.1%", - "Start Line": 1367, - "End Line": 1392 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 1342, + "End Line": 1367 }, { - "Function Name": "_generateECPrivateKey", - "Structural Impact": 9.7, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 5, + "Function Name": "inlineCallbacks", + "Structural Impact": 8.2, + "Lines of Code (LOC)": 81, + "Control Flow Branches": 2, "Input Parameters": 1, - "Control Flow Ratio": "62.5%", - "Start Line": 1342, - "End Line": 1365 + "Control Flow Ratio": "33.3%", + "Start Line": 2047, + "End Line": 2127 }, { - "Function Name": "ssh_SERVICE_ACCEPT", - "Structural Impact": 9.7, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 4, + "Function Name": "succeeded", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 3, "Input Parameters": 2, - "Control Flow Ratio": "80.0%", - "Start Line": 2109, - "End Line": 2128 + "Control Flow Ratio": "60.0%", + "Start Line": 1683, + "End Line": 1703 }, { - "Function Name": "sendKexInit", - "Structural Impact": 9.5, - "Lines of Code (LOC)": 49, + "Function Name": "get", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 18, "Control Flow Branches": 4, "Input Parameters": 1, - "Control Flow Ratio": "80.0%", - "Start Line": 547, - "End Line": 595 + "Control Flow Ratio": "57.1%", + "Start Line": 2415, + "End Line": 2432 }, { - "Function Name": "ssh_KEX_DH_GEX_GROUP", - "Structural Impact": 8.1, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 3, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1957, - "End Line": 1980 + "Function Name": "_cancelLock", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 2495, + "End Line": 2512 }, { - "Function Name": "_continue_KEX_ECDH_REPLY", - "Structural Impact": 7.8, - "Lines of Code (LOC)": 22, + "Function Name": "fromFuture", + "Structural Impact": 7.6, + "Lines of Code (LOC)": 48, "Control Flow Branches": 2, - "Input Parameters": 4, - "Control Flow Ratio": "66.7%", - "Start Line": 1875, - "End Line": 1896 + "Input Parameters": 2, + "Control Flow Ratio": "20.0%", + "Start Line": 1234, + "End Line": 1281 }, { - "Function Name": "sendDebug", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 15, + "Function Name": "fromCoroutine", + "Structural Impact": 7.6, + "Lines of Code (LOC)": 48, "Control Flow Branches": 2, - "Input Parameters": 4, - "Control Flow Ratio": "66.7%", - "Start Line": 1075, - "End Line": 1089 + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1284, + "End Line": 1331 }, { - "Function Name": "_keySetup", - "Structural Impact": 7.2, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 2, - "Input Parameters": 3, - "Control Flow Ratio": "66.7%", - "Start Line": 1207, - "End Line": 1230 + "Function Name": "_parseDeferredListResult", + "Structural Impact": 7.4, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 3, + "Input Parameters": 2, + "Control Flow Ratio": "42.9%", + "Start Line": 1600, + "End Line": 1608 }, { - "Function Name": "_continueGEX_REPLY", - "Structural Impact": 6.9, - "Lines of Code (LOC)": 40, - "Control Flow Branches": 1, - "Input Parameters": 5, - "Control Flow Ratio": "33.3%", - "Start Line": 2042, - "End Line": 2081 + "Function Name": "errback", + "Structural Impact": 7.1, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 891, + "End Line": 928 }, { - "Function Name": "setKeys", - "Structural Impact": 6.7, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 1, - "Input Parameters": 7, - "Control Flow Ratio": "50.0%", - "Start Line": 145, - "End Line": 165 + "Function Name": "_tryLock", + "Structural Impact": 7.1, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 5, + "Input Parameters": 0, + "Control Flow Ratio": "83.3%", + "Start Line": 2516, + "End Line": 2537 }, { - "Function Name": "_finishEphemeralDH", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 29, + "Function Name": "execute", + "Structural Impact": 6.8, + "Lines of Code (LOC)": 16, "Control Flow Branches": 2, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "40.0%", - "Start Line": 1157, - "End Line": 1185 + "Start Line": 142, + "End Line": 157 }, { - "Function Name": "_newKeys", + "Function Name": "__del__", "Structural Impact": 6.6, "Lines of Code (LOC)": 19, "Control Flow Branches": 3, "Input Parameters": 1, "Control Flow Ratio": "75.0%", - "Start Line": 1232, - "End Line": 1250 + "Start Line": 370, + "End Line": 388 }, { - "Function Name": "_allowedKeyExchangeMessageType", + "Function Name": "cancel", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 1580, + "End Line": 1597 + }, + { + "Function Name": "__str__", "Structural Impact": 6.4, - "Lines of Code (LOC)": 25, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 1159, + "End Line": 1172 + }, + { + "Function Name": "unwindGenerator", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 14, "Control Flow Branches": 2, "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 597, - "End Line": 621 + "Control Flow Ratio": "50.0%", + "Start Line": 2112, + "End Line": 2125 }, { - "Function Name": "_getHostKeys", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 24, + "Function Name": "failed", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 7, "Control Flow Branches": 2, "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 1453, - "End Line": 1476 + "Control Flow Ratio": "66.7%", + "Start Line": 1709, + "End Line": 1715 }, { - "Function Name": "_continueKEXDH_REPLY", - "Structural Impact": 6.4, - "Lines of Code (LOC)": 30, + "Function Name": "addBoth", + "Structural Impact": 5.3, + "Lines of Code (LOC)": 16, "Control Flow Branches": 1, - "Input Parameters": 5, + "Input Parameters": 4, "Control Flow Ratio": "33.3%", - "Start Line": 1982, - "End Line": 2011 + "Start Line": 749, + "End Line": 764 }, { - "Function Name": "ssh_SERVICE_REQUEST", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 22, - "Control Flow Branches": 2, + "Function Name": "addCallback", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "33.3%", + "Start Line": 619, + "End Line": 632 + }, + { + "Function Name": "addErrback", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "33.3%", + "Start Line": 661, + "End Line": 674 + }, + { + "Function Name": "__init__", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 1, "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 1730, - "End Line": 1751 + "Start Line": 444, + "End Line": 474 }, { - "Function Name": "ssh_NEWKEYS", - "Structural Impact": 6.0, - "Lines of Code (LOC)": 17, + "Function Name": "acquire", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 16, "Control Flow Branches": 2, - "Input Parameters": 2, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2248, + "End Line": 2263 + }, + { + "Function Name": "acquire", + "Structural Impact": 5.0, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 2, + "Input Parameters": 1, "Control Flow Ratio": "40.0%", - "Start Line": 2091, - "End Line": 2107 + "Start Line": 2320, + "End Line": 2335 }, { - "Function Name": "sendExtInfo", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 14, + "Function Name": "_getDebugTracebacks", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 11, "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 1128, - "End Line": 1141 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 358, + "End Line": 368 }, { - "Function Name": "_getMAC", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 35, - "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 187, - "End Line": 221 + "Function Name": "convertCancelled", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 815, + "End Line": 823 }, { - "Function Name": "connectionLost", - "Structural Impact": 5.8, - "Lines of Code (LOC)": 13, + "Function Name": "unpause", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 9, "Control Flow Branches": 2, - "Input Parameters": 2, - "Control Flow Ratio": "66.7%", - "Start Line": 523, - "End Line": 535 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 936, + "End Line": 944 }, { - "Function Name": "verify", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 21, + "Function Name": "__init__", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 13, "Control Flow Branches": 1, - "Input Parameters": 4, + "Input Parameters": 3, "Control Flow Ratio": "25.0%", - "Start Line": 266, - "End Line": 286 + "Start Line": 2461, + "End Line": 2473 }, { - "Function Name": "_getSupportedCiphers", - "Structural Impact": 5.5, - "Lines of Code (LOC)": 31, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "50.0%", - "Start Line": 289, - "End Line": 319 + "Function Name": "_cancelledToTimedOutError", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 279, + "End Line": 296 }, { - "Function Name": "_getCipher", - "Structural Impact": 5.4, - "Lines of Code (LOC)": 19, + "Function Name": "__cmp__", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 12, "Control Flow Branches": 1, - "Input Parameters": 4, + "Input Parameters": 2, "Control Flow Ratio": "25.0%", - "Start Line": 167, - "End Line": 185 + "Start Line": 1400, + "End Line": 1411 }, { - "Function Name": "_ssh_KEXDH_REPLY", - "Structural Impact": 5.3, - "Lines of Code (LOC)": 37, + "Function Name": "__init__", + "Structural Impact": 4.0, + "Lines of Code (LOC)": 10, "Control Flow Branches": 1, "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 1919, - "End Line": 1955 + "Control Flow Ratio": "50.0%", + "Start Line": 2295, + "End Line": 2304 }, { - "Function Name": "receiveDebug", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 1, + "Function Name": "run", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 0, "Input Parameters": 4, - "Control Flow Ratio": "50.0%", - "Start Line": 1327, - "End Line": 1340 + "Control Flow Ratio": "0.0%", + "Start Line": 2167, + "End Line": 2195 }, { - "Function Name": "makeMAC", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 18, + "Function Name": "release", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "25.0%", - "Start Line": 247, - "End Line": 264 + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 2265, + "End Line": 2279 }, { - "Function Name": "ssh_KEX_DH_GEX_REPLY", - "Structural Impact": 4.9, - "Lines of Code (LOC)": 28, + "Function Name": "release", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 16, "Control Flow Branches": 1, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "33.3%", - "Start Line": 2013, - "End Line": 2040 + "Start Line": 2337, + "End Line": 2352 }, { - "Function Name": "sendDisconnect", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 17, + "Function Name": "uncancel", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 8, "Control Flow Branches": 1, - "Input Parameters": 3, - "Control Flow Ratio": "50.0%", - "Start Line": 1110, - "End Line": 1126 + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1269, + "End Line": 1276 }, { - "Function Name": "_keySetup", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 15, + "Function Name": "cancel", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 7, "Control Flow Branches": 1, - "Input Parameters": 3, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 1701, - "End Line": 1715 + "Start Line": 1668, + "End Line": 1674 }, { - "Function Name": "ssh_KEX_DH_GEX_REQUEST", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 25, + "Function Name": "cancelTimeout", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, "Control Flow Branches": 1, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "33.3%", - "Start Line": 1633, - "End Line": 1657 + "Start Line": 825, + "End Line": 829 }, { - "Function Name": "ssh_EXT_INFO", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 18, + "Function Name": "adapt", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 6, "Control Flow Branches": 1, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 1041, - "End Line": 1058 + "Start Line": 1253, + "End Line": 1258 }, { - "Function Name": "_keySetup", - "Structural Impact": 4.3, - "Lines of Code (LOC)": 7, + "Function Name": "gatherResults", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1611, + "End Line": 1637 + }, + { + "Function Name": "chainDeferred", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 839, + "End Line": 864 + }, + { + "Function Name": "checkCancel", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, "Control Flow Branches": 1, - "Input Parameters": 3, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 2083, - "End Line": 2089 + "Start Line": 1216, + "End Line": 1218 }, { - "Function Name": "setService", - "Structural Impact": 4.2, - "Lines of Code (LOC)": 14, + "Function Name": "maybeFail", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, "Control Flow Branches": 1, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "50.0%", - "Start Line": 1060, - "End Line": 1073 + "Start Line": 1220, + "End Line": 1222 }, { - "Function Name": "ssh_NEWKEYS", - "Structural Impact": 4.1, - "Lines of Code (LOC)": 12, + "Function Name": "maybeSucceed", + "Structural Impact": 3.0, + "Lines of Code (LOC)": 3, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "33.3%", - "Start Line": 1717, - "End Line": 1728 + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 1224, + "End Line": 1226 }, { - "Function Name": "_ssh_KEX_ECDH_INIT", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 56, + "Function Name": "callback", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 24, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1498, - "End Line": 1553 + "Start Line": 866, + "End Line": 889 }, { - "Function Name": "_ssh_KEXDH_INIT", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 40, + "Function Name": "_handleCancelInlineCallbacks", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 23, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1555, - "End Line": 1594 + "Start Line": 1992, + "End Line": 2014 }, { - "Function Name": "ssh_KEX_DH_GEX_INIT", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 41, + "Function Name": "addCallback", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1659, - "End Line": 1699 + "Start Line": 569, + "End Line": 578 }, { - "Function Name": "_getKey", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 19, + "Function Name": "addCallback", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, "Control Flow Branches": 0, "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1187, - "End Line": 1205 + "Start Line": 599, + "End Line": 608 }, { - "Function Name": "__init__", - "Structural Impact": 2.9, + "Function Name": "addBoth", + "Structural Impact": 2.7, "Lines of Code (LOC)": 10, "Control Flow Branches": 0, - "Input Parameters": 5, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 134, - "End Line": 143 + "Start Line": 686, + "End Line": 695 }, { - "Function Name": "receiveError", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 17, + "Function Name": "addBoth", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, - "Input Parameters": 3, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 1299, - "End Line": 1315 + "Start Line": 698, + "End Line": 706 }, { - "Function Name": "verifyHostKey", + "Function Name": "addBoth", "Structural Impact": 2.7, - "Lines of Code (LOC)": 14, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, - "Input Parameters": 3, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 709, + "End Line": 717 + }, + { + "Function Name": "addBoth", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 720, + "End Line": 729 + }, + { + "Function Name": "__aexit__", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2203, + "End Line": 2212 + }, + { + "Function Name": "addCallback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 560, + "End Line": 566 + }, + { + "Function Name": "addCallback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 581, + "End Line": 587 + }, + { + "Function Name": "addCallback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 590, + "End Line": 596 + }, + { + "Function Name": "addCallback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 611, + "End Line": 617 + }, + { + "Function Name": "addErrback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 635, + "End Line": 641 + }, + { + "Function Name": "addErrback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 644, + "End Line": 650 + }, + { + "Function Name": "addErrback", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 653, + "End Line": 659 + }, + { + "Function Name": "addBoth", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 677, + "End Line": 683 + }, + { + "Function Name": "addBoth", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 732, + "End Line": 738 + }, + { + "Function Name": "addBoth", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 741, + "End Line": 747 + }, + { + "Function Name": "_DeferredList", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1425, + "End Line": 1431 + }, + { + "Function Name": "_DeferredList", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1434, + "End Line": 1440 + }, + { + "Function Name": "_DeferredList", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1442, + "End Line": 1449 + }, + { + "Function Name": "run", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", "Start Line": 2142, - "End Line": 2155 + "End Line": 2149 }, { - "Function Name": "ssh_DISCONNECT", + "Function Name": "run", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2152, + "End Line": 2159 + }, + { + "Function Name": "succeed", "Structural Impact": 2.5, - "Lines of Code (LOC)": 16, + "Lines of Code (LOC)": 22, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 986, - "End Line": 1001 + "Start Line": 102, + "End Line": 123 }, { - "Function Name": "ssh_DEBUG", + "Function Name": "_cancellableInlineCallbacks", "Structural Impact": 2.5, - "Lines of Code (LOC)": 15, + "Lines of Code (LOC)": 21, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1025, - "End Line": 1039 + "Start Line": 2017, + "End Line": 2037 }, { - "Function Name": "encrypt", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, + "Function Name": "_addCancelCallbackToDeferred", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 223, - "End Line": 233 + "Start Line": 1976, + "End Line": 1989 }, { - "Function Name": "decrypt", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, + "Function Name": "run", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 4, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 2162, + "End Line": 2165 + }, + { + "Function Name": "_cancelAcquire", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 13, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 235, - "End Line": 245 + "Start Line": 2234, + "End Line": 2246 }, { - "Function Name": "_unsupportedVersionReceived", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, + "Function Name": "_cancelAcquire", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 13, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 724, - "End Line": 735 + "Start Line": 2306, + "End Line": 2318 }, { - "Function Name": "ssh_UNIMPLEMENTED", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 12, + "Function Name": "__init__", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 2380, + "End Line": 2386 + }, + { + "Function Name": "_cancelGet", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 13, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 1012, - "End Line": 1023 + "Start Line": 2388, + "End Line": 2400 }, { - "Function Name": "update", + "Function Name": "maybeDeferred", "Structural Impact": 2.3, - "Lines of Code (LOC)": 11, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 2170, - "End Line": 2180 + "Start Line": 168, + "End Line": 173 }, { - "Function Name": "sendIgnore", + "Function Name": "maybeDeferred", "Structural Impact": 2.2, - "Lines of Code (LOC)": 10, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 1091, - "End Line": 1100 + "Start Line": 161, + "End Line": 164 }, { - "Function Name": "receiveUnimplemented", + "Function Name": "maybeDeferred", "Structural Impact": 2.2, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 1317, - "End Line": 1325 + "Start Line": 177, + "End Line": 180 }, { - "Function Name": "requestService", + "Function Name": "__init__", "Structural Impact": 2.2, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 2130, - "End Line": 2138 + "Start Line": 1380, + "End Line": 1383 }, { - "Function Name": "_startEphemeralDH", + "Function Name": "fail", "Structural Impact": 2.1, - "Lines of Code (LOC)": 13, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1143, - "End Line": 1155 + "Start Line": 126, + "End Line": 139 }, { - "Function Name": "_mpFromBytes", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 12, + "Function Name": "returnValue", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 51, - "End Line": 62 + "Start Line": 1746, + "End Line": 1759 }, { - "Function Name": "kexAlg", + "Function Name": "logError", "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, + "Lines of Code (LOC)": 11, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 844, - "End Line": 848 + "Start Line": 89, + "End Line": 99 }, { - "Function Name": "connectionMade", + "Function Name": "__init_subclass__", "Structural Impact": 1.9, - "Lines of Code (LOC)": 9, + "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 537, - "End Line": 545 + "Start Line": 1333, + "End Line": 1336 }, { - "Function Name": "getPeer", + "Function Name": "__init__", "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 814, - "End Line": 823 + "Start Line": 1645, + "End Line": 1647 }, { - "Function Name": "getHost", + "Function Name": "_releaseAndReturn", "Structural Impact": 1.9, - "Lines of Code (LOC)": 10, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 825, - "End Line": 834 + "Start Line": 2137, + "End Line": 2139 }, { - "Function Name": "sendUnimplemented", + "Function Name": "setDebugging", "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Lines of Code (LOC)": 8, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1102, - "End Line": 1108 + "Start Line": 262, + "End Line": 269 }, { - "Function Name": "connectionMade", + "Function Name": "__str__", "Structural Impact": 1.8, "Lines of Code (LOC)": 7, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1797, - "End Line": 1803 + "Start Line": 1392, + "End Line": 1398 }, { - "Function Name": "encryptor", + "Function Name": "__init__", "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 2201, - "End Line": 2207 + "Start Line": 1738, + "End Line": 1739 }, { - "Function Name": "decryptor", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 7, + "Function Name": "pause", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2209, - "End Line": 2215 + "Start Line": 930, + "End Line": 934 }, { - "Function Name": "kexAlg", + "Function Name": "_continuation", "Structural Impact": 1.7, - "Lines of Code (LOC)": 5, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 837, - "End Line": 841 + "Start Line": 998, + "End Line": 1003 }, { - "Function Name": "loseConnection", + "Function Name": "__repr__", "Structural Impact": 1.7, "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1290, - "End Line": 1295 - }, + "Start Line": 1385, + "End Line": 1390 + }, { - "Function Name": "connectionSecure", + "Function Name": "execute", "Structural Impact": 1.7, "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 2157, - "End Line": 2162 + "Start Line": 2188, + "End Line": 2193 + }, + { + "Function Name": "__aenter__", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2197, + "End Line": 2201 + }, + { + "Function Name": "cancel", + "Structural Impact": 1.6, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1262, + "End Line": 1264 + }, + { + "Function Name": "timeout", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 250, + "End Line": 251 + }, + { + "Function Name": "passthru", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 254, + "End Line": 255 + }, + { + "Function Name": "_failthru", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 258, + "End Line": 259 + }, + { + "Function Name": "callbacks", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 477, + "End Line": 478 + }, + { + "Function Name": "__init__", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2134, + "End Line": 2135 + }, + { + "Function Name": "acquire", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2215, + "End Line": 2216 + }, + { + "Function Name": "release", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2219, + "End Line": 2220 + }, + { + "Function Name": "getDebugging", + "Structural Impact": 1.2, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 272, + "End Line": 276 + }, + { + "Function Name": "timeItOut", + "Structural Impact": 1.1, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 0, + "Control Flow Ratio": "0.0%", + "Start Line": 809, + "End Line": 811 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 144, - "Sequential Logic Declarations": 203, - "Function Parameters": 80, - "Function/Method Declarations": 77, - "Class/Entity Declarations": 8, - "Defensive Programming Constructs": 14, - "Type/Safety Bypasses": 10, + "Control Flow Branches": 156, + "Sequential Logic Declarations": 283, + "Function Parameters": 119, + "Function/Method Declarations": 116, + "Class/Entity Declarations": 21, + "Defensive Programming Constructs": 53, + "Type/Safety Bypasses": 78, "High-Risk Execution Commands": 0, "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 73, - "State Mutations / Variable Reassignments": 224, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 168, - "Unit Test Assertions": 1, - "Asynchronous/Concurrent Execution": 0, + "Exposed API / Public Exports": 93, + "State Mutations / Variable Reassignments": 146, + "Commented-out Code (Dead Logic)": 5, + "Structured Documentation Blocks": 154, + "Unit Test Assertions": 18, + "Asynchronous/Concurrent Execution": 1, "UI / View Layer Components": 0, "Closures and Anonymous Functions": 3, - "Global State Dependencies": 1, - "Decorators and Annotations": 2, - "Generic Type Abstractions": 21, - "Collection Iterators / Comprehensions": 8, + "Global State Dependencies": 0, + "Decorators and Annotations": 35, + "Generic Type Abstractions": 220, + "Collection Iterators / Comprehensions": 2, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 3, - "Module Dependencies (Imports)": 25, + "Metaprogramming & Reflection": 9, + "Module Dependencies (Imports)": 22, "Authorship Metadata": 0, - "Planned Work (TODOs)": 3, + "Planned Work (TODOs)": 0, "Acknowledged Tech Debt (FIXMEs)": 1, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, @@ -305340,17 +305874,17 @@ "Structured Telemetry & Logging": 0, "Ad-hoc Print / Debug Statements": 0, "Explicit Type Casts": 6, - "Fatal Aborts & Exceptions": 10, + "Fatal Aborts & Exceptions": 13, "Thread Sleeps & Blocking Waits": 0, "Bitwise Operations": 0, "Thread Synchronization Locks": 0, "Immutable Data Declarations": 0, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 178, - "Event Listeners & Subscribers": 0, + "Private / Encapsulated Scopes": 508, + "Event Listeners & Subscribers": 41, "Bypassed / Skipped Tests": 0, "Structural Tab Indentations": 0, - "Structural Space Indentations": 943, + "Structural Space Indentations": 1035, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -305365,31 +305899,31 @@ "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": 5, - "Core Var Decl": 246, - "Design Camel Case": 80, - "Design Snake Case": 118, - "Design Pascal Case": 3, - "Design Upper Case": 32, - "Design Short Vars": 26, - "Design Long Vars": 15, - "Duplicate Logic": 0, - "Orphaned Logic": 0, + "Lazy Evaluation & Generators (O(1) Memory)": 10, + "Vectorized Math & Tensor Operations": 15, + "Core Var Decl": 133, + "Design Camel Case": 30, + "Design Snake Case": 75, + "Design Pascal Case": 5, + "Design Upper Case": 2, + "Design Short Vars": 6, + "Design Long Vars": 6, + "Duplicate Logic": 2, + "Orphaned Logic": 14, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 3, + "High-Entropy / Obfuscated Logic": 0, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, + "Dynamic Code Execution (Eval/Exec)": 3, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 1, + "Commented-Out Executable Logic": 0, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 1, + "Embedded Credentials & Keys": 0, "Sec Extension Mismatch": 0, "Sec Entropy": 0, "Sec Tainted Injection": 0, @@ -305399,80 +305933,56 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 26, - "Direct Downstream (Dependency Blast Radius)": 2, + "Direct Upstream (Fragility)": 25, + "Direct Downstream (Dependency Blast Radius)": 1, "Total Upstream (Absolute Fragility)": 1, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ "__future__", - "binascii", - "cryptography.exceptions", - "cryptography.hazmat.backends", - "cryptography.hazmat.decrepit.ciphers.algorithms", - "cryptography.hazmat.primitives", - "cryptography.hazmat.primitives.asymmetric", - "cryptography.hazmat.primitives.ciphers", - "cryptography.hazmat.primitives.ciphers.algorithms", - "hashlib", - "hmac", - "is", - "struct", - "twisted", - "twisted.conch.ssh", - "twisted.conch.ssh.common", - "twisted.conch.ssh.factory", - "twisted.conch.ssh.service", + "abc", + "asyncio", + "attr", + "contextvars", + "enum", + "functools", + "incremental", + "inspect", + "sys", + "traceback", + "treq", "twisted.internet", + "twisted.internet.defer", + "twisted.internet.interfaces", + "twisted.internet.task", "twisted.logger", "twisted.python", "twisted.python.compat", + "twisted.python.deprecate", "twisted.python.failure", "types", "typing", - "zlib" + "typing_extensions", + "warnings" ] - } - } - }, - "objective-c/worldwideweb": { - "Directory Group Magnitude": 3255.8, - "File Count": 6, - "Ecosystem Fingerprint (Archetypes)": { - "Unclassified": "100.0%" - }, - "Average Risk Exposures": { - "Cognitive Load Exposure": "66.47%", - "Error & Exception Exposure": "76.31%", - "Tech Debt Exposure": "17.49%", - "Testing Exposure": "67.14%", - "API Exposure": "9.27%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "83.32%", - "Commented Logic Exposure": "3.45%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "60.18%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "Files": { - "objective-c/worldwideweb/HText.c": { + }, + "python/twisted/http.py": { "1. Artifact Identity": { - "Filename": "HText.c", - "Path": "objective-c/worldwideweb/HText.c", - "Language": "C", + "Filename": "http.py", + "Path": "python/twisted/http.py", + "Language": "Python", "Architect": "Unknown Architect", - "Indentation Style": "Mixed (78.1% Spaces / 21.9% Tabs)", + "Indentation Style": "Spaces", + "Parent Entity": "Exception, Interface, basic.LineReceiver", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", + "Folder Dominant Lang": "python", "Lock Tier": 1.5, - "Identity Proof": "Ecosystem Consensus Lock (100% Local Dominance)" + "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": -3009.19, - "Y": -139.19, - "Z": 4242.99 + "X": 6526.3, + "Y": -58.65, + "Z": -1276.9 }, "3. Architectural Profile": { "Repository Archetype": "Unclassified", @@ -305481,1355 +305991,1443 @@ "File Archetype": "Unclassified", "File Drift (Z-Score)": 0.0, "File Fingerprint": {}, - "Total LOC": 794, - "Coding LOC": 507, - "Documentation LOC": 154, - "Structural Magnitude": 890.44, - "Control Flow Ratio": "68.0%", - "Popularity Rank": 0, + "Total LOC": 3481, + "Coding LOC": 1513, + "Documentation LOC": 1339, + "Structural Magnitude": 1365.26, + "Control Flow Ratio": "44.2%", + "Popularity Rank": 9, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.375 + "Raw Cognitive Density": 0.677 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "92.4%", - "Error & Exception Exposure": "98.17%", - "Tech Debt Exposure": "0.0%", + "Cognitive Load Exposure": "21.4%", + "Error & Exception Exposure": "66.24%", + "Tech Debt Exposure": "11.53%", "Testing Exposure": "80.0%", - "API Exposure": "14.8%", + "API Exposure": "3.27%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "5.28%", + "State Flux Exposure": "99.84%", + "Commented Logic Exposure": "5.23%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "99.96%", + "Documentation Exposure": "11.92%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "Unknown_Block", - "Structural Impact": 60.2, - "Lines of Code (LOC)": 85, - "Control Flow Branches": 24, - "Input Parameters": 4, - "Control Flow Ratio": "77.4%", - "Start Line": 409, - "End Line": 493 + "Function Name": "addCookie", + "Structural Impact": 64.6, + "Lines of Code (LOC)": 115, + "Control Flow Branches": 16, + "Input Parameters": 11, + "Control Flow Ratio": "69.6%", + "Start Line": 1322, + "End Line": 1436 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 49.0, - "Lines of Code (LOC)": 86, - "Control Flow Branches": 19, - "Input Parameters": 4, - "Control Flow Ratio": "95.0%", - "Start Line": 262, - "End Line": 347 + "Function Name": "write", + "Structural Impact": 36.5, + "Lines of Code (LOC)": 72, + "Control Flow Branches": 18, + "Input Parameters": 2, + "Control Flow Ratio": "81.8%", + "Start Line": 1249, + "End Line": 1320 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 45.0, - "Lines of Code (LOC)": 51, - "Control Flow Branches": 18, + "Function Name": "lineReceived", + "Structural Impact": 32.7, + "Lines of Code (LOC)": 65, + "Control Flow Branches": 16, + "Input Parameters": 2, + "Control Flow Ratio": "72.7%", + "Start Line": 2361, + "End Line": 2425 + }, + { + "Function Name": "requestReceived", + "Structural Impact": 27.5, + "Lines of Code (LOC)": 59, + "Control Flow Branches": 10, "Input Parameters": 4, - "Control Flow Ratio": "94.7%", - "Start Line": 178, - "End Line": 228 + "Control Flow Ratio": "83.3%", + "Start Line": 1038, + "End Line": 1096 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 24.3, - "Lines of Code (LOC)": 38, + "Function Name": "_maybeChooseTransferDecoder", + "Structural Impact": 21.9, + "Lines of Code (LOC)": 37, "Control Flow Branches": 9, - "Input Parameters": 4, - "Control Flow Ratio": "81.8%", - "Start Line": 668, - "End Line": 705 + "Input Parameters": 3, + "Control Flow Ratio": "56.2%", + "Start Line": 2439, + "End Line": 2475 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 18.8, + "Function Name": "parse_qs", + "Structural Impact": 21.3, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 9, + "Input Parameters": 3, + "Control Flow Ratio": "75.0%", + "Start Line": 366, + "End Line": 391 + }, + { + "Function Name": "stringToDatetime", + "Structural Impact": 21.0, + "Lines of Code (LOC)": 53, + "Control Flow Branches": 12, + "Input Parameters": 1, + "Control Flow Ratio": "75.0%", + "Start Line": 455, + "End Line": 507 + }, + { + "Function Name": "_dataReceived_CHUNK_LENGTH", + "Structural Impact": 18.2, + "Lines of Code (LOC)": 52, + "Control Flow Branches": 10, + "Input Parameters": 1, + "Control Flow Ratio": "71.4%", + "Start Line": 1999, + "End Line": 2050 + }, + { + "Function Name": "checkPersistence", + "Structural Impact": 18.1, + "Lines of Code (LOC)": 42, + "Control Flow Branches": 7, + "Input Parameters": 3, + "Control Flow Ratio": "63.6%", + "Start Line": 2626, + "End Line": 2667 + }, + { + "Function Name": "lineReceived", + "Structural Impact": 17.6, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 8, + "Input Parameters": 2, + "Control Flow Ratio": "72.7%", + "Start Line": 728, + "End Line": 767 + }, + { + "Function Name": "timegm", + "Structural Impact": 14.1, "Lines of Code (LOC)": 18, + "Control Flow Branches": 4, + "Input Parameters": 6, + "Control Flow Ratio": "57.1%", + "Start Line": 435, + "End Line": 452 + }, + { + "Function Name": "writeHeaders", + "Structural Impact": 14.0, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 4, + "Input Parameters": 5, + "Control Flow Ratio": "80.0%", + "Start Line": 2743, + "End Line": 2777 + }, + { + "Function Name": "_parseRequestLine", + "Structural Impact": 13.8, + "Lines of Code (LOC)": 50, "Control Flow Branches": 7, - "Input Parameters": 4, - "Control Flow Ratio": "87.5%", - "Start Line": 353, - "End Line": 370 + "Input Parameters": 1, + "Control Flow Ratio": "77.8%", + "Start Line": 245, + "End Line": 294 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 12.2, - "Lines of Code (LOC)": 21, + "Function Name": "setETag", + "Structural Impact": 13.7, + "Lines of Code (LOC)": 32, + "Control Flow Branches": 6, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 1518, + "End Line": 1549 + }, + { + "Function Name": "setHost", + "Structural Impact": 12.8, + "Lines of Code (LOC)": 33, "Control Flow Branches": 4, "Input Parameters": 4, "Control Flow Ratio": "80.0%", - "Start Line": 500, - "End Line": 520 + "Start Line": 1591, + "End Line": 1623 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 10.0, - "Lines of Code (LOC)": 27, + "Function Name": "dataReceived", + "Structural Impact": 12.8, + "Lines of Code (LOC)": 48, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "62.5%", + "Start Line": 3242, + "End Line": 3289 + }, + { + "Function Name": "finish", + "Structural Impact": 12.7, + "Lines of Code (LOC)": 28, + "Control Flow Branches": 7, + "Input Parameters": 1, + "Control Flow Ratio": "77.8%", + "Start Line": 1220, + "End Line": 1247 + }, + { + "Function Name": "headerReceived", + "Structural Impact": 12.4, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "41.7%", + "Start Line": 2477, + "End Line": 2517 + }, + { + "Function Name": "setLastModified", + "Structural Impact": 12.2, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "55.6%", + "Start Line": 1481, + "End Line": 1516 + }, + { + "Function Name": "_dataReceived_TRAILER", + "Structural Impact": 12.1, + "Lines of Code (LOC)": 44, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2072, + "End Line": 2115 + }, + { + "Function Name": "combinedLogFormatter", + "Structural Impact": 11.9, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "71.4%", + "Start Line": 2995, + "End Line": 3025 + }, + { + "Function Name": "__init__", + "Structural Impact": 11.8, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 3, + "Input Parameters": 5, + "Control Flow Ratio": "50.0%", + "Start Line": 3350, + "End Line": 3389 + }, + { + "Function Name": "requestDone", + "Structural Impact": 11.6, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "71.4%", + "Start Line": 2669, + "End Line": 2693 + }, + { + "Function Name": "getRequestHostname", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 6, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 1564, + "End Line": 1579 + }, + { + "Function Name": "rawDataReceived", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 2570, + "End Line": 2609 + }, + { + "Function Name": "dataReceived", + "Structural Impact": 10.2, + "Lines of Code (LOC)": 31, "Control Flow Branches": 4, "Input Parameters": 2, "Control Flow Ratio": "80.0%", - "Start Line": 128, - "End Line": 154 + "Start Line": 1831, + "End Line": 1861 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 9.7, + "Function Name": "registerProducer", + "Structural Impact": 10.1, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 3, + "Input Parameters": 3, + "Control Flow Ratio": "75.0%", + "Start Line": 2828, + "End Line": 2868 + }, + { + "Function Name": "_cleanup", + "Structural Impact": 9.6, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "55.6%", + "Start Line": 958, + "End Line": 979 + }, + { + "Function Name": "parseCookies", + "Structural Impact": 9.5, "Lines of Code (LOC)": 20, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "62.5%", + "Start Line": 1009, + "End Line": 1028 + }, + { + "Function Name": "_escape", + "Structural Impact": 8.2, + "Lines of Code (LOC)": 22, "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "57.1%", + "Start Line": 2970, + "End Line": 2991 + }, + { + "Function Name": "_getMultiPartArgs", + "Structural Impact": 8.0, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 3, "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 314, + "End Line": 335 + }, + { + "Function Name": "stopFactory", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 4, + "Input Parameters": 1, "Control Flow Ratio": "80.0%", - "Start Line": 67, - "End Line": 86 + "Start Line": 3455, + "End Line": 3463 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 9.6, - "Lines of Code (LOC)": 13, + "Function Name": "rawDataReceived", + "Structural Impact": 7.4, + "Lines of Code (LOC)": 10, "Control Flow Branches": 3, - "Input Parameters": 4, + "Input Parameters": 2, + "Control Flow Ratio": "75.0%", + "Start Line": 809, + "End Line": 818 + }, + { + "Function Name": "fromChunk", + "Structural Impact": 6.7, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 3, + "Input Parameters": 1, "Control Flow Ratio": "60.0%", - "Start Line": 391, - "End Line": 403 + "Start Line": 521, + "End Line": 541 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 9.6, - "Lines of Code (LOC)": 13, + "Function Name": "setResponseCode", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "66.7%", + "Start Line": 1438, + "End Line": 1449 + }, + { + "Function Name": "_dataReceived_CRLF", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 19, "Control Flow Branches": 3, - "Input Parameters": 4, + "Input Parameters": 1, + "Control Flow Ratio": "42.9%", + "Start Line": 2052, + "End Line": 2070 + }, + { + "Function Name": "parseContentRange", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 544, + "End Line": 559 + }, + { + "Function Name": "_ensureBytes", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "42.9%", + "Start Line": 1380, + "End Line": 1396 + }, + { + "Function Name": "_authorize", + "Structural Impact": 6.5, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 3, + "Input Parameters": 1, "Control Flow Ratio": "60.0%", - "Start Line": 644, - "End Line": 656 + "Start Line": 1677, + "End Line": 1693 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 7.6, - "Lines of Code (LOC)": 13, + "Function Name": "allHeadersReceived", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 14, "Control Flow Branches": 3, - "Input Parameters": 2, + "Input Parameters": 1, + "Control Flow Ratio": "60.0%", + "Start Line": 2611, + "End Line": 2624 + }, + { + "Function Name": "__init__", + "Structural Impact": 6.2, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 1, + "Input Parameters": 4, "Control Flow Ratio": "50.0%", - "Start Line": 160, - "End Line": 172 + "Start Line": 923, + "End Line": 956 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 5.7, - "Lines of Code (LOC)": 10, + "Function Name": "startFactory", + "Structural Impact": 6.1, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "75.0%", + "Start Line": 3446, + "End Line": 3453 + }, + { + "Function Name": "pauseProducing", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 34, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 2897, + "End Line": 2930 + }, + { + "Function Name": "connectionLost", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 12, "Control Flow Branches": 2, "Input Parameters": 2, "Control Flow Ratio": "66.7%", - "Start Line": 523, - "End Line": 532 + "Start Line": 1727, + "End Line": 1738 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 4.8, + "Function Name": "dataReceived", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 2147, + "End Line": 2155 + }, + { + "Function Name": "connectionLost", + "Structural Impact": 5.6, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 2719, + "End Line": 2727 + }, + { + "Function Name": "urlparse", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 338, + "End Line": 363 + }, + { + "Function Name": "isSecure", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 1656, + "End Line": 1675 + }, + { + "Function Name": "datetimeToString", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 394, + "End Line": 411 + }, + { + "Function Name": "noMoreData", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 1863, + "End Line": 1880 + }, + { + "Function Name": "_dataReceived_BODY", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 2117, + "End Line": 2134 + }, + { + "Function Name": "resumeProducing", + "Structural Impact": 5.1, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "66.7%", + "Start Line": 2932, + "End Line": 2949 + }, + { + "Function Name": "getClientIP", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 1626, + "End Line": 1638 + }, + { + "Function Name": "unregisterProducer", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2870, + "End Line": 2883 + }, + { + "Function Name": "registerProducer", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 1124, + "End Line": 1136 + }, + { + "Function Name": "_getContentFile", + "Structural Impact": 4.6, "Lines of Code (LOC)": 7, + "Control Flow Branches": 2, + "Input Parameters": 1, + "Control Flow Ratio": "40.0%", + "Start Line": 837, + "End Line": 843 + }, + { + "Function Name": "__eq__", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 19, "Control Flow Branches": 1, - "Input Parameters": 4, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1747, + "End Line": 1765 + }, + { + "Function Name": "sendHeader", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 3, "Control Flow Ratio": "50.0%", - "Start Line": 535, - "End Line": 541 + "Start Line": 702, + "End Line": 708 }, { - "Function Name": "Unknown_Block", + "Function Name": "getHeader", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 1147, + "End Line": 1162 + }, + { + "Function Name": "extractHeader", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 713, + "End Line": 726 + }, + { + "Function Name": "allContentReceived", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 27, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 2519, + "End Line": 2545 + }, + { + "Function Name": "log", "Structural Impact": 4.0, "Lines of Code (LOC)": 10, "Control Flow Branches": 1, "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 544, - "End Line": 553 + "Start Line": 3471, + "End Line": 3480 }, { - "Function Name": "Unknown_Block", + "Function Name": "_set_logFile", "Structural Impact": 3.9, "Lines of Code (LOC)": 9, "Control Flow Branches": 1, "Input Parameters": 2, "Control Flow Ratio": "50.0%", - "Start Line": 658, - "End Line": 666 + "Start Line": 3410, + "End Line": 3418 }, { - "Function Name": "Unknown_Block", + "Function Name": "datetimeToLogString", "Structural Impact": 3.8, - "Lines of Code (LOC)": 6, + "Lines of Code (LOC)": 19, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 378, - "End Line": 383 + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 414, + "End Line": 432 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 3.8, - "Lines of Code (LOC)": 6, + "Function Name": "getUser", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 608, - "End Line": 613 + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1695, + "End Line": 1709 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 4, + "Function Name": "getPassword", + "Structural Impact": 3.6, + "Lines of Code (LOC)": 15, "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "50.0%", - "Start Line": 593, - "End Line": 596 + "Input Parameters": 1, + "Control Flow Ratio": "20.0%", + "Start Line": 1711, + "End Line": 1725 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 0, - "Input Parameters": 6, - "Control Flow Ratio": "0.0%", - "Start Line": 745, - "End Line": 750 + "Function Name": "isSecure", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "25.0%", + "Start Line": 2729, + "End Line": 2741 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, + "Function Name": "notifyFinish", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 42, "Control Flow Branches": 0, - "Input Parameters": 4, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 719, - "End Line": 722 + "Start Line": 1177, + "End Line": 1218 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 727, - "End Line": 730 + "Function Name": "getAllHeaders", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 1551, + "End Line": 1562 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 756, - "End Line": 759 + "Function Name": "stopProducing", + "Structural Impact": 3.4, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2885, + "End Line": 2895 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 4, - "Control Flow Ratio": "0.0%", - "Start Line": 765, - "End Line": 768 + "Function Name": "handleResponseEnd", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 772, + "End Line": 781 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 119, - "End Line": 123 + "Function Name": "noMoreData", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2157, + "End Line": 2166 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 236, - "End Line": 240 + "Function Name": "connectionMade", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2348, + "End Line": 2355 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 559, - "End Line": 562 + "Function Name": "timeoutConnection", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 8, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 2695, + "End Line": 2702 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, + "Function Name": "loseConnection", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "50.0%", + "Start Line": 1740, + "End Line": 1745 + }, + { + "Function Name": "_get_logFile", + "Structural Impact": 3.0, "Lines of Code (LOC)": 4, + "Control Flow Branches": 1, + "Input Parameters": 1, + "Control Flow Ratio": "33.3%", + "Start Line": 3404, + "End Line": 3407 + }, + { + "Function Name": "_protocolUpgradeForWebsockets", + "Structural Impact": 2.8, + "Lines of Code (LOC)": 22, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 588, - "End Line": 591 + "Start Line": 2547, + "End Line": 2568 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "setHeader", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 598, - "End Line": 601 + "Start Line": 1451, + "End Line": 1464 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "__init__", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 12, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 603, - "End Line": 606 + "Start Line": 1986, + "End Line": 1997 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "buildProtocol", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 16, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 617, - "End Line": 620 + "Start Line": 3429, + "End Line": 3444 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "redirect", + "Structural Impact": 2.4, + "Lines of Code (LOC)": 14, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 622, - "End Line": 625 + "Start Line": 1466, + "End Line": 1479 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, + "Function Name": "__init__", + "Structural Impact": 2.4, "Lines of Code (LOC)": 4, "Control Flow Branches": 0, - "Input Parameters": 2, + "Input Parameters": 4, "Control Flow Ratio": "0.0%", - "Start Line": 627, - "End Line": 630 + "Start Line": 1826, + "End Line": 1829 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 3, + "Function Name": "gotLength", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 632, - "End Line": 634 + "Start Line": 997, + "End Line": 1007 }, { - "Function Name": "Unknown_Block", - "Structural Impact": 1.9, - "Lines of Code (LOC)": 4, + "Function Name": "getCookie", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, "Control Flow Branches": 0, "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 773, - "End Line": 776 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 117, - "Sequential Logic Declarations": 55, - "Function Parameters": 44, - "Function/Method Declarations": 34, - "Class/Entity Declarations": 0, - "Defensive Programming Constructs": 2, - "Type/Safety Bypasses": 15, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 0, - "Exposed API / Public Exports": 139, - "State Mutations / Variable Reassignments": 422, - "Commented-out Code (Dead Logic)": 1, - "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": 28, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 1, - "Module Dependencies (Imports)": 5, - "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": 8, - "Pointer Arithmetic & Addressing": 246, - "Manual Memory Allocation": 5, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 10, - "Explicit Type Casts": 1, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 0, - "Resource Deallocation & Cleanup": 3, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 66, - "Structural Space Indentations": 236, - "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": 58, - "Design Camel Case": 0, - "Design Snake Case": 52, - "Design Pascal Case": 6, - "Design Upper Case": 0, - "Design Short Vars": 8, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 0, - "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)": 1, - "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)": 5, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "HTString.h", - "HTUtils.h", - "HText.h", - "HyperText.h", - "ctype.h" - ] - }, - "objective-c/worldwideweb/Anchor.m": { - "1. Artifact Identity": { - "Filename": "Anchor.m", - "Path": "objective-c/worldwideweb/Anchor.m", - "Language": "Objective-C", - "Architect": "Unknown Architect", - "Indentation Style": "Mixed (71.6% Spaces / 28.4% Tabs)", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Shebang)" - }, - "2. Topological Coordinates": { - "X": -2424.44, - "Y": 1.94, - "Z": 4266.83 - }, - "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": 364, - "Coding LOC": 220, - "Documentation LOC": 85, - "Structural Magnitude": 234.4, - "Control Flow Ratio": "97.3%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.105 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "80.51%", - "Error & Exception Exposure": "88.11%", - "Tech Debt Exposure": "0.0%", - "Testing Exposure": "80.0%", - "API Exposure": "8.13%", - "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": "35.03%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "selectDiagnostic", - "Structural Impact": 22.3, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 14, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 277, - "End Line": 297 - }, - { - "Function Name": "newParent", - "Structural Impact": 13.3, - "Lines of Code (LOC)": 23, - "Control Flow Branches": 6, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 84, - "End Line": 106 + "Start Line": 1164, + "End Line": 1175 }, { - "Function Name": "equivalent", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 5, + "Function Name": "requestFactory", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 69, - "End Line": 75 - }, - { - "Function Name": "moveBy", - "Structural Impact": 10.7, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 6, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 172, - "End Line": 188 - }, - { - "Function Name": "free", - "Structural Impact": 6.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 214, - "End Line": 222 - }, - { - "Function Name": "isLastChild", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 200, - "End Line": 208 - }, - { - "Function Name": "setAddress", - "Structural Impact": 4.5, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 313, - "End Line": 318 - }, - { - "Function Name": "unlink", - "Structural Impact": 3.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 234, - "End Line": 242 + "Control Flow Ratio": "0.0%", + "Start Line": 3165, + "End Line": 3176 }, { - "Function Name": "delete", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 254, - "End Line": 259 + "Function Name": "site", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3188, + "End Line": 3199 }, { - "Function Name": "node", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 356, - "End Line": 359 + "Function Name": "timeOut", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3209, + "End Line": 3220 }, { - "Function Name": "setManager", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, + "Function Name": "__repr__", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 34, - "End Line": 38 + "Control Flow Ratio": "0.0%", + "Start Line": 1098, + "End Line": 1112 }, { - "Function Name": "new", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 47, - "End Line": 57 + "Function Name": "getClientAddress", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1640, + "End Line": 1654 }, { - "Function Name": "initialize", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 26, - "End Line": 32 + "Function Name": "write", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2779, + "End Line": 2788 }, { - "Function Name": "back", + "Function Name": "writeSequence", "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 162, - "End Line": 165 + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2790, + "End Line": 2799 }, { - "Function Name": "unload", + "Function Name": "getClientAddress", "Structural Impact": 2.2, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 246, - "End Line": 250 + "Lines of Code (LOC)": 15, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 3050, + "End Line": 3064 }, { - "Function Name": "select", + "Function Name": "proxiedLogFormatter", "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 306, - "End Line": 309 + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3093, + "End Line": 3101 }, { - "Function Name": "address", + "Function Name": "callLater", "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 322, - "End Line": 325 + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3231, + "End Line": 3240 }, { - "Function Name": "next", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 190, - "End Line": 190 + "Function Name": "sendCommand", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 699, + "End Line": 700 }, { - "Function Name": "previous", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 191, - "End Line": 191 + "Function Name": "handleContentChunk", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1030, + "End Line": 1036 }, { - "Function Name": "sources", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 226, - "End Line": 226 + "Function Name": "forceAbortClient", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2704, + "End Line": 2717 }, { - "Function Name": "parent", + "Function Name": "noLongerQueued", "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 230, - "End Line": 230 + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 984, + "End Line": 995 }, { - "Function Name": "destination", + "Function Name": "_openLogFile", "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 361, - "End Line": 361 + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3465, + "End Line": 3469 }, { - "Function Name": "setNode", - "Structural Impact": 1.6, - "Lines of Code (LOC)": 4, + "Function Name": "_parseContentType", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 263, - "End Line": 266 + "Start Line": 297, + "End Line": 305 }, { - "Function Name": "newAddress", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "toChunk", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 117, - "End Line": 117 + "Start Line": 510, + "End Line": 518 }, { - "Function Name": "linkTo", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "_sanitize", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 331, - "End Line": 331 + "Start Line": 1398, + "End Line": 1406 }, { - "Function Name": "follow", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "getHost", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 341, - "End Line": 341 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 73, - "Sequential Logic Declarations": 2, - "Function Parameters": 51, - "Function/Method Declarations": 26, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 7, - "Type/Safety Bypasses": 1, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 2, - "Exposed API / Public Exports": 10, - "State Mutations / Variable Reassignments": 105, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 2, - "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)": 9, - "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": 1, - "Pointer Arithmetic & Addressing": 24, - "Manual Memory Allocation": 8, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 11, - "Explicit Type Casts": 23, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 3, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 6, - "Resource Deallocation & Cleanup": 8, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 31, - "Structural Space Indentations": 78, - "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": 25, - "Design Camel Case": 3, - "Design Snake Case": 17, - "Design Pascal Case": 5, - "Design Upper Case": 0, - "Design Short Vars": 4, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 0, - "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)": 9, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "Anchor.h", - "HTParse.h", - "HTUtils.h", - "HyperManager.h", - "HyperText.h", - "appkit/appkit.h", - "ctype.h", - "objc/Object.h", - "objc/typedstream.h" - ] - }, - "objective-c/worldwideweb/HyperManager.m": { - "1. Artifact Identity": { - "Filename": "HyperManager.m", - "Path": "objective-c/worldwideweb/HyperManager.m", - "Language": "Objective-C", - "Architect": "Unknown Architect", - "Indentation Style": "Mixed (78.4% Spaces / 21.6% Tabs)", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Shebang)" - }, - "2. Topological Coordinates": { - "X": -2726.32, - "Y": 29.74, - "Z": 3713.99 - }, - "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": 441, - "Coding LOC": 254, - "Documentation LOC": 102, - "Structural Magnitude": 364.18, - "Control Flow Ratio": "97.7%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.1 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "80.24%", - "Error & Exception Exposure": "93.64%", - "Tech Debt Exposure": "30.43%", - "Testing Exposure": "80.0%", - "API Exposure": "10.29%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "10.12%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "69.84%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "loadAnchor", - "Structural Impact": 41.6, - "Lines of Code (LOC)": 70, - "Control Flow Branches": 21, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 77, - "End Line": 146 + "Start Line": 1581, + "End Line": 1589 }, { - "Function Name": "searchDiagnostic", - "Structural Impact": 16.6, - "Lines of Code (LOC)": 21, - "Control Flow Branches": 10, + "Function Name": "_dataReceived_FINISHED", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 167, - "End Line": 187 + "Control Flow Ratio": "0.0%", + "Start Line": 2136, + "End Line": 2145 }, { - "Function Name": "closeOthers", - "Structural Impact": 12.5, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 356, - "End Line": 379 + "Function Name": "dataReceived", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2357, + "End Line": 2359 }, { - "Function Name": "saveAll", - "Structural Impact": 10.9, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 6, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 330, - "End Line": 349 + "Function Name": "_finishRequestBody", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2427, + "End Line": 2429 }, { - "Function Name": "registerAccess", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 4, + "Function Name": "loseConnection", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 54, - "End Line": 62 + "Control Flow Ratio": "0.0%", + "Start Line": 2817, + "End Line": 2826 }, { - "Function Name": "windowDidBecomeKey", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 9, - "Control Flow Branches": 4, + "Function Name": "_respondToBadRequestAndDisconnect", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 431, - "End Line": 439 + "Control Flow Ratio": "0.0%", + "Start Line": 2958, + "End Line": 2967 }, { - "Function Name": "hyperTextDidBecomeMain", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 411, - "End Line": 423 + "Function Name": "factory", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 3, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3151, + "End Line": 3153 }, { - "Function Name": "appDidInit", - "Structural Impact": 4.8, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 239, - "End Line": 249 + "Function Name": "writeSequence", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 666, + "End Line": 667 }, { - "Function Name": "save", - "Structural Impact": 4.6, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 319, - "End Line": 325 + "Function Name": "__getattr__", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 669, + "End Line": 670 }, { - "Function Name": "goHome", - "Structural Impact": 4.4, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 209, - "End Line": 212 + "Function Name": "connectionLost", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 769, + "End Line": 770 }, { - "Function Name": "appOpenFile", - "Structural Impact": 3.8, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, + "Function Name": "handleResponsePart", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 260, - "End Line": 266 + "Control Flow Ratio": "0.0%", + "Start Line": 783, + "End Line": 784 }, { - "Function Name": "appOpenTempFile", - "Structural Impact": 3.8, + "Function Name": "process", + "Structural Impact": 1.8, "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 272, - "End Line": 278 + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1114, + "End Line": 1120 }, { - "Function Name": "accessName", - "Structural Impact": 3.7, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 155, - "End Line": 159 + "Function Name": "__hash__", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1767, + "End Line": 1773 }, { - "Function Name": "runPagelayout", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, + "Function Name": "_failChooseTransferDecoder", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 391, - "End Line": 396 + "Control Flow Ratio": "0.0%", + "Start Line": 2431, + "End Line": 2437 }, { - "Function Name": "help", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "getPeer", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 218, - "End Line": 221 + "Control Flow Ratio": "0.0%", + "Start Line": 2801, + "End Line": 2807 }, { - "Function Name": "goToBlank", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "getHost", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 227, - "End Line": 230 + "Control Flow Ratio": "0.0%", + "Start Line": 2809, + "End Line": 2815 }, { - "Function Name": "appAcceptsAnotherFile", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 253, - "End Line": 256 + "Function Name": "__init__", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 3040, + "End Line": 3041 }, { - "Function Name": "search", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "requestFactory", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 284, - "End Line": 287 + "Control Flow Ratio": "0.0%", + "Start Line": 3156, + "End Line": 3162 }, { - "Function Name": "searchRTF", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "site", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 289, - "End Line": 292 + "Control Flow Ratio": "0.0%", + "Start Line": 3179, + "End Line": 3185 }, { - "Function Name": "searchSGML", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "_genericHTTPChannelProtocolFactory", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 294, - "End Line": 297 + "Control Flow Ratio": "0.0%", + "Start Line": 3292, + "End Line": 3298 }, { - "Function Name": "open", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "unregisterProducer", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 301, - "End Line": 304 + "Control Flow Ratio": "0.0%", + "Start Line": 1138, + "End Line": 1143 }, { - "Function Name": "openRTF", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "__init__", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 306, - "End Line": 309 + "Control Flow Ratio": "0.0%", + "Start Line": 2341, + "End Line": 2346 }, { - "Function Name": "openSGML", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "_send100Continue", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 311, - "End Line": 314 + "Control Flow Ratio": "0.0%", + "Start Line": 2951, + "End Line": 2956 }, { - "Function Name": "print", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "clientproto", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 384, - "End Line": 387 + "Control Flow Ratio": "0.0%", + "Start Line": 3068, + "End Line": 3073 }, { - "Function Name": "traceOn", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "code", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 41, - "End Line": 41 + "Control Flow Ratio": "0.0%", + "Start Line": 3076, + "End Line": 3081 }, { - "Function Name": "traceOff", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "sentLength", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 42, - "End Line": 42 + "Control Flow Ratio": "0.0%", + "Start Line": 3084, + "End Line": 3089 }, { - "Function Name": "back", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "factory", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 198, - "End Line": 198 + "Control Flow Ratio": "0.0%", + "Start Line": 3144, + "End Line": 3148 }, { - "Function Name": "next", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "timeOut", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 199, - "End Line": 199 + "Control Flow Ratio": "0.0%", + "Start Line": 3202, + "End Line": 3206 }, { - "Function Name": "previous", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "callLater", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 200, - "End Line": 200 + "Control Flow Ratio": "0.0%", + "Start Line": 3223, + "End Line": 3228 }, { - "Function Name": "new", - "Structural Impact": 2.3, + "Function Name": "_updateLogDateTime", + "Structural Impact": 1.7, "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 34, - "End Line": 39 + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 3422, + "End Line": 3427 }, { - "Function Name": "name", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 47, - "End Line": 50 + "Function Name": "__init__", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 663, + "End Line": 664 }, { - "Function Name": "manager", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 44, - "End Line": 44 + "Function Name": "endHeaders", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 710, + "End Line": 711 }, { - "Function Name": "setManager", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 45, - "End Line": 45 + "Function Name": "connectionMade", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 786, + "End Line": 787 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 84, - "Sequential Logic Declarations": 2, - "Function Parameters": 73, - "Function/Method Declarations": 34, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 7, - "Type/Safety Bypasses": 4, + "Control Flow Branches": 295, + "Sequential Logic Declarations": 372, + "Function Parameters": 156, + "Function/Method Declarations": 153, + "Class/Entity Declarations": 17, + "Defensive Programming Constructs": 52, + "Type/Safety Bypasses": 28, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 8, - "Exposed API / Public Exports": 22, - "State Mutations / Variable Reassignments": 153, + "I/O and Network Boundaries": 13, + "Exposed API / Public Exports": 148, + "State Mutations / Variable Reassignments": 329, "Commented-out Code (Dead Logic)": 4, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, + "Structured Documentation Blocks": 292, + "Unit Test Assertions": 3, "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 12, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 5, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 3, + "Global State Dependencies": 0, + "Decorators and Annotations": 23, + "Generic Type Abstractions": 44, + "Collection Iterators / Comprehensions": 9, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 6, + "Metaprogramming & Reflection": 14, + "Module Dependencies (Imports)": 35, "Authorship Metadata": 0, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 2, + "Planned Work (TODOs)": 4, + "Acknowledged Tech Debt (FIXMEs)": 3, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, - "Preprocessor Macros": 1, - "Pointer Arithmetic & Addressing": 7, - "Manual Memory Allocation": 5, + "Preprocessor Macros": 0, + "Pointer Arithmetic & Addressing": 0, + "Manual Memory Allocation": 0, "Inline Assembly Blocks": 0, "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 8, - "Explicit Type Casts": 17, - "Fatal Aborts & Exceptions": 0, + "Ad-hoc Print / Debug Statements": 0, + "Explicit Type Casts": 14, + "Fatal Aborts & Exceptions": 33, "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 0, + "Bitwise Operations": 3, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 8, - "Resource Deallocation & Cleanup": 5, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, + "Immutable Data Declarations": 0, + "Resource Deallocation & Cleanup": 4, + "Private / Encapsulated Scopes": 408, + "Event Listeners & Subscribers": 1, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 27, - "Structural Space Indentations": 98, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 1410, "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, + "Regex Execution": 1, + "Time Date Logic": 4, "Cloud LLM API Integrations": 0, "AI Orchestration Frameworks": 0, "Vector Databases (RAG)": 0, @@ -306837,26 +307435,26 @@ "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": 32, - "Design Camel Case": 3, - "Design Snake Case": 20, - "Design Pascal Case": 0, - "Design Upper Case": 6, - "Design Short Vars": 14, - "Design Long Vars": 0, + "Vectorized Math & Tensor Operations": 22, + "Core Var Decl": 292, + "Design Camel Case": 55, + "Design Snake Case": 199, + "Design Pascal Case": 13, + "Design Upper Case": 5, + "Design Short Vars": 20, + "Design Long Vars": 1, "Duplicate Logic": 0, "Orphaned Logic": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, + "High-Entropy / Obfuscated Logic": 129, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, - "Dynamic Code Execution (Eval/Exec)": 0, + "Dynamic Code Execution (Eval/Exec)": 2, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 0, + "Commented-Out Executable Logic": 8, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, @@ -306870,520 +307468,439 @@ "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)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 + "Direct Upstream (Fragility)": 34, + "Direct Downstream (Dependency Blast Radius)": 9, + "Total Upstream (Absolute Fragility)": 2, + "Total Downstream (Absolute Dependency Blast Radius)": 2 }, "9. Extracted Dependencies": [ - "HTAccess.h", - "HTParse.h", - "HTUtils.h", - "HyperManager.h", - "HyperText.h", - "WWWPageLayout.h" + "__future__", + "base64", + "binascii", + "calendar", + "collections", + "email", + "email.message", + "incremental", + "io", + "math", + "os", + "re", + "tempfile", + "time", + "twisted.internet", + "twisted.internet._producer_helpers", + "twisted.internet.defer", + "twisted.internet.interfaces", + "twisted.logger", + "twisted.protocols", + "twisted.python", + "twisted.python.compat", + "twisted.python.components", + "twisted.python.deprecate", + "twisted.python.failure", + "twisted.web._abnf", + "twisted.web._http2", + "twisted.web._responses", + "twisted.web.http_headers", + "twisted.web.iweb", + "typing", + "urllib.parse", + "warnings", + "zope.interface" ] }, - "objective-c/worldwideweb/HyperText.h": { + "python/twisted/reflect.py": { "1. Artifact Identity": { - "Filename": "HyperText.h", - "Path": "objective-c/worldwideweb/HyperText.h", - "Language": "Objective-C", + "Filename": "reflect.py", + "Path": "python/twisted/reflect.py", + "Language": "Python", "Architect": "Unknown Architect", - "Indentation Style": "Tabs", + "Indentation Style": "Spaces", + "Parent Entity": "Exception, ValueError, InvalidName", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 0, - "Identity Proof": "Sibling Anchor (.m)" + "Folder Dominant Lang": "python", + "Lock Tier": 1.5, + "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": -3318.16, - "Y": -36.27, - "Z": 3844.86 + "X": 6805.67, + "Y": -135.8, + "Z": -842.37 }, "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": 95, - "Coding LOC": 62, - "Documentation LOC": 10, - "Structural Magnitude": 91.44, - "Control Flow Ratio": "0.0%", - "Popularity Rank": 4, + "Total LOC": 687, + "Coding LOC": 295, + "Documentation LOC": 249, + "Structural Magnitude": 264.9, + "Control Flow Ratio": "40.6%", + "Popularity Rank": 2, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.0 + "Raw Cognitive Density": 0.762 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "0.0%", - "Error & Exception Exposure": "0.0%", - "Tech Debt Exposure": "0.0%", + "Cognitive Load Exposure": "25.62%", + "Error & Exception Exposure": "41.9%", + "Tech Debt Exposure": "13.92%", "Testing Exposure": "80.0%", - "API Exposure": "15.82%", + "API Exposure": "3.52%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "0.0%", - "Commented Logic Exposure": "0.0%", + "State Flux Exposure": "47.24%", + "Commented Logic Exposure": "5.37%", "Specification Exposure": "100.0%", "Instability Exposure": "50.0%", "Volatility Exposure": "0.0%", - "Documentation Exposure": "100.0%", + "Documentation Exposure": "22.29%", "Hardcoded Payload Artifacts": "0.0%" }, "5. Function Analysis": [ { - "Function Name": "readSGML", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 34, - "End Line": 34 - }, - { - "Function Name": "writeSGML", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 35, - "End Line": 35 - }, - { - "Function Name": "replaceSel", - "Structural Impact": 1.8, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 2, - "Control Flow Ratio": "0.0%", - "Start Line": 53, - "End Line": 53 - }, - { - "Function Name": "newAnchor", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 32, - "End Line": 32 - }, - { - "Function Name": "readText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 37, - "End Line": 37 - }, - { - "Function Name": "setFormat", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 44, - "End Line": 44 + "Function Name": "objgrep", + "Structural Impact": 62.9, + "Lines of Code (LOC)": 117, + "Control Flow Branches": 18, + "Input Parameters": 8, + "Control Flow Ratio": "66.7%", + "Start Line": 534, + "End Line": 650 }, { - "Function Name": "applyToSimilar", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", + "Function Name": "addMethodNamesToDict", + "Structural Impact": 19.9, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 7, + "Input Parameters": 4, + "Control Flow Ratio": "77.8%", "Start Line": 48, - "End Line": 48 - }, - { - "Function Name": "applyStyle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 49, - "End Line": 49 + "End Line": 87 }, { - "Function Name": "selectUnstyled", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 50, - "End Line": 50 + "Function Name": "accumulateMethods", + "Structural Impact": 19.9, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 7, + "Input Parameters": 4, + "Control Flow Ratio": "77.8%", + "Start Line": 109, + "End Line": 149 }, { - "Function Name": "updateStyle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "namedAny", + "Structural Impact": 17.2, + "Lines of Code (LOC)": 62, + "Control Flow Branches": 9, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 51, - "End Line": 51 + "Control Flow Ratio": "81.8%", + "Start Line": 249, + "End Line": 310 }, { - "Function Name": "selectionStyle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "filenameToModuleName", + "Structural Impact": 11.7, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 6, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 52, - "End Line": 52 + "Control Flow Ratio": "66.7%", + "Start Line": 313, + "End Line": 348 }, { - "Function Name": "appendStyle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 58, - "End Line": 58 + "Function Name": "accumulateClassDict", + "Structural Impact": 10.7, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 3, + "Input Parameters": 4, + "Control Flow Ratio": "75.0%", + "Start Line": 465, + "End Line": 499 }, { - "Function Name": "appendText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 59, - "End Line": 59 + "Function Name": "accumulateClassList", + "Structural Impact": 9.4, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 3, + "Input Parameters": 4, + "Control Flow Ratio": "75.0%", + "Start Line": 502, + "End Line": 511 }, { - "Function Name": "appendCharacter", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "_importAndCheckStack", + "Structural Impact": 7.0, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 3, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 60, - "End Line": 60 + "Control Flow Ratio": "60.0%", + "Start Line": 221, + "End Line": 246 }, { - "Function Name": "appendBeginAnchor", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "safe_str", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 3, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 61, - "End Line": 61 + "Control Flow Ratio": "37.5%", + "Start Line": 418, + "End Line": 435 }, { - "Function Name": "linkSelTo", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "_determineClassName", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 2, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 75, - "End Line": 75 + "Control Flow Ratio": "33.3%", + "Start Line": 365, + "End Line": 373 }, { - "Function Name": "disconnectAnchor", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 76, - "End Line": 76 + "Function Name": "_safeFormat", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 376, + "End Line": 400 }, { - "Function Name": "selectAnchor", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 77, - "End Line": 77 + "Function Name": "requireModule", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "25.0%", + "Start Line": 176, + "End Line": 192 }, { - "Function Name": "setTitle", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "safe_repr", + "Structural Impact": 3.5, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 79, - "End Line": 79 + "Control Flow Ratio": "25.0%", + "Start Line": 403, + "End Line": 415 }, { - "Function Name": "dump", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "namedModule", + "Structural Impact": 3.3, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 80, - "End Line": 80 + "Control Flow Ratio": "33.3%", + "Start Line": 152, + "End Line": 161 }, { - "Function Name": "readText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "_determineClass", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 84, - "End Line": 84 + "Control Flow Ratio": "20.0%", + "Start Line": 358, + "End Line": 362 }, { - "Function Name": "readRichText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, + "Function Name": "fullFuncName", + "Structural Impact": 3.1, + "Lines of Code (LOC)": 5, + "Control Flow Branches": 1, "Input Parameters": 1, - "Control Flow Ratio": "0.0%", - "Start Line": 85, - "End Line": 85 + "Control Flow Ratio": "25.0%", + "Start Line": 451, + "End Line": 455 }, { - "Function Name": "mouseDown", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "prefixedMethodNames", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 18, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 86, - "End Line": 86 + "Start Line": 28, + "End Line": 45 }, { - "Function Name": "keyDown", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "prefixedMethods", + "Structural Impact": 2.6, + "Lines of Code (LOC)": 17, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 87, - "End Line": 87 + "Start Line": 90, + "End Line": 106 }, { - "Function Name": "paste", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "__init__", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 3, "Control Flow Branches": 0, - "Input Parameters": 1, + "Input Parameters": 3, "Control Flow Ratio": "0.0%", - "Start Line": 88, - "End Line": 88 + "Start Line": 443, + "End Line": 445 }, { - "Function Name": "windowDidBecomeMain", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "namedObject", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 92, - "End Line": 92 - }, - { - "Function Name": "Accmgr", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 38, - "End Line": 38 - }, - { - "Function Name": "isIndex", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 39, - "End Line": 39 - }, - { - "Function Name": "setupWindow", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 40, - "End Line": 40 - }, - { - "Function Name": "adjustWindow", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 41, - "End Line": 41 - }, - { - "Function Name": "format", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 0, - "Input Parameters": 0, - "Control Flow Ratio": "0.0%", - "Start Line": 43, - "End Line": 43 + "Start Line": 164, + "End Line": 170 }, { - "Function Name": "appendBegin", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "__call__", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 57, - "End Line": 57 + "Start Line": 447, + "End Line": 448 }, { - "Function Name": "appendEndAnchor", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "isSame", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 62, - "End Line": 62 + "Start Line": 514, + "End Line": 515 }, { - "Function Name": "appendEnd", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "isLike", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 63, - "End Line": 63 + "Start Line": 518, + "End Line": 519 }, { - "Function Name": "nodeAnchor", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "isOfType", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 70, - "End Line": 70 + "Start Line": 526, + "End Line": 527 }, { - "Function Name": "followLink", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "findInstances", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 2, "Control Flow Ratio": "0.0%", - "Start Line": 71, - "End Line": 71 + "Start Line": 530, + "End Line": 531 }, { - "Function Name": "unlinkSelection", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "qual", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 72, - "End Line": 72 + "Start Line": 351, + "End Line": 355 }, { - "Function Name": "referenceSelected", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "getClass", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 5, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 73, - "End Line": 73 + "Start Line": 458, + "End Line": 462 }, { - "Function Name": "referenceAll", - "Structural Impact": 1.1, - "Lines of Code (LOC)": 1, + "Function Name": "modgrep", + "Structural Impact": 1.5, + "Lines of Code (LOC)": 2, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 74, - "End Line": 74 + "Start Line": 522, + "End Line": 523 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 0, - "Sequential Logic Declarations": 2, + "Control Flow Branches": 67, + "Sequential Logic Declarations": 98, "Function Parameters": 28, - "Function/Method Declarations": 40, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 0, - "Type/Safety Bypasses": 0, + "Function/Method Declarations": 28, + "Class/Entity Declarations": 5, + "Defensive Programming Constructs": 30, + "Type/Safety Bypasses": 12, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 7, - "Exposed API / Public Exports": 36, - "State Mutations / Variable Reassignments": 0, - "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, + "I/O and Network Boundaries": 11, + "Exposed API / Public Exports": 28, + "State Mutations / Variable Reassignments": 16, + "Commented-out Code (Dead Logic)": 1, + "Structured Documentation Blocks": 48, "Unit Test Assertions": 0, "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 3, + "UI / View Layer Components": 0, "Closures and Anonymous Functions": 0, - "Global State Dependencies": 2, + "Global State Dependencies": 0, "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, + "Generic Type Abstractions": 7, "Collection Iterators / Comprehensions": 0, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 4, + "Metaprogramming & Reflection": 13, + "Module Dependencies (Imports)": 14, "Authorship Metadata": 0, "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, + "Acknowledged Tech Debt (FIXMEs)": 1, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, "Event Publishers / Emitters": 0, "Dependency Injection Constructs": 0, - "Preprocessor Macros": 7, + "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": 29, - "Fatal Aborts & Exceptions": 0, + "Ad-hoc Print / Debug Statements": 1, + "Explicit Type Casts": 6, + "Fatal Aborts & Exceptions": 7, "Thread Sleeps & Blocking Waits": 0, "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 3, + "Immutable Data Declarations": 0, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, + "Private / Encapsulated Scopes": 54, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 6, - "Structural Space Indentations": 0, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 246, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, "Ipc Rpc Bridges": 0, "Feature Flags": 0, "Serialization Parsing": 0, - "Regex Execution": 0, + "Regex Execution": 1, "Time Date Logic": 0, "Cloud LLM API Integrations": 0, "AI Orchestration Frameworks": 0, @@ -307393,12 +307910,12 @@ "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, + "Core Var Decl": 52, + "Design Camel Case": 26, + "Design Snake Case": 25, + "Design Pascal Case": 1, "Design Upper Case": 0, - "Design Short Vars": 0, + "Design Short Vars": 5, "Design Long Vars": 0, "Duplicate Logic": 0, "Orphaned Logic": 0, @@ -307425,831 +307942,892 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 4, - "Direct Downstream (Dependency Blast Radius)": 4, - "Total Upstream (Absolute Fragility)": 0, - "Total Downstream (Absolute Dependency Blast Radius)": 4 + "Direct Upstream (Fragility)": 14, + "Direct Downstream (Dependency Blast Radius)": 2, + "Total Upstream (Absolute Fragility)": 3, + "Total Downstream (Absolute Dependency Blast Radius)": 2 }, "9. Extracted Dependencies": [ - "Anchor.h", - "HTStyle.h", - "appkit/Text.h", - "objc/List.h" + "__future__", + "a", + "collections", + "io", + "os", + "path", + "pickle", + "re", + "sys", + "traceback", + "twisted.python.compat", + "twisted.python.deprecate", + "types", + "weakref" ] }, - "objective-c/worldwideweb/HyperText.m": { + "python/twisted/transport.py": { "1. Artifact Identity": { - "Filename": "HyperText.m", - "Path": "objective-c/worldwideweb/HyperText.m", - "Language": "Objective-C", - "Architect": "Tim Berners-Lee", - "Indentation Style": "Mixed (75.2% Spaces / 24.8% Tabs)", + "Filename": "transport.py", + "Path": "python/twisted/transport.py", + "Language": "Python", + "Architect": "Unknown Architect", + "Indentation Style": "Spaces", + "Parent Entity": "Tuple[_DigestMod, bytes, bytes, int], protocol.Protocol, SSHTransportBase", "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 0, - "Identity Proof": "Sibling Anchor (.h)" + "Folder Dominant Lang": "python", + "Lock Tier": 1.5, + "Identity Proof": "Ecosystem Consensus Lock (75% Local Dominance)" }, "2. Topological Coordinates": { - "X": -2791.6, - "Y": -16.03, - "Z": 3856.01 + "X": 6536.9, + "Y": -69.44, + "Z": -1814.3 }, "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": 1614, - "Coding LOC": 1039, - "Documentation LOC": 290, - "Structural Magnitude": 1624.78, - "Control Flow Ratio": "99.3%", - "Popularity Rank": 0, + "Total LOC": 2264, + "Coding LOC": 1015, + "Documentation LOC": 886, + "Structural Magnitude": 775.6, + "Control Flow Ratio": "41.5%", + "Popularity Rank": 2, "Raw Churn Frequency": 0.0, "Authorship Centralization": 0.0, "Ownership Entropy": 0.0, - "Raw Cognitive Density": 1.038 + "Raw Cognitive Density": 0.6 }, "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "75.97%", - "Error & Exception Exposure": "99.19%", - "Tech Debt Exposure": "74.52%", + "Cognitive Load Exposure": "17.72%", + "Error & Exception Exposure": "69.28%", + "Tech Debt Exposure": "10.38%", "Testing Exposure": "80.0%", - "API Exposure": "1.88%", + "API Exposure": "3.24%", "Concurrency Exposure": "0.0%", - "State Flux Exposure": "100.0%", - "Commented Logic Exposure": "5.27%", + "State Flux Exposure": "99.86%", + "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%" + "Hardcoded Payload Artifacts": "24.56%" }, "5. Function Analysis": [ { - "Function Name": "applyStyle", - "Structural Impact": 70.8, - "Lines of Code (LOC)": 137, - "Control Flow Branches": 31, + "Function Name": "ssh_KEXINIT", + "Structural Impact": 28.6, + "Lines of Code (LOC)": 121, + "Control Flow Branches": 12, + "Input Parameters": 2, + "Control Flow Ratio": "75.0%", + "Start Line": 864, + "End Line": 984 + }, + { + "Function Name": "getPacket", + "Structural Impact": 20.0, + "Lines of Code (LOC)": 61, + "Control Flow Branches": 11, + "Input Parameters": 1, + "Control Flow Ratio": "52.4%", + "Start Line": 662, + "End Line": 722 + }, + { + "Function Name": "dataReceived", + "Structural Impact": 16.1, + "Lines of Code (LOC)": 44, + "Control Flow Branches": 7, + "Input Parameters": 2, + "Control Flow Ratio": "63.6%", + "Start Line": 737, + "End Line": 780 + }, + { + "Function Name": "dispatchMessage", + "Structural Impact": 15.6, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 6, "Input Parameters": 3, - "Control Flow Ratio": "100.0%", - "Start Line": 813, - "End Line": 949 + "Control Flow Ratio": "85.7%", + "Start Line": 782, + "End Line": 812 }, { - "Function Name": "willChange", - "Structural Impact": 28.6, + "Function Name": "_generateECSharedSecret", + "Structural Impact": 13.8, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 5, + "Input Parameters": 3, + "Control Flow Ratio": "71.4%", + "Start Line": 1394, + "End Line": 1428 + }, + { + "Function Name": "isEncrypted", + "Structural Impact": 13.0, "Lines of Code (LOC)": 18, - "Control Flow Branches": 15, + "Control Flow Branches": 6, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 640, - "End Line": 657 + "Control Flow Ratio": "60.0%", + "Start Line": 1252, + "End Line": 1269 }, { - "Function Name": "adjustWindow", - "Structural Impact": 20.5, - "Lines of Code (LOC)": 110, - "Control Flow Branches": 14, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 194, - "End Line": 303 + "Function Name": "isVerified", + "Structural Impact": 13.0, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 6, + "Input Parameters": 2, + "Control Flow Ratio": "60.0%", + "Start Line": 1271, + "End Line": 1288 + }, + { + "Function Name": "sendPacket", + "Structural Impact": 11.9, + "Lines of Code (LOC)": 38, + "Control Flow Branches": 4, + "Input Parameters": 3, + "Control Flow Ratio": "66.7%", + "Start Line": 623, + "End Line": 660 + }, + { + "Function Name": "ssh_KEXINIT", + "Structural Impact": 11.3, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 5, + "Input Parameters": 2, + "Control Flow Ratio": "71.4%", + "Start Line": 1478, + "End Line": 1496 + }, + { + "Function Name": "ssh_KEXINIT", + "Structural Impact": 11.0, + "Lines of Code (LOC)": 46, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 1805, + "End Line": 1850 + }, + { + "Function Name": "ssh_KEX_DH_GEX_REQUEST_OLD", + "Structural Impact": 10.5, + "Lines of Code (LOC)": 36, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1596, + "End Line": 1631 + }, + { + "Function Name": "_ssh_KEX_ECDH_REPLY", + "Structural Impact": 10.2, + "Lines of Code (LOC)": 66, + "Control Flow Branches": 3, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1852, + "End Line": 1917 + }, + { + "Function Name": "_encodeECPublicKey", + "Structural Impact": 10.0, + "Lines of Code (LOC)": 26, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "57.1%", + "Start Line": 1367, + "End Line": 1392 + }, + { + "Function Name": "_generateECPrivateKey", + "Structural Impact": 9.7, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 5, + "Input Parameters": 1, + "Control Flow Ratio": "62.5%", + "Start Line": 1342, + "End Line": 1365 + }, + { + "Function Name": "ssh_SERVICE_ACCEPT", + "Structural Impact": 9.7, + "Lines of Code (LOC)": 20, + "Control Flow Branches": 4, + "Input Parameters": 2, + "Control Flow Ratio": "80.0%", + "Start Line": 2109, + "End Line": 2128 + }, + { + "Function Name": "sendKexInit", + "Structural Impact": 9.5, + "Lines of Code (LOC)": 49, + "Control Flow Branches": 4, + "Input Parameters": 1, + "Control Flow Ratio": "80.0%", + "Start Line": 547, + "End Line": 595 + }, + { + "Function Name": "ssh_KEX_DH_GEX_GROUP", + "Structural Impact": 8.1, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 3, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1957, + "End Line": 1980 + }, + { + "Function Name": "_continue_KEX_ECDH_REPLY", + "Structural Impact": 7.8, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 2, + "Input Parameters": 4, + "Control Flow Ratio": "66.7%", + "Start Line": 1875, + "End Line": 1896 + }, + { + "Function Name": "sendDebug", + "Structural Impact": 7.5, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 2, + "Input Parameters": 4, + "Control Flow Ratio": "66.7%", + "Start Line": 1075, + "End Line": 1089 + }, + { + "Function Name": "_keySetup", + "Structural Impact": 7.2, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 2, + "Input Parameters": 3, + "Control Flow Ratio": "66.7%", + "Start Line": 1207, + "End Line": 1230 + }, + { + "Function Name": "_continueGEX_REPLY", + "Structural Impact": 6.9, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 1, + "Input Parameters": 5, + "Control Flow Ratio": "33.3%", + "Start Line": 2042, + "End Line": 2081 + }, + { + "Function Name": "setKeys", + "Structural Impact": 6.7, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 1, + "Input Parameters": 7, + "Control Flow Ratio": "50.0%", + "Start Line": 145, + "End Line": 165 + }, + { + "Function Name": "_finishEphemeralDH", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 29, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 1157, + "End Line": 1185 + }, + { + "Function Name": "_newKeys", + "Structural Impact": 6.6, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 3, + "Input Parameters": 1, + "Control Flow Ratio": "75.0%", + "Start Line": 1232, + "End Line": 1250 + }, + { + "Function Name": "_allowedKeyExchangeMessageType", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 597, + "End Line": 621 + }, + { + "Function Name": "_getHostKeys", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 24, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1453, + "End Line": 1476 + }, + { + "Function Name": "_continueKEXDH_REPLY", + "Structural Impact": 6.4, + "Lines of Code (LOC)": 30, + "Control Flow Branches": 1, + "Input Parameters": 5, + "Control Flow Ratio": "33.3%", + "Start Line": 1982, + "End Line": 2011 + }, + { + "Function Name": "ssh_SERVICE_REQUEST", + "Structural Impact": 6.3, + "Lines of Code (LOC)": 22, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1730, + "End Line": 1751 + }, + { + "Function Name": "ssh_NEWKEYS", + "Structural Impact": 6.0, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "40.0%", + "Start Line": 2091, + "End Line": 2107 + }, + { + "Function Name": "sendExtInfo", + "Structural Impact": 5.9, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 1128, + "End Line": 1141 + }, + { + "Function Name": "_getMAC", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 35, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 187, + "End Line": 221 + }, + { + "Function Name": "connectionLost", + "Structural Impact": 5.8, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 2, + "Input Parameters": 2, + "Control Flow Ratio": "66.7%", + "Start Line": 523, + "End Line": 535 }, { - "Function Name": "endOfParagraph", - "Structural Impact": 20.0, - "Lines of Code (LOC)": 32, - "Control Flow Branches": 12, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 730, - "End Line": 761 + "Function Name": "verify", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 21, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "25.0%", + "Start Line": 266, + "End Line": 286 }, { - "Function Name": "appendStyle", - "Structural Impact": 17.1, - "Lines of Code (LOC)": 30, - "Control Flow Branches": 10, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1255, - "End Line": 1284 + "Function Name": "_getSupportedCiphers", + "Structural Impact": 5.5, + "Lines of Code (LOC)": 31, + "Control Flow Branches": 3, + "Input Parameters": 0, + "Control Flow Ratio": "50.0%", + "Start Line": 289, + "End Line": 319 }, { - "Function Name": "apply", - "Structural Impact": 17.0, - "Lines of Code (LOC)": 29, - "Control Flow Branches": 8, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 606, - "End Line": 634 + "Function Name": "_getCipher", + "Structural Impact": 5.4, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "25.0%", + "Start Line": 167, + "End Line": 185 }, { - "Function Name": "followLink", - "Structural Impact": 16.9, - "Lines of Code (LOC)": 39, - "Control Flow Branches": 14, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 533, - "End Line": 571 + "Function Name": "_ssh_KEXDH_REPLY", + "Structural Impact": 5.3, + "Lines of Code (LOC)": 37, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1919, + "End Line": 1955 }, { - "Function Name": "linkSelTo", - "Structural Impact": 16.8, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 10, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 442, - "End Line": 466 + "Function Name": "receiveDebug", + "Structural Impact": 5.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 4, + "Control Flow Ratio": "50.0%", + "Start Line": 1327, + "End Line": 1340 }, { - "Function Name": "applyStyle", - "Structural Impact": 16.8, - "Lines of Code (LOC)": 24, - "Control Flow Branches": 10, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 958, - "End Line": 981 + "Function Name": "makeMAC", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "25.0%", + "Start Line": 247, + "End Line": 264 }, { - "Function Name": "run_match", - "Structural Impact": 16.1, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 8, + "Function Name": "ssh_KEX_DH_GEX_REPLY", + "Structural Impact": 4.9, + "Lines of Code (LOC)": 28, + "Control Flow Branches": 1, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 767, - "End Line": 777 + "Control Flow Ratio": "33.3%", + "Start Line": 2013, + "End Line": 2040 }, { - "Function Name": "startOfParagraph", - "Structural Impact": 15.0, + "Function Name": "sendDisconnect", + "Structural Impact": 4.8, "Lines of Code (LOC)": 17, - "Control Flow Branches": 9, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 702, - "End Line": 718 + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 1110, + "End Line": 1126 }, { - "Function Name": "applyToSimilar", - "Structural Impact": 14.1, - "Lines of Code (LOC)": 27, - "Control Flow Branches": 8, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 988, - "End Line": 1014 + "Function Name": "_keySetup", + "Structural Impact": 4.8, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 1701, + "End Line": 1715 }, { - "Function Name": "dump", - "Structural Impact": 14.0, - "Lines of Code (LOC)": 53, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 128, - "End Line": 180 + "Function Name": "ssh_KEX_DH_GEX_REQUEST", + "Structural Impact": 4.7, + "Lines of Code (LOC)": 25, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1633, + "End Line": 1657 }, { - "Function Name": "windowWillClose", - "Structural Impact": 13.2, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 8, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1099, - "End Line": 1108 + "Function Name": "ssh_EXT_INFO", + "Structural Impact": 4.4, + "Lines of Code (LOC)": 18, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1041, + "End Line": 1058 }, { - "Function Name": "selectAnchor", - "Structural Impact": 12.3, - "Lines of Code (LOC)": 20, - "Control Flow Branches": 7, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 503, - "End Line": 522 + "Function Name": "_keySetup", + "Structural Impact": 4.3, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 1, + "Input Parameters": 3, + "Control Flow Ratio": "50.0%", + "Start Line": 2083, + "End Line": 2089 }, { - "Function Name": "keyDown", - "Structural Impact": 12.1, - "Lines of Code (LOC)": 44, - "Control Flow Branches": 6, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1426, - "End Line": 1469 + "Function Name": "setService", + "Structural Impact": 4.2, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "50.0%", + "Start Line": 1060, + "End Line": 1073 }, { - "Function Name": "mergeRun", - "Structural Impact": 9.1, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 785, - "End Line": 797 + "Function Name": "ssh_NEWKEYS", + "Structural Impact": 4.1, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 1, + "Input Parameters": 2, + "Control Flow Ratio": "33.3%", + "Start Line": 1717, + "End Line": 1728 }, { - "Function Name": "referenceSelected", - "Structural Impact": 8.9, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 419, - "End Line": 437 + "Function Name": "_ssh_KEX_ECDH_INIT", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 56, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1498, + "End Line": 1553 }, { - "Function Name": "anchorSelected", - "Structural Impact": 8.8, - "Lines of Code (LOC)": 17, - "Control Flow Branches": 7, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 394, - "End Line": 410 + "Function Name": "_ssh_KEXDH_INIT", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 40, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1555, + "End Line": 1594 }, { - "Function Name": "mouseDown", - "Structural Impact": 8.8, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 5, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1407, - "End Line": 1412 + "Function Name": "ssh_KEX_DH_GEX_INIT", + "Structural Impact": 3.7, + "Lines of Code (LOC)": 41, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1659, + "End Line": 1699 }, { - "Function Name": "appendEnd", - "Structural Impact": 8.7, - "Lines of Code (LOC)": 34, - "Control Flow Branches": 6, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 1305, - "End Line": 1338 + "Function Name": "_getKey", + "Structural Impact": 3.2, + "Lines of Code (LOC)": 19, + "Control Flow Branches": 0, + "Input Parameters": 4, + "Control Flow Ratio": "0.0%", + "Start Line": 1187, + "End Line": 1205 }, { - "Function Name": "selectUnstyled", - "Structural Impact": 7.7, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 4, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 589, - "End Line": 601 + "Function Name": "__init__", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 5, + "Control Flow Ratio": "0.0%", + "Start Line": 134, + "End Line": 143 }, { - "Function Name": "appendBegin", - "Structural Impact": 7.7, - "Lines of Code (LOC)": 34, - "Control Flow Branches": 5, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 1217, - "End Line": 1250 + "Function Name": "receiveError", + "Structural Impact": 2.9, + "Lines of Code (LOC)": 17, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 1299, + "End Line": 1315 }, { - "Function Name": "setupWindow", - "Structural Impact": 7.5, - "Lines of Code (LOC)": 55, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 309, - "End Line": 363 + "Function Name": "verifyHostKey", + "Structural Impact": 2.7, + "Lines of Code (LOC)": 14, + "Control Flow Branches": 0, + "Input Parameters": 3, + "Control Flow Ratio": "0.0%", + "Start Line": 2142, + "End Line": 2155 }, { - "Function Name": "newAnchor", - "Structural Impact": 6.6, - "Lines of Code (LOC)": 18, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 83, - "End Line": 100 + "Function Name": "ssh_DISCONNECT", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 16, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 986, + "End Line": 1001 }, { - "Function Name": "updateStyle", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 663, - "End Line": 675 + "Function Name": "ssh_DEBUG", + "Structural Impact": 2.5, + "Lines of Code (LOC)": 15, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1025, + "End Line": 1039 }, { - "Function Name": "disconnectAnchor", - "Structural Impact": 6.3, - "Lines of Code (LOC)": 13, - "Control Flow Branches": 3, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 682, - "End Line": 694 + "Function Name": "encrypt", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 223, + "End Line": 233 }, { - "Function Name": "replaceSel", - "Structural Impact": 5.9, - "Lines of Code (LOC)": 14, - "Control Flow Branches": 2, + "Function Name": "decrypt", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 1037, - "End Line": 1050 + "Control Flow Ratio": "0.0%", + "Start Line": 235, + "End Line": 245 }, { - "Function Name": "unlinkSelection", - "Structural Impact": 5.6, + "Function Name": "_unsupportedVersionReceived", + "Structural Impact": 2.3, "Lines of Code (LOC)": 12, - "Control Flow Branches": 4, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 476, - "End Line": 487 + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 724, + "End Line": 735 }, { - "Function Name": "appendStartBlock", - "Structural Impact": 5.2, - "Lines of Code (LOC)": 25, - "Control Flow Branches": 3, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 1189, - "End Line": 1213 + "Function Name": "ssh_UNIMPLEMENTED", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1012, + "End Line": 1023 }, { - "Function Name": "selectionStyle", - "Structural Impact": 4.7, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 2, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1019, - "End Line": 1028 + "Function Name": "update", + "Structural Impact": 2.3, + "Lines of Code (LOC)": 11, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2170, + "End Line": 2180 }, { - "Function Name": "readText", - "Structural Impact": 3.8, - "Lines of Code (LOC)": 19, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1059, - "End Line": 1077 + "Function Name": "sendIgnore", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1091, + "End Line": 1100 }, { - "Function Name": "initialize", - "Structural Impact": 3.3, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 2, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 50, - "End Line": 55 + "Function Name": "receiveUnimplemented", + "Structural Impact": 2.2, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 1317, + "End Line": 1325 }, { - "Function Name": "appendBeginAnchor", - "Structural Impact": 3.3, + "Function Name": "requestService", + "Structural Impact": 2.2, "Lines of Code (LOC)": 9, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1375, - "End Line": 1383 + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 2130, + "End Line": 2138 }, { - "Function Name": "readRichText", - "Structural Impact": 3.2, - "Lines of Code (LOC)": 7, - "Control Flow Branches": 1, + "Function Name": "_startEphemeralDH", + "Structural Impact": 2.1, + "Lines of Code (LOC)": 13, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1086, - "End Line": 1092 + "Control Flow Ratio": "0.0%", + "Start Line": 1143, + "End Line": 1155 }, { - "Function Name": "appendCharacter", - "Structural Impact": 3.1, - "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, + "Function Name": "_mpFromBytes", + "Structural Impact": 2.0, + "Lines of Code (LOC)": 12, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1361, - "End Line": 1365 + "Control Flow Ratio": "0.0%", + "Start Line": 51, + "End Line": 62 }, { - "Function Name": "appendText", - "Structural Impact": 3.1, + "Function Name": "kexAlg", + "Structural Impact": 2.0, "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1367, - "End Line": 1371 + "Control Flow Branches": 0, + "Input Parameters": 2, + "Control Flow Ratio": "0.0%", + "Start Line": 844, + "End Line": 848 }, { - "Function Name": "setTitle", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "connectionMade", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 9, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 573, - "End Line": 576 + "Control Flow Ratio": "0.0%", + "Start Line": 537, + "End Line": 545 }, { - "Function Name": "windowDidBecomeMain", - "Structural Impact": 3.0, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, + "Function Name": "getPeer", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 1112, - "End Line": 1115 + "Control Flow Ratio": "0.0%", + "Start Line": 814, + "End Line": 823 }, { - "Function Name": "setFormat", - "Structural Impact": 2.9, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, + "Function Name": "getHost", + "Structural Impact": 1.9, + "Lines of Code (LOC)": 10, + "Control Flow Branches": 0, "Input Parameters": 1, - "Control Flow Ratio": "100.0%", - "Start Line": 119, - "End Line": 119 + "Control Flow Ratio": "0.0%", + "Start Line": 825, + "End Line": 834 }, { - "Function Name": "page_width", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 11, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 62, - "End Line": 72 + "Function Name": "sendUnimplemented", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1102, + "End Line": 1108 }, { - "Function Name": "anchor", - "Structural Impact": 2.5, - "Lines of Code (LOC)": 10, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 379, - "End Line": 388 + "Function Name": "connectionMade", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 1797, + "End Line": 1803 }, { - "Function Name": "appendEndAnchor", - "Structural Impact": 2.4, - "Lines of Code (LOC)": 8, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 1386, - "End Line": 1393 + "Function Name": "encryptor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2201, + "End Line": 2207 }, { - "Function Name": "free", - "Structural Impact": 2.3, - "Lines of Code (LOC)": 6, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 108, - "End Line": 113 + "Function Name": "decryptor", + "Structural Impact": 1.8, + "Lines of Code (LOC)": 7, + "Control Flow Branches": 0, + "Input Parameters": 1, + "Control Flow Ratio": "0.0%", + "Start Line": 2209, + "End Line": 2215 }, { - "Function Name": "referenceAll", - "Structural Impact": 2.2, + "Function Name": "kexAlg", + "Structural Impact": 1.7, "Lines of Code (LOC)": 5, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 490, - "End Line": 494 - }, - { - "Function Name": "format", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 118, - "End Line": 118 - }, - { - "Function Name": "nodeAnchor", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 368, - "End Line": 368 - }, - { - "Function Name": "isIndex", - "Structural Impact": 2.0, - "Lines of Code (LOC)": 1, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 369, - "End Line": 369 - }, - { - "Function Name": "loadPlainText", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 11, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1342, - "End Line": 1352 + "Start Line": 837, + "End Line": 841 }, { - "Function Name": "paste", - "Structural Impact": 1.5, - "Lines of Code (LOC)": 1, + "Function Name": "loseConnection", + "Structural Impact": 1.7, + "Lines of Code (LOC)": 6, "Control Flow Branches": 0, "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1568, - "End Line": 1568 + "Start Line": 1290, + "End Line": 1295 }, { - "Function Name": "start_input", - "Structural Impact": 1.3, + "Function Name": "connectionSecure", + "Structural Impact": 1.7, "Lines of Code (LOC)": 6, "Control Flow Branches": 0, - "Input Parameters": 0, + "Input Parameters": 1, "Control Flow Ratio": "0.0%", - "Start Line": 1140, - "End Line": 1145 - } - ], - "6. Contextual Mitigations & Amplifications": "None Detected", - "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 294, - "Sequential Logic Declarations": 2, - "Function Parameters": 195, - "Function/Method Declarations": 51, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 15, - "Type/Safety Bypasses": 7, - "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 14, - "Exposed API / Public Exports": 1, - "State Mutations / Variable Reassignments": 1123, - "Commented-out Code (Dead Logic)": 2, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, - "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 20, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 2, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 3, - "Collection Iterators / Comprehensions": 0, - "Scientific & Mathematical Operations": 13, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 11, - "Authorship Metadata": 1, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 1, - "Specification Traceability Tags": 0, - "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, - "Dependency Injection Constructs": 0, - "Preprocessor Macros": 25, - "Pointer Arithmetic & Addressing": 342, - "Manual Memory Allocation": 3, - "Inline Assembly Blocks": 0, - "Structured Telemetry & Logging": 0, - "Ad-hoc Print / Debug Statements": 51, - "Explicit Type Casts": 91, - "Fatal Aborts & Exceptions": 0, - "Thread Sleeps & Blocking Waits": 0, - "Bitwise Operations": 29, - "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 4, - "Resource Deallocation & Cleanup": 9, - "Private / Encapsulated Scopes": 0, - "Event Listeners & Subscribers": 0, - "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 164, - "Structural Space Indentations": 496, - "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": 160, - "Design Camel Case": 30, - "Design Snake Case": 125, - "Design Pascal Case": 0, - "Design Upper Case": 1, - "Design Short Vars": 29, - "Design Long Vars": 0, - "Duplicate Logic": 0, - "Orphaned Logic": 22, - "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)": 11, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 1, - "Total Downstream (Absolute Dependency Blast Radius)": 0 - }, - "9. Extracted Dependencies": [ - "../../../Implementation/HTAnchor.h", - "../../../Implementation/HTML.h", - "HTAnchor.h", - "HTML.h", - "HTParse.h", - "HTStyle.h", - "HTUtils.h", - "HyperAccess.h", - "HyperText.h", - "WWW.h", - "appkit/appkit.h" - ] - }, - "objective-c/worldwideweb/TcpAccess.m": { - "1. Artifact Identity": { - "Filename": "TcpAccess.m", - "Path": "objective-c/worldwideweb/TcpAccess.m", - "Language": "Objective-C", - "Architect": "Unknown Architect", - "Indentation Style": "Mixed (83.9% Spaces / 16.1% Tabs)", - "Doc Umbrella": 0.0, - "Folder Dominant Lang": "objective-c", - "Lock Tier": 2, - "Identity Proof": "Single Indicator (Shebang)" - }, - "2. Topological Coordinates": { - "X": -2315.42, - "Y": 61.12, - "Z": 3862.43 - }, - "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": 109, - "Coding LOC": 48, - "Documentation LOC": 30, - "Structural Magnitude": 50.56, - "Control Flow Ratio": "88.2%", - "Popularity Rank": 0, - "Raw Churn Frequency": 0.0, - "Authorship Centralization": 0.0, - "Ownership Entropy": 0.0, - "Raw Cognitive Density": 0.958 - }, - "4. Vulnerability & Risk Exposures": { - "Cognitive Load Exposure": "69.71%", - "Error & Exception Exposure": "78.76%", - "Tech Debt Exposure": "0.0%", - "Testing Exposure": "2.82%", - "API Exposure": "4.67%", - "Concurrency Exposure": "0.0%", - "State Flux Exposure": "99.94%", - "Commented Logic Exposure": "0.0%", - "Specification Exposure": "100.0%", - "Instability Exposure": "50.0%", - "Volatility Exposure": "0.0%", - "Documentation Exposure": "44.36%", - "Hardcoded Payload Artifacts": "0.0%" - }, - "5. Function Analysis": [ - { - "Function Name": "loadAnchor", - "Structural Impact": 16.3, - "Lines of Code (LOC)": 15, - "Control Flow Branches": 8, - "Input Parameters": 2, - "Control Flow Ratio": "100.0%", - "Start Line": 92, - "End Line": 106 - }, - { - "Function Name": "accessName", - "Structural Impact": 16.1, - "Lines of Code (LOC)": 43, - "Control Flow Branches": 6, - "Input Parameters": 3, - "Control Flow Ratio": "100.0%", - "Start Line": 35, - "End Line": 77 - }, - { - "Function Name": "name", - "Structural Impact": 2.2, - "Lines of Code (LOC)": 4, - "Control Flow Branches": 1, - "Input Parameters": 0, - "Control Flow Ratio": "100.0%", - "Start Line": 27, - "End Line": 30 + "Start Line": 2157, + "End Line": 2162 } ], "6. Contextual Mitigations & Amplifications": "None Detected", "7. Structural Signatures (Net Mitigated Signals)": { - "Control Flow Branches": 15, - "Sequential Logic Declarations": 2, - "Function Parameters": 13, - "Function/Method Declarations": 3, - "Class/Entity Declarations": 1, - "Defensive Programming Constructs": 2, - "Type/Safety Bypasses": 0, + "Control Flow Branches": 144, + "Sequential Logic Declarations": 203, + "Function Parameters": 80, + "Function/Method Declarations": 77, + "Class/Entity Declarations": 8, + "Defensive Programming Constructs": 14, + "Type/Safety Bypasses": 10, "High-Risk Execution Commands": 0, - "I/O and Network Boundaries": 4, - "Exposed API / Public Exports": 2, - "State Mutations / Variable Reassignments": 13, + "I/O and Network Boundaries": 0, + "Exposed API / Public Exports": 73, + "State Mutations / Variable Reassignments": 224, "Commented-out Code (Dead Logic)": 0, - "Structured Documentation Blocks": 0, - "Unit Test Assertions": 0, + "Structured Documentation Blocks": 168, + "Unit Test Assertions": 1, "Asynchronous/Concurrent Execution": 0, - "UI / View Layer Components": 3, - "Closures and Anonymous Functions": 0, - "Global State Dependencies": 0, - "Decorators and Annotations": 0, - "Generic Type Abstractions": 0, - "Collection Iterators / Comprehensions": 0, + "UI / View Layer Components": 0, + "Closures and Anonymous Functions": 3, + "Global State Dependencies": 1, + "Decorators and Annotations": 2, + "Generic Type Abstractions": 21, + "Collection Iterators / Comprehensions": 8, "Scientific & Mathematical Operations": 0, - "Metaprogramming & Reflection": 0, - "Module Dependencies (Imports)": 4, + "Metaprogramming & Reflection": 3, + "Module Dependencies (Imports)": 25, "Authorship Metadata": 0, - "Planned Work (TODOs)": 0, - "Acknowledged Tech Debt (FIXMEs)": 0, + "Planned Work (TODOs)": 3, + "Acknowledged Tech Debt (FIXMEs)": 1, "Specification Traceability Tags": 0, "Server-Side Rendering Contexts": 0, - "Event Publishers / Emitters": 0, + "Event Publishers / Emitters": 1, "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": 2, + "Ad-hoc Print / Debug Statements": 0, "Explicit Type Casts": 6, - "Fatal Aborts & Exceptions": 0, + "Fatal Aborts & Exceptions": 10, "Thread Sleeps & Blocking Waits": 0, "Bitwise Operations": 0, "Thread Synchronization Locks": 0, - "Immutable Data Declarations": 3, + "Immutable Data Declarations": 0, "Resource Deallocation & Cleanup": 0, - "Private / Encapsulated Scopes": 0, + "Private / Encapsulated Scopes": 178, "Event Listeners & Subscribers": 0, "Bypassed / Skipped Tests": 0, - "Structural Tab Indentations": 5, - "Structural Space Indentations": 26, + "Structural Tab Indentations": 0, + "Structural Space Indentations": 943, "Hardware Bridge": 0, "Cryptography": 0, "Auth Middleware": 0, @@ -308265,30 +308843,30 @@ "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": 4, - "Design Camel Case": 1, - "Design Snake Case": 1, - "Design Pascal Case": 0, - "Design Upper Case": 2, - "Design Short Vars": 3, - "Design Long Vars": 0, + "Vectorized Math & Tensor Operations": 5, + "Core Var Decl": 246, + "Design Camel Case": 80, + "Design Snake Case": 118, + "Design Pascal Case": 3, + "Design Upper Case": 32, + "Design Short Vars": 26, + "Design Long Vars": 15, "Duplicate Logic": 0, "Orphaned Logic": 0, "Instructional Code Examples": 0, "Architectural Diagrams (Mermaid/PlantUML)": 0, "Structured Literature Headers": 0, "Hyperlinked Literature References": 0, - "High-Entropy / Obfuscated Logic": 0, + "High-Entropy / Obfuscated Logic": 3, "Safety & Constraint Bypasses": 0, "External Network & I/O Hooks": 0, "Dynamic Code Execution (Eval/Exec)": 0, "Global Environment Mutation": 0, - "Commented-Out Executable Logic": 2, + "Commented-Out Executable Logic": 1, "Low-Level Bitwise / Cryptographic Math": 0, "Non-Standard / Steganographic Imports": 0, "Non-Standard Unicode / Homoglyphs": 0, - "Embedded Credentials & Keys": 0, + "Embedded Credentials & Keys": 1, "Sec Extension Mismatch": 0, "Sec Entropy": 0, "Sec Tainted Injection": 0, @@ -308298,16 +308876,38 @@ "Self-Referential File Copy/Overwrite (Worm Pattern)": 0 }, "8. Dependency Network": { - "Direct Upstream (Fragility)": 4, - "Direct Downstream (Dependency Blast Radius)": 0, - "Total Upstream (Absolute Fragility)": 0, + "Direct Upstream (Fragility)": 26, + "Direct Downstream (Dependency Blast Radius)": 2, + "Total Upstream (Absolute Fragility)": 1, "Total Downstream (Absolute Dependency Blast Radius)": 0 }, "9. Extracted Dependencies": [ - "Anchor.h", - "HTTP.h", - "HTUtils.h", - "TcpAccess.h" + "__future__", + "binascii", + "cryptography.exceptions", + "cryptography.hazmat.backends", + "cryptography.hazmat.decrepit.ciphers.algorithms", + "cryptography.hazmat.primitives", + "cryptography.hazmat.primitives.asymmetric", + "cryptography.hazmat.primitives.ciphers", + "cryptography.hazmat.primitives.ciphers.algorithms", + "hashlib", + "hmac", + "is", + "struct", + "twisted", + "twisted.conch.ssh", + "twisted.conch.ssh.common", + "twisted.conch.ssh.factory", + "twisted.conch.ssh.service", + "twisted.internet", + "twisted.logger", + "twisted.python", + "twisted.python.compat", + "twisted.python.failure", + "types", + "typing", + "zlib" ] } }