PDF-Archiver/PDF-Archiver

View on GitHub

Showing 405 of 405 total issues

Line should be 120 characters or less: currently 206 characters
Open

            log.error("Duplicated tags bug occurred", metadata: ["tags": "\(tags.joined(separator: "&"))", "fixedTags": "\(fixedTags.joined(separator: "&"))", "dataBase64": "\(data.base64EncodedString())"])
Severity: Critical
Found in Shared/Other/Extensions/URL.swift by swiftlint

Line should be 120 characters or less: currently 137 characters
Open

                        Label(untaggedMode ? "Tagging Mode" : "Archive Mode", systemImage: untaggedMode ? "tag.fill" : "archivebox.fill")
Severity: Minor
Found in macOS/MacSplitNavigation.swift by swiftlint

Line should be 120 characters or less: currently 122 characters
Open

        let foundUrl = url(forUbiquityContainerIdentifier: nil)?.appending(path: "Documents", directoryHint: .isDirectory)

Line should be 120 characters or less: currently 134 characters
Open

                        Logger.archiveStore.errorAndAssert("Failed to get uniqueId for update", metadata: ["url": details.url.path()])

Line should be 120 characters or less: currently 141 characters
Open

//                                             localizedSubtitle: NSLocalizedString("Start scan and share document afterwards", comment: ""),
Severity: Minor
Found in iOS/PDFArchiverApp.swift by swiftlint

Case statements should vertically align with their enclosing switch statement.
Open

                case .appContainer:

Line should be 120 characters or less: currently 140 characters
Open

        lastVersionPromptedForReview = UserDefaults.appGroup.string(forKey: UserDefaultsKeys.lastVersionPromptedForReviewKey.rawValue) ?? ""

Line should be 120 characters or less: currently 128 characters
Open

                TagView(tagName: tag, isEditable: self.isEditable, isSuggestion: self.isSuggestion, tapHandler: self.tapHandler)

Case statements should vertically align with their enclosing switch statement.
Open

                case .local:

Line should be 120 characters or less: currently 164 characters
Open

//        guard let sortedDocuments3 = try? sort(documents, by: [taggingStatusSortDescriptor1, filenameSortDescriptor1]) else { XCTFail("Sorting failed!"); return }

Line should be 120 characters or less: currently 131 characters
Open

        return FileChange.Details(url: documentPath, filename: filename, sizeInBytes: Double(size), downloadStatus: documentStatus)

Line should be 120 characters or less: currently 157 characters
Open

//    func windowScene(_ windowScene: UIWindowScene, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler: @escaping (Bool) -> Void) {
Severity: Minor
Found in iOS/PDFArchiverApp.swift by swiftlint

Line should be 120 characters or less: currently 143 characters
Open

//            let progressString = "\(min(completedDocuments + 1, totalDocumentCount))/\(totalDocumentCount) (\(Int(documentProgress * 100))%)"

Variable name should be between 3 and 40 characters long: 'to'
Open

    func rename(from: URL, to: URL) throws

Case statements should vertically align with their enclosing switch statement.
Open

                case .appContainer:

Line should be 120 characters or less: currently 147 characters
Open

        try FileManager.default.createDirectory(at: archiveUrl.appendingPathComponent("inbox"), withIntermediateDirectories: true, attributes: nil)

Line should be 120 characters or less: currently 122 characters
Open

    init(selectedDocumentId: Binding<String?>, searchString: String, tokens: [SearchToken], shoudLoadAll: Binding<Bool>) {

Line should be 120 characters or less: currently 127 characters
Open

        //            AppActivityView(activityItems: [URL(string: "https://apps.apple.com/app/pdf-archiver/id\(Self.appId)")!])
Severity: Minor
Found in Shared/Settings/MoreTabView.swift by swiftlint

Line should be 120 characters or less: currently 138 characters
Open

        onboardSet.newCard(title: "Leave Feedback", image: "scan", text: "We want to hear from you so please let us know what you think.")

Line should be 120 characters or less: currently 142 characters
Open

    static let appGroupContainerURL = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: Self.sharedContainerIdentifier)!
Severity
Category
Status
Source
Language