Showing 405 of 405 total issues
Line should be 120 characters or less: currently 206 characters Open
Open
log.error("Duplicated tags bug occurred", metadata: ["tags": "\(tags.joined(separator: "&"))", "fixedTags": "\(fixedTags.joined(separator: "&"))", "dataBase64": "\(data.base64EncodedString())"])
- Exclude checks
Line should be 120 characters or less: currently 137 characters Open
Open
Label(untaggedMode ? "Tagging Mode" : "Archive Mode", systemImage: untaggedMode ? "tag.fill" : "archivebox.fill")
- Exclude checks
Line should be 120 characters or less: currently 122 characters Open
Open
let foundUrl = url(forUbiquityContainerIdentifier: nil)?.appending(path: "Documents", directoryHint: .isDirectory)
- Exclude checks
Line should be 120 characters or less: currently 134 characters Open
Open
Logger.archiveStore.errorAndAssert("Failed to get uniqueId for update", metadata: ["url": details.url.path()])
- Exclude checks
Line should be 120 characters or less: currently 141 characters Open
Open
// localizedSubtitle: NSLocalizedString("Start scan and share document afterwards", comment: ""),
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .appContainer:
- Exclude checks
Line should be 120 characters or less: currently 140 characters Open
Open
lastVersionPromptedForReview = UserDefaults.appGroup.string(forKey: UserDefaultsKeys.lastVersionPromptedForReviewKey.rawValue) ?? ""
- Exclude checks
Line should be 120 characters or less: currently 128 characters Open
Open
TagView(tagName: tag, isEditable: self.isEditable, isSuggestion: self.isSuggestion, tapHandler: self.tapHandler)
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .local:
- Exclude checks
Line should be 120 characters or less: currently 164 characters Open
Open
// guard let sortedDocuments3 = try? sort(documents, by: [taggingStatusSortDescriptor1, filenameSortDescriptor1]) else { XCTFail("Sorting failed!"); return }
- Exclude checks
Line should be 120 characters or less: currently 131 characters Open
Open
return FileChange.Details(url: documentPath, filename: filename, sizeInBytes: Double(size), downloadStatus: documentStatus)
- Exclude checks
Line should be 120 characters or less: currently 157 characters Open
Open
// func windowScene(_ windowScene: UIWindowScene, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler: @escaping (Bool) -> Void) {
- Exclude checks
Line should be 120 characters or less: currently 143 characters Open
Open
// let progressString = "\(min(completedDocuments + 1, totalDocumentCount))/\(totalDocumentCount) (\(Int(documentProgress * 100))%)"
- Exclude checks
Variable name should be between 3 and 40 characters long: 'to' Open
Open
func rename(from: URL, to: URL) throws
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .appContainer:
- Exclude checks
Line should be 120 characters or less: currently 147 characters Open
Open
try FileManager.default.createDirectory(at: archiveUrl.appendingPathComponent("inbox"), withIntermediateDirectories: true, attributes: nil)
- Exclude checks
Line should be 120 characters or less: currently 122 characters Open
Open
init(selectedDocumentId: Binding<String?>, searchString: String, tokens: [SearchToken], shoudLoadAll: Binding<Bool>) {
- Exclude checks
Line should be 120 characters or less: currently 127 characters Open
Open
// AppActivityView(activityItems: [URL(string: "https://apps.apple.com/app/pdf-archiver/id\(Self.appId)")!])
- Exclude checks
Line should be 120 characters or less: currently 138 characters Open
Open
onboardSet.newCard(title: "Leave Feedback", image: "scan", text: "We want to hear from you so please let us know what you think.")
- Exclude checks
Line should be 120 characters or less: currently 142 characters Open
Open
static let appGroupContainerURL = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: Self.sharedContainerIdentifier)!
- Exclude checks