XYOracleNetwork/sdk-ble-flutter

View on GitHub

Showing 312 of 312 total issues

Avoid too many return statements within this function.
Open

        if _storage._name != rhs_storage._name {return false}
Severity: Major
Found in ios/Classes/protos/device.pb.swift - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return XYBluetoothResult(error: .dataNotPresent)
    Severity: Major
    Found in ios/Classes/GattDefinedOperationRequest.swift - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return "Regular interaction"

        Avoid too many return statements within this method.
        Open

                return (byte) 1;

          Avoid too many return statements within this function.
          Open

              return true
          Severity: Major
          Found in ios/Classes/protos/gatt.pb.swift - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return true
            Severity: Major
            Found in ios/Classes/protos/gatt.pb.swift - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return true
              Severity: Major
              Found in ios/Classes/protos/gatt.pb.swift - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      if !storagesAreEqual {return false}
                Severity: Major
                Found in ios/Classes/protos/gatt.pb.swift - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                            return parser;

                    Avoid too many return statements within this method.
                    Open

                                            return mapOf(Pair(item.first, item.second))
                    Severity: Major
                    Found in android/src/main/kotlin/network/xyo/ble/xyo_ble/XyoHumanHeuristics.kt - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                return parser;

                        Avoid too many return statements within this function.
                        Open

                            return true
                        Severity: Major
                        Found in ios/Classes/protos/device.pb.swift - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return true
                          Severity: Major
                          Found in ios/Classes/protos/device.pb.swift - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return emptyMap()
                            Severity: Major
                            Found in android/src/main/kotlin/network/xyo/ble/xyo_ble/XyoHumanHeuristics.kt - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return (byte) 1;

                                Avoid too many return statements within this function.
                                Open

                                      if !storagesAreEqual {return false}
                                Severity: Major
                                Found in ios/Classes/protos/device.pb.swift - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      if lhs.parties != rhs.parties {return false}
                                  Severity: Major
                                  Found in ios/Classes/protos/bound_witness.pb.swift - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return true
                                    Severity: Major
                                    Found in ios/Classes/protos/gatt.pb.swift - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          if lhs.unknownFields != rhs.unknownFields {return false}
                                      Severity: Major
                                      Found in ios/Classes/protos/gatt.pb.swift - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return xyDevice.lock()
                                        Severity: Major
                                        Found in ios/Classes/GattDefinedOperationRequest.swift - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language