OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

Method deploy_decomcmdlog_microservice has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def deploy_decomcmdlog_microservice(gem_path, variables, topics, instance = nil, parent = nil)
Severity: Minor
Found in openc3/lib/openc3/models/target_model.rb - About 35 mins to fix

    Method parse has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def self.parse(parser, packet, cmd_or_tlm, item, warnings)
    Severity: Minor
    Found in openc3/lib/openc3/packets/parsers/limits_parser.rb - About 35 mins to fix

      Method process has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def self.process(commands, telemetry, warnings, filename, target_name = nil)
      Severity: Minor
      Found in openc3/lib/openc3/packets/parsers/xtce_parser.rb - About 35 mins to fix

        Method deploy_packetlog_microservice has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def deploy_packetlog_microservice(gem_path, variables, topics, instance = nil, parent = nil)
        Severity: Minor
        Found in openc3/lib/openc3/models/target_model.rb - About 35 mins to fix

          Method read has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                def self.read(bit_offset, bit_size, data_type, buffer, endianness)
          Severity: Minor
          Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 35 mins to fix

            Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def initialize(name, endianness, type, description, filename)
            Severity: Minor
            Found in openc3/lib/openc3/tools/table_manager/table.rb - About 35 mins to fix

              Method get_packet_index has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def get_packet_index(cmd_or_tlm, target_name, packet_name, entry_type, data)
              Severity: Minor
              Found in openc3/lib/openc3/logs/packet_log_writer.rb - About 35 mins to fix

                Method raise_buffer_error has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def self.raise_buffer_error(read_write, buffer, data_type, given_bit_offset, given_bit_size)
                Severity: Minor
                Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 35 mins to fix

                  Method handle_received_time_extra_and_data has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      def handle_received_time_extra_and_data(entry, time_nsec_since_epoch, includes_received_time, includes_extra, cbor)
                  Severity: Minor
                  Found in openc3/lib/openc3/logs/packet_log_reader.rb - About 35 mins to fix

                    Method _build_cmd_output_string has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        def _build_cmd_output_string(method_name, target_name, cmd_name, cmd_params, packet)
                    Severity: Minor
                    Found in openc3/lib/openc3/api/cmd_api.rb - About 35 mins to fix

                      Method check_bounds_and_buffer_size has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                            def self.check_bounds_and_buffer_size(bit_offset, bit_size, buffer_length, endianness, data_type)
                      Severity: Minor
                      Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 35 mins to fix

                        Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            def initialize(hostname, port = 1883, ssl = false, write_topic = nil, read_topic = nil)
                        Severity: Minor
                        Found in openc3/lib/openc3/streams/mqtt_stream.rb - About 35 mins to fix

                          Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def initialize(processor_name, result_name, converted_type = nil, converted_bit_size = nil, converted_array_size = nil)
                          Severity: Minor
                          Found in openc3/lib/openc3/conversions/processor_conversion.rb - About 35 mins to fix

                            Method check_bit_offset_and_size has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                  def self.check_bit_offset_and_size(read_or_write, given_bit_offset, given_bit_size, data_type, buffer)
                            Severity: Minor
                            Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 35 mins to fix

                              Method write_topic has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def write_topic(topic, msg_hash, id = '*', maxlen = nil, approximate = 'true')
                              Severity: Minor
                              Found in openc3/lib/openc3/utilities/store_autoload.rb - About 35 mins to fix

                                Method spawn has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    def spawn(cmd_array, process_type, detail, expires_at, **kw_args)
                                Severity: Minor
                                Found in openc3/lib/openc3/utilities/process_manager.rb - About 35 mins to fix

                                  Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def initialize(cmd_array, process_type, detail, expires_at, **kw_args)
                                  Severity: Minor
                                  Found in openc3/lib/openc3/utilities/process_manager.rb - About 35 mins to fix

                                    Method instrument_script_implementation has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                      def self.instrument_script_implementation(ruby_lex_utils,
                                                                                comments_removed_text,
                                                                                _num_lines,
                                                                                filename,
                                                                                mark_private = false)
                                    Severity: Minor
                                    Found in openc3-cosmos-script-runner-api/app/models/running_script.rb - About 35 mins to fix

                                      Method cycle_tlm_item has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          def cycle_tlm_item(packet, item_name, min, max, first_delta)
                                      Severity: Minor
                                      Found in openc3/lib/openc3/utilities/simulated_target.rb - About 35 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                  return result
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language