OpenC3/cosmos

View on GitHub

Showing 1,379 of 1,379 total issues

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

    def start(test_type, test_suite_class, test_class = nil, test_case = nil, settings = nil)
Severity: Minor
Found in openc3/lib/openc3/script/suite_results.rb - About 35 mins to fix

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

        def wait_check_packet(target_name,
                              packet_name,
                              num_packets,
                              timeout,
                              polling_rate = DEFAULT_TLM_POLLING_RATE,
    Severity: Minor
    Found in openc3/lib/openc3/script/api_shared.rb - About 35 mins to fix

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

          def run_text(
      Severity: Minor
      Found in openc3-cosmos-script-runner-api/scripts/running_script.py - About 35 mins to fix

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

        def display_screen(target_name, screen_name, x=None, y=None, scope=OPENC3_SCOPE):
        Severity: Minor
        Found in openc3-cosmos-script-runner-api/scripts/running_script.py - About 35 mins to fix

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

              def wait_check_expression(exp_to_eval,
                                        timeout,
                                        polling_rate = DEFAULT_TLM_POLLING_RATE,
                                        context = nil,
                                        scope: $openc3_scope, token: $openc3_token, &block)
          Severity: Minor
          Found in openc3/lib/openc3/script/api_shared.rb - About 35 mins to fix

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

                def self.build_cmd(target_name, cmd_name, cmd_params, range_check, raw, scope:)
            Severity: Minor
            Found in openc3/lib/openc3/topics/decom_interface_topic.rb - About 35 mins to fix

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

                  def limits_change_callback(packet, item, old_limits_state, value, log_change)
              Severity: Minor
              Found in openc3/lib/openc3/microservices/decom_microservice.rb - About 35 mins to fix

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

                    def deploy_decomlog_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 deploy_reducer_microservice has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      def deploy_reducer_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/state_parser.rb - About 35 mins to fix

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

                          def self._get_overrides(now, tgt_pkt_key, overrides, target_name, packet_name, cache_timeout:, scope:)
                      Severity: Minor
                      Found in openc3/lib/openc3/models/cvt_model.rb - About 35 mins to fix

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

                            def self.parse_telemetry(parser, target_name, telemetry, latest_data, warnings)
                        Severity: Minor
                        Found in openc3/lib/openc3/packets/parsers/packet_parser.rb - About 35 mins to fix

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

                              def deploy_commmandlog_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 initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                def initialize(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 set_value has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def set_value(target_name, packet_name, item_name, value, value_type = :CONVERTED)
                              Severity: Minor
                              Found in openc3/lib/openc3/packets/telemetry.rb - About 35 mins to fix

                                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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language