OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

Avoid too many return statements within this method.
Open

                return true, 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 operand[operand[TYPE]]
    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 value.to_s
      Severity: Major
      Found in openc3/lib/openc3/packets/json_packet.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 -1
          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 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 method.
                  Open

                            return value.to_s
                  Severity: Major
                  Found in openc3/lib/openc3/packets/json_packet.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return Regexp.new(operand[operand[TYPE]])
                    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 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 -1
                        Severity: Major
                        Found in openc3/lib/openc3/packets/structure_item.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return -1
                          Severity: Major
                          Found in openc3/lib/openc3/packets/structure_item.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                      return ConfigParser.handle_defined_constants(
                                        @parser.parameters[index + 2].convert_to_value, data_type, get_bit_size()
                                      )
                            Severity: Major
                            Found in openc3/lib/openc3/packets/parsers/packet_item_parser.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return (@buffer.length * 8) - item.bit_offset + item.original_array_size
                              Severity: Major
                              Found in openc3/lib/openc3/packets/structure.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return :STOP if @read_target_name == :STOP
                                Severity: Major
                                Found in openc3/lib/openc3/interfaces/protocols/preidentified_protocol.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return nil
                                  Severity: Major
                                  Found in openc3/lib/openc3/interfaces/interface.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                          return true if @@token_cache == token_hash
                                    Severity: Major
                                    Found in openc3/lib/openc3/models/auth_model.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return :STOP if @read_packet_name == :STOP
                                      Severity: Major
                                      Found in openc3/lib/openc3/interfaces/protocols/preidentified_protocol.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return packet
                                        Severity: Major
                                        Found in openc3/lib/openc3/interfaces/simulated_target_interface.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language