field_ios

In-the-field app for Radroots on iOS
git clone https://radroots.dev/git/field_ios.git
Log | Files | Refs | README | LICENSE

swiftlint-maintainability-baseline.v1.json (12521B)


      1 [{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Initializer body should span 50 lines or less excluding comments and whitespace: currently spans 52 lines","location":{"character":3,"file":"Tera\/App\/TeraAppModel.swift","line":21},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"  init("},{"violation":{"severity":"error","ruleIdentifier":"type_body_length","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 373 lines","location":{"character":7,"file":"Tera\/Runtime\/TeraGeneratedRuntimeBackend.swift","line":31},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraGeneratedRuntimeBackend: TeraRuntimeBackend, @unchecked Sendable {"},{"violation":{"severity":"error","ruleIdentifier":"file_length","reason":"File should contain 1000 lines or less: currently contains 1089","location":{"character":1,"file":"Tera\/Runtime\/TeraGeneratedRuntimeBackend.swift","line":1089},"ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","ruleIdentifier":"type_body_length","reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 675 lines","location":{"character":1,"file":"Tera\/Runtime\/TeraRuntimeClient.swift","line":3},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"actor TeraRuntimeClient {"},{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 70 lines","location":{"character":3,"file":"Tera\/Runtime\/TeraRuntimeClient.swift","line":353},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"  func changes(bufferCapacity: Int = 16) async throws -> AsyncStream<TeraRuntimeChange> {"},{"violation":{"severity":"warning","ruleIdentifier":"file_length","reason":"File should contain 400 lines or less: currently contains 749","location":{"character":1,"file":"Tera\/Runtime\/TeraRuntimeClient.swift","line":749},"ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","ruleIdentifier":"file_length","reason":"File should contain 1000 lines or less: currently contains 1029","location":{"character":1,"file":"Tera\/Runtime\/TeraRuntimeModels.swift","line":1029},"ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","ruleIdentifier":"type_body_length","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 481 lines","location":{"character":7,"file":"Tera\/State\/TeraAddStore.swift","line":4},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraAddStore: ObservableObject {"},{"violation":{"severity":"warning","ruleIdentifier":"file_length","reason":"File should contain 400 lines or less: currently contains 702","location":{"character":1,"file":"Tera\/State\/TeraAddStore.swift","line":702},"ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","ruleIdentifier":"type_body_length","reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 468 lines","location":{"character":1,"file":"Tera\/State\/TeraConfigurationStore.swift","line":78},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"actor TeraConfigurationStore {"},{"violation":{"severity":"error","ruleIdentifier":"function_body_length","reason":"Function body should span 100 lines or less excluding comments and whitespace: currently spans 109 lines","location":{"character":5,"file":"Tera\/State\/TeraConfigurationStore.swift","line":148},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"    func load() throws -> TeraAppConfiguration {"},{"violation":{"severity":"warning","ruleIdentifier":"file_length","reason":"File should contain 400 lines or less: currently contains 759","location":{"character":1,"file":"Tera\/State\/TeraConfigurationStore.swift","line":759},"ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"warning","ruleIdentifier":"cyclomatic_complexity","reason":"Function should have complexity 10 or less; currently complexity is 13","location":{"character":11,"file":"Tera\/State\/TeraSessionStore.swift","line":96},"ruleDescription":"Complexity of function bodies should be limited.","ruleName":"Cyclomatic Complexity"},"text":"  private func start(acceptingReconfiguration: Bool) async -> TeraSessionPhase {"},{"violation":{"severity":"error","ruleIdentifier":"type_body_length","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 607 lines","location":{"character":7,"file":"TeraTests\/TeraAddStoreTests.swift","line":6},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraAddStoreTests: XCTestCase {"},{"violation":{"severity":"error","ruleIdentifier":"type_body_length","reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 394 lines","location":{"character":1,"file":"TeraTests\/TeraAddStoreTests.swift","line":682},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"actor AddBackend: TeraRuntimeBackend {"},{"violation":{"severity":"warning","ruleIdentifier":"function_parameter_count","reason":"Function should have 5 parameters or less: it currently has 8","location":{"character":3,"file":"TeraTests\/TeraAddStoreTests.swift","line":1020},"ruleDescription":"Number of function parameters should be low.","ruleName":"Function Parameter Count"},"text":"  func makeStatus("},{"violation":{"severity":"error","ruleIdentifier":"file_length","reason":"File should contain 1000 lines or less: currently contains 1232","location":{"character":1,"file":"TeraTests\/TeraAddStoreTests.swift","line":1232},"ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"warning","ruleIdentifier":"type_body_length","reason":"Class body should span 250 lines or less excluding comments and whitespace: currently spans 307 lines","location":{"character":7,"file":"TeraTests\/TeraRemoteQualificationTests.swift","line":7},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraRemoteQualificationTests: XCTestCase {"},{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 94 lines","location":{"character":3,"file":"TeraTests\/TeraRemoteQualificationTests.swift","line":45},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"  func testQualificationRejectsAmbiguousOrUnsafeHarnessValues() {"},{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 53 lines","location":{"character":3,"file":"TeraTests\/TeraRemoteQualificationTests.swift","line":212},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"  func testAuthorizationEvidenceIsRedactedEphemeralAndRelaunchCleaned() throws {"},{"violation":{"severity":"warning","ruleIdentifier":"type_body_length","reason":"Class body should span 250 lines or less excluding comments and whitespace: currently spans 298 lines","location":{"character":7,"file":"TeraTests\/TeraRuntimeClientTests.swift","line":4},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraRuntimeClientTests: XCTestCase {"},{"violation":{"severity":"error","ruleIdentifier":"type_body_length","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 580 lines","location":{"character":7,"file":"TeraTests\/TeraStateMigrationTests.swift","line":6},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraStateMigrationTests: XCTestCase {"},{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 61 lines","location":{"character":5,"file":"TeraTests\/TeraStateMigrationTests.swift","line":7},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"    func testRelayValidationMatchesRuntimeProfiles() throws {"},{"violation":{"severity":"warning","ruleIdentifier":"file_length","reason":"File should contain 400 lines or less: currently contains 622","location":{"character":1,"file":"TeraTests\/TeraStateMigrationTests.swift","line":622},"ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","ruleIdentifier":"type_body_length","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 1285 lines","location":{"character":7,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":4},"ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraRemoteQualificationUITests: XCTestCase {"},{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 65 lines","location":{"character":3,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":62},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"  func testLocalSocialFiveFlowScenario() throws {"},{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 66 lines","location":{"character":3,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":166},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"  func testLocalSocialDeterministicPersonas() throws {"},{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 54 lines","location":{"character":3,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":239},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"  func testRemoteBlossomUploadAndRecovery() throws {"},{"violation":{"severity":"warning","ruleIdentifier":"cyclomatic_complexity","reason":"Function should have complexity 10 or less; currently complexity is 18","location":{"character":11,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":494},"ruleDescription":"Complexity of function bodies should be limited.","ruleName":"Cyclomatic Complexity"},"text":"  private func expectedAddFieldLabel(_ identifier: String, type: String) -> String {"},{"violation":{"severity":"warning","ruleIdentifier":"function_body_length","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 67 lines","location":{"character":10,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":1516},"ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":"  static func environment("},{"violation":{"severity":"error","ruleIdentifier":"file_length","reason":"File should contain 1000 lines or less: currently contains 1992","location":{"character":1,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":1992},"ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"}]