Kinvey/swift-sdk

View on GitHub
Kinvey/Kinvey/RequestFactory.swift

Summary

Maintainability
A
3 hrs
Test Coverage

File RequestFactory.swift has 280 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import Foundation

protocol RequestFactory {
    
    var user: UserRequestFactory { get }
Severity: Minor
Found in Kinvey/Kinvey/RequestFactory.swift - About 2 hrs to fix

    Similar blocks of code found in 11 locations. Consider refactoring.
    Open

    //
    //  NetworkTransport.swift
    //  Kinvey
    //
    //  Created by Victor Barros on 2015-12-08.
    Severity: Major
    Found in Kinvey/Kinvey/RequestFactory.swift and 10 other locations - About 40 mins to fix
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351
    Kinvey/Kinvey/RequestFactory.swift on lines 1..351

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 52.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Colon at column 27 should have no spaces before it
    Open

            authData: [String : Any],
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    colon-whitespace

    There should be no whitespace preceding the colon, exactly one whitespace after the colon for: * var, class, struct, protocol, extension, func, and tuple declarations * dict literals and types * case statements

    However, for conditional expressions there should be a single whitespace before and after the colon.

    Variable declarations

    Preferred

    var x: Int = 2

    Not Preferred

    var x : Int
    var y:   String

    Dictionary literals and types

    Preferred

    var x = [ 'key1': 1, 'key2': 2 ]
    var y: [ Int: String ]

    Not Preferred

    var x = [ 'key1' : 1, 'key2':  3]
    var y: [ Int :    String ]

    Case statements

    Preferred

    switch character {
    case "a": doSomething(a);
    default: alert();
    }

    Not Preferred

    switch character {
    case "a" : doSomething(a);
    default:     alert();
    }

    Class, Struct, Protocol, and Extension declarations

    Preferred

    class ClassName: BaseClass {
    }
    
    struct StructName: BaseStruct {
    }
    
    protocol ProtocolName: AnotherProtocol {
    }
    
    extension TypeName: ProtocolName {
    }

    Not Preferred

    class ClassName : BaseClass {
    }
    
    struct StructName:  BaseStruct {
    }
    
    protocol ProtocolName:AnotherProtocol {
    }
    
    extension TypeName : ProtocolName {
    }

    Tuple declarations

    Preferred

    var y = (key: 1, value: 2)

    Not Preferred

    var y = (key:1, value : 2)

    Function declarations

    Preferred

    func someFunction<t: someclass u: someprotocol>(someT: T, someU: U) {
    }</t:>

    Not Preferred

    func someFunction<t : someclass u:someprotocol>(someT: T, someU: U) {
    }</t>

    Conditional expressions

    Preferred

    var x = condition ? a : b

    Not Preferred

    var x = condition ? a: b
    var x = condition ? a   : b

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Colon at column 27 should have no spaces before it
    Open

            authData: [String : Any],
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    colon-whitespace

    There should be no whitespace preceding the colon, exactly one whitespace after the colon for: * var, class, struct, protocol, extension, func, and tuple declarations * dict literals and types * case statements

    However, for conditional expressions there should be a single whitespace before and after the colon.

    Variable declarations

    Preferred

    var x: Int = 2

    Not Preferred

    var x : Int
    var y:   String

    Dictionary literals and types

    Preferred

    var x = [ 'key1': 1, 'key2': 2 ]
    var y: [ Int: String ]

    Not Preferred

    var x = [ 'key1' : 1, 'key2':  3]
    var y: [ Int :    String ]

    Case statements

    Preferred

    switch character {
    case "a": doSomething(a);
    default: alert();
    }

    Not Preferred

    switch character {
    case "a" : doSomething(a);
    default:     alert();
    }

    Class, Struct, Protocol, and Extension declarations

    Preferred

    class ClassName: BaseClass {
    }
    
    struct StructName: BaseStruct {
    }
    
    protocol ProtocolName: AnotherProtocol {
    }
    
    extension TypeName: ProtocolName {
    }

    Not Preferred

    class ClassName : BaseClass {
    }
    
    struct StructName:  BaseStruct {
    }
    
    protocol ProtocolName:AnotherProtocol {
    }
    
    extension TypeName : ProtocolName {
    }

    Tuple declarations

    Preferred

    var y = (key: 1, value: 2)

    Not Preferred

    var y = (key:1, value : 2)

    Function declarations

    Preferred

    func someFunction<t: someclass u: someprotocol>(someT: T, someU: U) {
    }</t:>

    Not Preferred

    func someFunction<t : someclass u:someprotocol>(someT: T, someU: U) {
    }</t>

    Conditional expressions

    Preferred

    var x = condition ? a : b

    Not Preferred

    var x = condition ? a: b
    var x = condition ? a   : b

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Colon at column 32 should have no spaces before it
    Open

            initialObject: [String : Any],
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    colon-whitespace

    There should be no whitespace preceding the colon, exactly one whitespace after the colon for: * var, class, struct, protocol, extension, func, and tuple declarations * dict literals and types * case statements

    However, for conditional expressions there should be a single whitespace before and after the colon.

    Variable declarations

    Preferred

    var x: Int = 2

    Not Preferred

    var x : Int
    var y:   String

    Dictionary literals and types

    Preferred

    var x = [ 'key1': 1, 'key2': 2 ]
    var y: [ Int: String ]

    Not Preferred

    var x = [ 'key1' : 1, 'key2':  3]
    var y: [ Int :    String ]

    Case statements

    Preferred

    switch character {
    case "a": doSomething(a);
    default: alert();
    }

    Not Preferred

    switch character {
    case "a" : doSomething(a);
    default:     alert();
    }

    Class, Struct, Protocol, and Extension declarations

    Preferred

    class ClassName: BaseClass {
    }
    
    struct StructName: BaseStruct {
    }
    
    protocol ProtocolName: AnotherProtocol {
    }
    
    extension TypeName: ProtocolName {
    }

    Not Preferred

    class ClassName : BaseClass {
    }
    
    struct StructName:  BaseStruct {
    }
    
    protocol ProtocolName:AnotherProtocol {
    }
    
    extension TypeName : ProtocolName {
    }

    Tuple declarations

    Preferred

    var y = (key: 1, value: 2)

    Not Preferred

    var y = (key:1, value : 2)

    Function declarations

    Preferred

    func someFunction<t: someclass u: someprotocol>(someT: T, someU: U) {
    }</t:>

    Not Preferred

    func someFunction<t : someclass u:someprotocol>(someT: T, someU: U) {
    }</t>

    Conditional expressions

    Preferred

    var x = condition ? a : b

    Not Preferred

    var x = condition ? a: b
    var x = condition ? a   : b

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    Line should not have any trailing whitespace
    Open

        
    Severity: Minor
    Found in Kinvey/Kinvey/RequestFactory.swift by tailor

    trailing-whitespace

    Flag whitespace after the last non-whitespace character on each line until the newline.

    Preferred

    let number = 42¬

    Not Preferred

    let number = 42••¬

    There are no issues that match your filters.

    Category
    Status