AI Slop Code Risk Monitor

nextcloud/ios

SlopCodeMonitor badge for nextcloud/ios Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

📱 Nextcloud iOS App

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
2.5K
Stars
Swift
Language
110.5K
Lines of Code
628
Files
152
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 5.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 123 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

Are imports declared and package/API names verified? 5 finding(s).

Agent Over-Engineering Ratio 2.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 24 finding(s).

PR Review Velocity Impact 8.7/100 · LOW

Which changes need focused human review? 152 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 24LOW 128

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block123 hits · 120 pts
SeverityFileLineSnippetContext
LOWWidget/Widget-Brinding-header.h1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOW…nsion/Notification_Service_Extension-Bridging-Header.h1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOWTests/TestConstants.swift1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOW…extcloudUnitTests/NCMediaAdaptiveLayoutViewTests.swift261COMMENT
LOW…extcloudUnitTests/NCMediaAdaptiveLayoutViewTests.swift341 view.updateLayout(divisionFrames: [CGRect(x: 0, y: 280, width: 800, height: 40)])COMMENT
LOW…extcloudUnitTests/NCMediaAdaptiveLayoutViewTests.swift381COMMENT
LOW…oudUnitTests/NCMediaViewerFloatingTitleViewTests.swift61 #expect(titleButton.state == .normal)COMMENT
LOWTests/NextcloudUITests/AutoUploadUITests.swift1//// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOWTests/NextcloudUITests/AutoUploadUITests.swift21// // Launch the app.COMMENT
LOWTests/NextcloudUITests/AutoUploadUITests.swift41//COMMENT
LOWTests/NextcloudUITests/AutoUploadUITests.swift61// if turnOnAutoUploadingSwitch.await() {COMMENT
LOWTests/NextcloudUITests/AutoUploadUITests.swift81// func testAutoUploadNewPhotos() async throws {COMMENT
LOWTests/NextcloudUITests/AutoUploadUITests.swift101//COMMENT
LOWTests/NextcloudUITests/AutoUploadUITests.swift121// let tablesQuery = app.tablesCOMMENT
LOWTests/NextcloudUITests/UITestError.swift1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift1//// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift21//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift41// try await backend.delete(testFileName)COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift61// guard shareButton.exists else {COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift81// confirmShareButton.tap()COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift101// guard shareButton.await() else { return }COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift121//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift141// let shares = try await backend.getShares(byPath: "/\(testFileName)")COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift161//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift181//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift201//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift221// app.navigationBars.buttons.firstMatch.tap()COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift241//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift261//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift281// guard downloadLimitSwitch.await() else { return }COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift301// }COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift321//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift341// }COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift361// guard shareMenuDetailsCell.await() else { return }COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift381// XCTFail("The switch is not on!")COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift401//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift421// try await backend.createShare(byPath: testFileName)COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift441// guard showShareLinkDetailsButton.await() else { return }COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift461//COMMENT
LOWTests/NextcloudUITests/DownloadLimitUITests.swift481// try await aMoment()COMMENT
LOWTests/NextcloudUITests/BaseUIXCTestCase.swift41COMMENT
LOWTests/NextcloudUITests/AssistantUITests.swift1//// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOWTests/NextcloudUITests/AssistantUITests.swift21// continueAfterFailure = falseCOMMENT
LOWTests/NextcloudUITests/AssistantUITests.swift41// /// Leads to the Assistant screen.COMMENT
LOWTests/NextcloudUITests/AssistantUITests.swift61// private func retryTask() {COMMENT
LOWTests/NextcloudUITests/AssistantUITests.swift81//COMMENT
LOWTests/NextcloudUITests/AssistantUITests.swift101//COMMENT
LOWTests/NextcloudUITests/AssistantUITests.swift121// XCTAssertEqual(matchingElements.count, 2, "Expected 2 elements")COMMENT
LOWTests/NextcloudUITests/AssistantUITests.swift141//COMMENT
LOW…sts/NextcloudUITests/UITestBackend/UITestBackend.swift1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOW…sts/NextcloudUITests/UITestBackend/UITestBackend.swift21 ///COMMENT
LOW…udUITests/UITestBackend/Responses/SharesResponse.swift1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOW…cloudUITests/UITestBackend/Responses/OCSResponse.swift1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOW…Tests/UITestBackend/Responses/CapabilityResponse.swift1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOWTests/NextcloudUITests/Extensions/XCUIElement.swift1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOWTests/NextcloudUITests/Extensions/XCUIElement.swift21 ///COMMENT
LOWTests/NextcloudUITests/Extensions/XCUIElement.swift61 ///COMMENT
LOWFile Provider Extension/FileProviderDomain.swift1// SPDX-FileCopyrightText: Nextcloud GmbHCOMMENT
LOWFile Provider Extension/FileProviderDomain.swift41 pathRelativeToDocumentStorage: relativePathCOMMENT
LOW.github/FUNDING.yml1# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributorsCOMMENT
63 more matches not shown…
Excessive Try-Catch Wrapping24 hits · 51 pts
SeverityFileLineSnippetContext
MEDIUMiOSClient/Scan document/NCUploadScanDocument.swift111 print("Error: \(error)")CODE
MEDIUMiOSClient/Notification/NCNotification.swift102 print("Something went wrong")CODE
MEDIUM…SClient/Networking/NCNetworking+TransferDelegate.swift224 print("Error: \(error)")CODE
MEDIUMiOSClient/Networking/NCService.swift392 print("Error: \(error.localizedDescription)")CODE
MEDIUMiOSClient/Extensions/Data+Extension.swift19 print("Error: \(error.localizedDescription)")CODE
MEDIUMiOSClient/Extensions/Data+Extension.swift33 print("Error: \(error.localizedDescription)")CODE
MEDIUMiOSClient/Main/Create/NCCreateFormUploadConflict.swift395 } catch { print("Error: \(error)") }CODE
MEDIUMiOSClient/Main/Create/NCCreateFormUploadConflict.swift434 print("Error reading file attributes: \(error)")CODE
MEDIUMiOSClient/Main/Create/NCCreateFormUploadConflict.swift462 } catch { print("Error: \(error)") }CODE
MEDIUMiOSClient/Data/NCManageDatabase.swift331 print("Error opening Realm: \(error)")CODE
MEDIUMiOSClient/Utility/NCUtility+Image.swift105 print("Error: \(error)")CODE
MEDIUMiOSClient/Utility/NCUtility+Image.swift219 print("Error: \(error)")CODE
MEDIUM⚡iOSClient/Utility/NCUtilityFileSystem.swift25 } catch { print("Error: \(error)") }CODE
MEDIUM⚡iOSClient/Utility/NCUtilityFileSystem.swift35 } catch { print("Error: \(error)") }CODE
MEDIUM⚡iOSClient/Utility/NCUtilityFileSystem.swift45 } catch { print("Error: \(error)") }CODE
MEDIUMiOSClient/Utility/NCUtilityFileSystem.swift108 } catch { print("Error: \(error)") }CODE
MEDIUMiOSClient/Utility/NCUtilityFileSystem.swift132 print("Error: \(error)")CODE
MEDIUMiOSClient/Utility/NCUtilityFileSystem.swift244 } catch { print("Error: \(error)") }CODE
MEDIUMiOSClient/Utility/NCUtilityFileSystem.swift265 } catch { print("Error: \(error)") }CODE
MEDIUMiOSClient/Utility/NCUtilityFileSystem.swift381 print("Error moving \(atPath) -> \(toPath): \(error)")CODE
MEDIUMiOSClient/Utility/NCUtilityFileSystem.swift503 } catch { print("Error: \(error)") }CODE
MEDIUMiOSClient/Utility/NCUtilityFileSystem.swift505 } catch { print("Error: \(error)") }CODE
MEDIUMiOSClient/Utility/MigrationMultiDomains.swift112 print("Error while enumerating subdirectories: \(error)")CODE
MEDIUMiOSClient/Utility/MigrationMultiDomains.swift149 print("Error moving \(ocId): \(error)")CODE
Fake / Example Data5 hits · 6 pts
SeverityFileLineSnippetContext
LOWiOSClient/Assistant/NCAssistantModel.swift239 let loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lCODE
LOWiOSClient/Assistant/NCAssistantModel.swift239 let loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lCODE
LOW⚡iOSClient/Assistant/Chat/NCAssistantChatModel.swift192 content: "Here is the text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor iCODE
LOW⚡iOSClient/Assistant/Chat/NCAssistantChatModel.swift192 content: "Here is the text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor iCODE
LOW⚡iOSClient/Assistant/Chat/NCAssistantChatModel.swift199 content: "Based on the text you provided, here's a concise summary: The document discusses the classic LoremCODE