filestack/filestack-swift

View on GitHub
Sources/FilestackSDK/Internal/Operations/StartUploadOperation.swift

Summary

Maintainability
A
1 hr
Test Coverage

Function handleResponse has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    func handleResponse(response: JSONResponse) {
        // Ensure that there's a response and JSON payload or fail.
        guard let json = response.json else {
            finish(with: .failure(.custom("Unable to obtain JSON from /multipart/start response.")))
            return
Severity: Minor
Found in Sources/FilestackSDK/Internal/Operations/StartUploadOperation.swift - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status