OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

Avoid too many return statements within this function.
Open

                    return f"Interface not connected: {self.interface.name}"
Severity: Major
Found in openc3/python/openc3/microservices/interface_microservice.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return repr(error)
    Severity: Major
    Found in openc3/python/openc3/microservices/interface_microservice.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return False
      Severity: Major
      Found in openc3/python/openc3/packets/structure_item.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                            return f"CriticalCmdError\n{model.name}"
        Severity: Major
        Found in openc3/python/openc3/microservices/interface_microservice.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                              return "SUCCESS"
          Severity: Major
          Found in openc3/python/openc3/microservices/interface_microservice.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return None
            Severity: Major
            Found in openc3/python/openc3/interfaces/protocols/burst_protocol.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                  return
              Severity: Major
              Found in openc3/python/openc3/interfaces/interface.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                    return packet
                Severity: Major
                Found in openc3/python/openc3/interfaces/simulated_target_interface.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return object_
                  Severity: Major
                  Found in openc3/python/openc3/io/json_rpc.py - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return operand[operand[TYPE]].to_s
                    Severity: Major
                    Found in openc3/lib/openc3/microservices/trigger_group_microservice.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                return left == right ? 1 : 0
                      Severity: Major
                      Found in openc3/lib/openc3/microservices/trigger_group_microservice.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return visited["#{trigger.name}__R"] = 0
                        Severity: Major
                        Found in openc3/lib/openc3/microservices/trigger_group_microservice.rb - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return bytearray(raw)
                          Severity: Major
                          Found in openc3/python/openc3/io/json_rpc.py - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                          return false, value
                            Severity: Major
                            Found in openc3/lib/openc3/script/api_shared.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                        return left || right ? 1 : 0
                              Severity: Major
                              Found in openc3/lib/openc3/microservices/trigger_group_microservice.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                          return left !~ right ? 1 : 0
                                Severity: Major
                                Found in openc3/lib/openc3/microservices/trigger_group_microservice.rb - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return object_
                                  Severity: Major
                                  Found in openc3/python/openc3/io/json_rpc.py - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                          return false, value
                                    Severity: Major
                                    Found in openc3/lib/openc3/script/api_shared.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                            return visited["#{trigger.name}__R"] = result
                                      Severity: Major
                                      Found in openc3/lib/openc3/microservices/trigger_group_microservice.rb - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return object_
                                        Severity: Major
                                        Found in openc3/python/openc3/io/json_rpc.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language