PDF-Archiver/PDF-Archiver

View on GitHub

Showing 405 of 405 total issues

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

        let creatorAttribute = try XCTUnwrap(document.documentAttributes?[PDFDocumentAttribute.creatorAttribute] as? String)

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

                        Logger.pdfDropHandler.errorAndAssert("Failed to get imported url", metadata: ["error": "\(error)"])
Severity: Minor
Found in macOS/MacSplitNavigation.swift by swiftlint

Function parameters should be aligned vertically if they're in multiple lines in a declaration.
Open

               function: StaticString = #function,

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

    private(set) var id: String = ""

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

                        Logger.archiveStore.debug("Updating document", metadata: ["specification": foundDocument.specification, "downloadStatus": "\(foundDocument.downloadStatus)"])

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

                           text: NSLocalizedString("intro.subscription.description", comment: "Intro: Subscription Description"))

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

    init(id: String, url: URL, isTagged: Bool, filename: String, sizeInBytes: Double, date: Date, specification: String, tags: [String], content: String, downloadStatus: Double) {

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

        // Check if it is a local document. These two values are possible for the "NSMetadataUbiquitousItemDownloadingStatusKey":

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

                    add(XCTAttachment(uniformTypeIdentifier: "image/png", name: "left image", payload: dataLeft, userInfo: nil))

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

        XCTAssertNoThrow(try FileManager.default.createDirectory(at: currentArchiveFolder, withIntermediateDirectories: true, attributes: nil))

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

                    guard let id = details.url.uniqueId() else {

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

        onboardSet.newCard(title: "Participate", image: "tag-1", text: "Engage with others online.  Join the community.")

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

        // "Apple warns you not to use the model executor to access the model context. Instead you should use the modelContext property of the actor."

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

            return NSLocalizedString("document_failure_reason__description_missing", comment: "No description could be found, e.g. while renaming the document.")

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

        // https://github.com/malt03/SwiftString/blob/0aeb47cbfa77cf8552bbadf49360ef529fbb8c03/Sources/StringExtensions.swift#L194

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

        // /private/var/mobile/Containers/Data/Application/8F70A72B-026D-4F6B-98E8-2C6ACE940133/Documents/untagged/document1.pdf

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

            ForEach(tags.filter { !$0.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty }, id: \.self) { tagName in

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

        Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

Variable name should only contain alphanumeric characters: '_sizeInBytes'
Open

    var _sizeInBytes: Double

Function parameters should be aligned vertically if they're in multiple lines in a declaration.
Open

               file: StaticString = #file,
Severity
Category
Status
Source
Language