OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

Method _openc3_script_wait_implementation_comparison has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def _openc3_script_wait_implementation_comparison(target_name, packet_name, item_name, value_type, comparison_to_eval, timeout, polling_rate = DEFAULT_TLM_POLLING_RATE, scope: $openc3_scope, token: $openc3_token, &block)
Severity: Major
Found in openc3/lib/openc3/script/api_shared.rb - About 1 hr to fix

    Method _openc3_script_wait_implementation has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def _openc3_script_wait_implementation(target_name, packet_name, item_name, value_type, timeout, polling_rate, exp_to_eval, scope: $openc3_scope, token: $openc3_token, &block)
    Severity: Major
    Found in openc3/lib/openc3/script/api_shared.rb - About 1 hr to fix

      Consider simplifying this complex logical expression.
      Open

            if @cmd_log_retain_time or @cmd_decom_log_retain_time or @tlm_log_retain_time or @tlm_decom_log_retain_time or
               @reduced_minute_log_retain_time or @reduced_hour_log_retain_time or @reduced_day_log_retain_time
              # Cleanup Microservice
              deploy_target_microservices('CLEANUP', nil, nil) do |_, instance, parent|
                deploy_cleanup_microservice(gem_path, variables, instance, parent)
      Severity: Major
      Found in openc3/lib/openc3/models/target_model.rb - About 1 hr to fix

        Method write_array has 8 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def self.write_array(values, bit_offset, bit_size, data_type, array_size, buffer, endianness, overflow)
        Severity: Major
        Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 1 hr to fix

          Method write_entry has 8 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def write_entry(entry_type, cmd_or_tlm, target_name, packet_name, time_nsec_since_epoch, stored, data, id, received_time_nsec_since_epoch: nil, extra: nil)
          Severity: Major
          Found in openc3/lib/openc3/logs/packet_log_writer.rb - About 1 hr to fix

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

                  remote_log_directory,
                  label,
                  logging_enabled = true,
                  cycle_time = nil,
                  cycle_size = 1_000_000_000,
            Severity: Major
            Found in openc3/lib/openc3/logs/packet_log_writer.rb - About 1 hr to fix

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

                  def initialize(port_name,
                                 baud_rate,
                                 parity = :NONE,
                                 stop_bits = 1,
                                 write_timeout = 10.0,
              Severity: Major
              Found in openc3/lib/openc3/io/serial_driver.rb - About 1 hr to fix

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

                    def initialize(port_name = '/dev/ttyS0',
                                   baud_rate = 9600,
                                   parity = :NONE,
                                   stop_bits = 1,
                                   write_timeout = 10.0,
                Severity: Major
                Found in openc3/lib/openc3/io/posix_serial_driver.rb - About 1 hr to fix

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

                        bind_port = 0,
                        bind_address = HOST_0_0_0_0,
                        external_port = nil,
                        external_address = nil,
                        multicast_interface_address = nil,
                  Severity: Major
                  Found in openc3/lib/openc3/io/udp_sockets.rb - About 1 hr to fix

                    Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        def __init__(
                    Severity: Major
                    Found in openc3/python/openc3/script/web_socket_api.py - About 50 mins to fix

                      Function wait_packet has 7 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      def wait_packet(
                      Severity: Major
                      Found in openc3/python/openc3/script/api_shared.py - About 50 mins to fix

                        Function _cmd has 7 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def _cmd(
                        Severity: Major
                        Found in openc3/python/openc3/script/commands.py - About 50 mins to fix

                          Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def __init__(
                          Severity: Major
                          Found in openc3/python/openc3/script/web_socket_api.py - About 50 mins to fix

                            Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                def __init__(
                            Severity: Major
                            Found in openc3/python/openc3/script/web_socket_api.py - About 50 mins to fix

                              Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def __init__(
                              Severity: Major
                              Found in openc3/python/openc3/script/web_socket_api.py - About 50 mins to fix

                                Function wait_check_packet has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                def wait_check_packet(
                                Severity: Major
                                Found in openc3/python/openc3/script/api_shared.py - About 50 mins to fix

                                  Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def __init__(
                                  Severity: Major
                                  Found in openc3/python/openc3/script/web_socket_api.py - About 50 mins to fix

                                    Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        def __init__(
                                    Severity: Major
                                    Found in openc3/python/openc3/script/web_socket_api.py - About 50 mins to fix

                                      Function define_item has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          def define_item(
                                      Severity: Major
                                      Found in openc3/python/openc3/packets/structure.py - About 50 mins to fix

                                        Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            def __init__(
                                        Severity: Major
                                        Found in openc3/python/openc3/interfaces/protocols/fixed_protocol.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language