📱 Nextcloud iOS App
This report summarizes scanner evidence for nextcloud/ios, a Swift project with 2,542 GitHub stars. SynthScan examined 110,488 lines of code across 628 source files, recording 152 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 123 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 24 finding(s).
Which changes need focused human review? 152 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 152 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Widget/Widget-Brinding-header.h | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | …nsion/Notification_Service_Extension-Bridging-Header.h | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | Tests/TestConstants.swift | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | …extcloudUnitTests/NCMediaAdaptiveLayoutViewTests.swift | 261 | COMMENT | |
| LOW | …extcloudUnitTests/NCMediaAdaptiveLayoutViewTests.swift | 341 | view.updateLayout(divisionFrames: [CGRect(x: 0, y: 280, width: 800, height: 40)]) | COMMENT |
| LOW | …extcloudUnitTests/NCMediaAdaptiveLayoutViewTests.swift | 381 | COMMENT | |
| LOW | …oudUnitTests/NCMediaViewerFloatingTitleViewTests.swift | 61 | #expect(titleButton.state == .normal) | COMMENT |
| LOW | Tests/NextcloudUITests/AutoUploadUITests.swift | 1 | //// SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | Tests/NextcloudUITests/AutoUploadUITests.swift | 21 | // // Launch the app. | COMMENT |
| LOW | Tests/NextcloudUITests/AutoUploadUITests.swift | 41 | // | COMMENT |
| LOW | Tests/NextcloudUITests/AutoUploadUITests.swift | 61 | // if turnOnAutoUploadingSwitch.await() { | COMMENT |
| LOW | Tests/NextcloudUITests/AutoUploadUITests.swift | 81 | // func testAutoUploadNewPhotos() async throws { | COMMENT |
| LOW | Tests/NextcloudUITests/AutoUploadUITests.swift | 101 | // | COMMENT |
| LOW | Tests/NextcloudUITests/AutoUploadUITests.swift | 121 | // let tablesQuery = app.tables | COMMENT |
| LOW | Tests/NextcloudUITests/UITestError.swift | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 1 | //// SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 21 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 41 | // try await backend.delete(testFileName) | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 61 | // guard shareButton.exists else { | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 81 | // confirmShareButton.tap() | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 101 | // guard shareButton.await() else { return } | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 121 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 141 | // let shares = try await backend.getShares(byPath: "/\(testFileName)") | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 161 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 181 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 201 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 221 | // app.navigationBars.buttons.firstMatch.tap() | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 241 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 261 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 281 | // guard downloadLimitSwitch.await() else { return } | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 301 | // } | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 321 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 341 | // } | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 361 | // guard shareMenuDetailsCell.await() else { return } | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 381 | // XCTFail("The switch is not on!") | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 401 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 421 | // try await backend.createShare(byPath: testFileName) | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 441 | // guard showShareLinkDetailsButton.await() else { return } | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 461 | // | COMMENT |
| LOW | Tests/NextcloudUITests/DownloadLimitUITests.swift | 481 | // try await aMoment() | COMMENT |
| LOW | Tests/NextcloudUITests/BaseUIXCTestCase.swift | 41 | COMMENT | |
| LOW | Tests/NextcloudUITests/AssistantUITests.swift | 1 | //// SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | Tests/NextcloudUITests/AssistantUITests.swift | 21 | // continueAfterFailure = false | COMMENT |
| LOW | Tests/NextcloudUITests/AssistantUITests.swift | 41 | // /// Leads to the Assistant screen. | COMMENT |
| LOW | Tests/NextcloudUITests/AssistantUITests.swift | 61 | // private func retryTask() { | COMMENT |
| LOW | Tests/NextcloudUITests/AssistantUITests.swift | 81 | // | COMMENT |
| LOW | Tests/NextcloudUITests/AssistantUITests.swift | 101 | // | COMMENT |
| LOW | Tests/NextcloudUITests/AssistantUITests.swift | 121 | // XCTAssertEqual(matchingElements.count, 2, "Expected 2 elements") | COMMENT |
| LOW | Tests/NextcloudUITests/AssistantUITests.swift | 141 | // | COMMENT |
| LOW | …sts/NextcloudUITests/UITestBackend/UITestBackend.swift | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | …sts/NextcloudUITests/UITestBackend/UITestBackend.swift | 21 | /// | COMMENT |
| LOW | …udUITests/UITestBackend/Responses/SharesResponse.swift | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | …cloudUITests/UITestBackend/Responses/OCSResponse.swift | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | …Tests/UITestBackend/Responses/CapabilityResponse.swift | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | Tests/NextcloudUITests/Extensions/XCUIElement.swift | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | Tests/NextcloudUITests/Extensions/XCUIElement.swift | 21 | /// | COMMENT |
| LOW | Tests/NextcloudUITests/Extensions/XCUIElement.swift | 61 | /// | COMMENT |
| LOW | File Provider Extension/FileProviderDomain.swift | 1 | // SPDX-FileCopyrightText: Nextcloud GmbH | COMMENT |
| LOW | File Provider Extension/FileProviderDomain.swift | 41 | pathRelativeToDocumentStorage: relativePath | COMMENT |
| LOW | .github/FUNDING.yml | 1 | # SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors | COMMENT |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | iOSClient/Scan document/NCUploadScanDocument.swift | 111 | print("Error: \(error)") | CODE |
| MEDIUM | iOSClient/Notification/NCNotification.swift | 102 | print("Something went wrong") | CODE |
| MEDIUM | …SClient/Networking/NCNetworking+TransferDelegate.swift | 224 | print("Error: \(error)") | CODE |
| MEDIUM | iOSClient/Networking/NCService.swift | 392 | print("Error: \(error.localizedDescription)") | CODE |
| MEDIUM | iOSClient/Extensions/Data+Extension.swift | 19 | print("Error: \(error.localizedDescription)") | CODE |
| MEDIUM | iOSClient/Extensions/Data+Extension.swift | 33 | print("Error: \(error.localizedDescription)") | CODE |
| MEDIUM | iOSClient/Main/Create/NCCreateFormUploadConflict.swift | 395 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM | iOSClient/Main/Create/NCCreateFormUploadConflict.swift | 434 | print("Error reading file attributes: \(error)") | CODE |
| MEDIUM | iOSClient/Main/Create/NCCreateFormUploadConflict.swift | 462 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM | iOSClient/Data/NCManageDatabase.swift | 331 | print("Error opening Realm: \(error)") | CODE |
| MEDIUM | iOSClient/Utility/NCUtility+Image.swift | 105 | print("Error: \(error)") | CODE |
| MEDIUM | iOSClient/Utility/NCUtility+Image.swift | 219 | print("Error: \(error)") | CODE |
| MEDIUM⚡ | iOSClient/Utility/NCUtilityFileSystem.swift | 25 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM⚡ | iOSClient/Utility/NCUtilityFileSystem.swift | 35 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM⚡ | iOSClient/Utility/NCUtilityFileSystem.swift | 45 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM | iOSClient/Utility/NCUtilityFileSystem.swift | 108 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM | iOSClient/Utility/NCUtilityFileSystem.swift | 132 | print("Error: \(error)") | CODE |
| MEDIUM | iOSClient/Utility/NCUtilityFileSystem.swift | 244 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM | iOSClient/Utility/NCUtilityFileSystem.swift | 265 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM | iOSClient/Utility/NCUtilityFileSystem.swift | 381 | print("Error moving \(atPath) -> \(toPath): \(error)") | CODE |
| MEDIUM | iOSClient/Utility/NCUtilityFileSystem.swift | 503 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM | iOSClient/Utility/NCUtilityFileSystem.swift | 505 | } catch { print("Error: \(error)") } | CODE |
| MEDIUM | iOSClient/Utility/MigrationMultiDomains.swift | 112 | print("Error while enumerating subdirectories: \(error)") | CODE |
| MEDIUM | iOSClient/Utility/MigrationMultiDomains.swift | 149 | print("Error moving \(ocId): \(error)") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | iOSClient/Assistant/NCAssistantModel.swift | 239 | let loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW | iOSClient/Assistant/NCAssistantModel.swift | 239 | let loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW⚡ | iOSClient/Assistant/Chat/NCAssistantChatModel.swift | 192 | content: "Here is the text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i | CODE |
| LOW⚡ | iOSClient/Assistant/Chat/NCAssistantChatModel.swift | 192 | content: "Here is the text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i | CODE |
| LOW⚡ | iOSClient/Assistant/Chat/NCAssistantChatModel.swift | 199 | content: "Based on the text you provided, here's a concise summary: The document discusses the classic Lorem | CODE |