maintainability-baseline.v1.json (4218B)
1 { 2 "schema": "radroots.ios.maintainability-baseline.v1", 3 "schema_version": 1, 4 "source_revision": "c63002bcc4d3f6656e93aabe4fca6bd771376629", 5 "thresholds": { 6 "swift_file_lines": 600, 7 "python_file_lines": 800, 8 "python_function_complexity": 10 9 }, 10 "swift_file_exception": [ 11 { 12 "path": "Tera/Runtime/TeraGeneratedRuntimeBackend.swift", 13 "maximum_lines": 1188 14 }, 15 { 16 "path": "Tera/Runtime/TeraRuntimeClient.swift", 17 "maximum_lines": 820 18 }, 19 { 20 "path": "Tera/Runtime/TeraRuntimeModels.swift", 21 "maximum_lines": 1154 22 }, 23 { 24 "path": "Tera/State/TeraAddStore.swift", 25 "maximum_lines": 783 26 }, 27 { 28 "path": "Tera/State/TeraConfigurationStore.swift", 29 "maximum_lines": 759 30 }, 31 { 32 "path": "TeraTests/TeraAddStoreTests.swift", 33 "maximum_lines": 1366 34 }, 35 { 36 "path": "TeraTests/TeraStateMigrationTests.swift", 37 "maximum_lines": 718 38 }, 39 { 40 "path": "TeraUITests/TeraRemoteQualificationUITests.swift", 41 "maximum_lines": 1992 42 } 43 ], 44 "python_file_exception": [ 45 { 46 "path": "scripts/local-social-fixture.py", 47 "maximum_lines": 2626 48 }, 49 { 50 "path": "scripts/test_local_social_fixture.py", 51 "maximum_lines": 1188 52 } 53 ], 54 "python_complexity_exception": [ 55 { 56 "function": "scripts/local-social-fixture.py:FixtureState._publish_persona_event", 57 "maximum_complexity": 13 58 }, 59 { 60 "function": "scripts/local-social-fixture.py:FixtureState.upload", 61 "maximum_complexity": 14 62 }, 63 { 64 "function": "scripts/local-social-fixture.py:RelayHandler.handle", 65 "maximum_complexity": 26 66 }, 67 { 68 "function": "scripts/local-social-fixture.py:bounded_directory_inventory", 69 "maximum_complexity": 12 70 }, 71 { 72 "function": "scripts/local-social-fixture.py:directory_digest", 73 "maximum_complexity": 16 74 }, 75 { 76 "function": "scripts/local-social-fixture.py:exact_persona_test_node", 77 "maximum_complexity": 11 78 }, 79 { 80 "function": "scripts/local-social-fixture.py:load_exported_persona_attachments", 81 "maximum_complexity": 31 82 }, 83 { 84 "function": "scripts/local-social-fixture.py:matches", 85 "maximum_complexity": 22 86 }, 87 { 88 "function": "scripts/local-social-fixture.py:photo_attempt_matches", 89 "maximum_complexity": 12 90 }, 91 { 92 "function": "scripts/local-social-fixture.py:reconstruct_persona_result_v2", 93 "maximum_complexity": 66 94 }, 95 { 96 "function": "scripts/local-social-fixture.py:simulator_metadata", 97 "maximum_complexity": 23 98 }, 99 { 100 "function": "scripts/local-social-fixture.py:valid_blossom_authorization", 101 "maximum_complexity": 29 102 }, 103 { 104 "function": "scripts/local-social-fixture.py:valid_bud11_server_domain", 105 "maximum_complexity": 12 106 }, 107 { 108 "function": "scripts/local-social-fixture.py:valid_nostr_event", 109 "maximum_complexity": 16 110 }, 111 { 112 "function": "scripts/local-social-fixture.py:validate_persona_attempt_evidence", 113 "maximum_complexity": 59 114 }, 115 { 116 "function": "scripts/local-social-fixture.py:validate_persona_evidence", 117 "maximum_complexity": 31 118 }, 119 { 120 "function": "scripts/local-social-fixture.py:validate_persona_result", 121 "maximum_complexity": 43 122 }, 123 { 124 "function": "scripts/local-social-fixture.py:validate_persona_suite", 125 "maximum_complexity": 28 126 }, 127 { 128 "function": "scripts/local-social-fixture.py:verify_bip340", 129 "maximum_complexity": 11 130 }, 131 { 132 "function": "scripts/local-social-fixture.py:verify_persona", 133 "maximum_complexity": 18 134 }, 135 { 136 "function": "scripts/test_local_social_fixture.py:mutate_bud11_event", 137 "maximum_complexity": 29 138 } 139 ], 140 "bounded_module": [ 141 "Tera/Runtime/TeraUserMessageClassifier.swift", 142 "Tera/Runtime/TeraUserMessages.swift", 143 "Tera/Views/TeraSupportSettingsSection.swift", 144 "scripts/maintainability_ratchet.py", 145 "scripts/package_contract.py", 146 "scripts/package_privacy.py", 147 "scripts/test_package_contract.py", 148 "scripts/test_package_privacy.py" 149 ] 150 }