Bloombox/Swift

View on GitHub

Showing 29 of 106 total issues

Function event has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

  public func event(collection: EventCollection,
                    uuid: String? = nil,
                    payload: [String: Any]? = nil,
                    occurred: Double? = nil,
                    context: EventContext? = nil,
Severity: Minor
Found in Sources/Client/TelemetryClient+Generic.swift - About 45 mins to fix

    Function checkinByID has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      public func checkinByID(scan: String,
                              partner: PartnerCode? = nil,
                              location: LocationCode? = nil,
                              deviceName: DeviceCode? = nil,
                              fingerprint: String? = nil,
    Severity: Minor
    Found in Sources/Client/CheckinClient.swift - About 45 mins to fix

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

        public func getOrder(id: OrderID,
                             isLocal: Bool = false,
                             partner: PartnerCode? = nil,
                             location: LocationCode? = nil,
                             apiKey: APIKey? = nil) throws -> GetOrder.Response {
      Severity: Minor
      Found in Sources/Client/ShopClient.swift - About 35 mins to fix

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

          public func verifyMember(phone: PhoneNumber,
                                   partner: PartnerCode? = nil,
                                   location: LocationCode? = nil,
                                   apiKey: APIKey? = nil,
                                   callback: @escaping VerifyMemberCallback) throws -> VerifyMemberCall {
        Severity: Minor
        Found in Sources/Client/ShopClient.swift - About 35 mins to fix

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

            public func activate(deviceSerial name: DeviceSerial,
                                 withFingerprint fingerprint: DeviceFingerprint? = nil,
                                 withPublicKey publicKey: DevicePublicKey? = nil,
                                 authorizedBy apiKey: APIKey? = nil,
                                 _ callback: @escaping DeviceActivateCallback) throws -> DeviceActivateCall {
          Severity: Minor
          Found in Sources/Client/DevicesClient.swift - About 35 mins to fix

            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

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

                public func submitOrder(order: Order,
                                        partner: PartnerCode? = nil,
                                        location: LocationCode? = nil,
                                        deviceName: DeviceCode? = nil,
                                        apiKey: APIKey? = nil) throws -> SubmitOrder.Response {
              Severity: Minor
              Found in Sources/Client/ShopClient.swift - About 35 mins to fix

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

                  public func verifyMember(email: String,
                                           partner: PartnerCode? = nil,
                                           location: LocationCode? = nil,
                                           apiKey: APIKey? = nil,
                                           callback: @escaping VerifyMemberCallback) throws -> VerifyMemberCall {
                Severity: Minor
                Found in Sources/Client/ShopClient.swift - About 35 mins to fix

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

                    public func checkZipcode(zipcode: String,
                                             partner: PartnerCode? = nil,
                                             location: LocationCode? = nil,
                                             apiKey: APIKey? = nil,
                                             callback: @escaping CheckZipcodeCallback) throws -> CheckZipcodeCall {
                  Severity: Minor
                  Found in Sources/Client/ShopClient.swift - About 35 mins to fix
                    Severity
                    Category
                    Status
                    Source
                    Language