Bloombox/Swift

View on GitHub
Sources/Client/MenuClient.swift

Summary

Maintainability
A
35 mins
Test Coverage

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

  public func retrieve(partner: PartnerCode? = nil,
                       location: LocationCode? = nil,
                       keysOnly: Bool = false,
                       apiKey: APIKey? = nil,
                       callback: @escaping MenuRetrieveCallback) throws -> GetMenuCall {
Severity: Minor
Found in Sources/Client/MenuClient.swift - About 35 mins to fix

    Multiline comment should end with whitespace
    Open

    **/
    Severity: Minor
    Found in Sources/Client/MenuClient.swift by tailor

    comment-whitespace

    Prefer at least one whitespace character after a comment opening symbol (//, ///, /*, or /**) and at least one whitespace character before a comment closing symbol (*/).

    Preferred

    // This is a comment
    
    /// This is a documentation comment
    
    /* This is a
    multi-line comment */
    
    /* This is a
    multi-line comment
    */
    
    /** This is a
    documentation multi-line
    comment
    */

    Not Preferred

    //This is a comment
    
    ///This is a documentation comment
    
    /*This is a
    multi-line comment*/
    
    /**This is a multi-line
    documentation comment */

    There are no issues that match your filters.

    Category
    Status