filestack/filestack-swift

View on GitHub
Sources/FilestackSDK/Public/Models/Client.swift

Summary

Maintainability
A
1 hr
Test Coverage

Function upload has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    func upload(using uploadable: Uploadable,
                options: UploadOptions = .defaults,
                queue: DispatchQueue = .main,
                uploadProgress: ((Progress) -> Void)? = nil,
                completionHandler: @escaping (JSONResponse) -> Void) -> Uploader {
Severity: Minor
Found in Sources/FilestackSDK/Public/Models/Client.swift - About 35 mins to fix

    Function upload has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        func upload(using uploadables: [Uploadable]? = nil,
                    options: UploadOptions = .defaults,
                    queue: DispatchQueue = .main,
                    uploadProgress: ((Progress) -> Void)? = nil,
                    completionHandler: @escaping ([JSONResponse]) -> Void) -> Uploader & DeferredAdd {
    Severity: Minor
    Found in Sources/FilestackSDK/Public/Models/Client.swift - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status