OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

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

    def _cmd_disconnect(cmd, raw, no_range, no_hazardous, *args, scope: $openc3_scope)
Severity: Minor
Found in openc3/lib/openc3/script/commands.rb - About 35 mins to fix

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

        def _check_eval(target_name, packet_name, item_name, comparison_to_eval, value)
    Severity: Minor
    Found in openc3/lib/openc3/script/api_shared.rb - About 35 mins to fix

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

          def wait_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

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

            def packet_define_item(item, format_string, read_conversion, write_conversion, id_value)
        Severity: Minor
        Found in openc3/lib/openc3/packets/packet.rb - About 35 mins to fix

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

              def self.build_comm_timeouts(read_interval_timeout = 4294967295, read_total_timeout_multiplier = 0, read_total_timeout_constant = 0, write_total_timeout_multiplier = 0, write_total_timeout_constant = 0)
          Severity: Minor
          Found in openc3/lib/openc3/win32/win32.rb - About 35 mins to fix

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