OpenC3/cosmos

View on GitHub

Showing 1,379 of 1,379 total issues

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

    def override(cls, target_name, packet_name, item_name, value, type="ALL", scope=OPENC3_SCOPE):
Severity: Major
Found in openc3/python/openc3/models/cvt_model.py - About 50 mins to fix

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

        def _parse_item(cls, now, lookups, overrides, item, cache_timeout, scope):
    Severity: Major
    Found in openc3/python/openc3/models/cvt_model.py - About 50 mins to fix

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

          def put_object(self, bucket, key, body, content_type=None, cache_control=None, metadata=None):
      Severity: Major
      Found in openc3/python/openc3/utilities/bucket.py - About 50 mins to fix

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

            def set_item(
        Severity: Major
        Found in openc3/python/openc3/models/cvt_model.py - About 50 mins to fix

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

              def read_array(cls, bit_offset, bit_size, data_type, array_size, buffer, endianness):
          Severity: Major
          Found in openc3/python/openc3/accessors/binary_accessor.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/packets/packet_item.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/api/api_shared.py - About 50 mins to fix

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

                    def set(self, name, value, type=None, unit=None, help=None, labels=None, time_ms=None):
                Severity: Major
                Found in openc3/python/openc3/utilities/metric.py - About 50 mins to fix

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

                  def _cmd_implementation(
                  Severity: Major
                  Found in openc3/python/openc3/api/cmd_api.py - About 50 mins to fix

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

                        def _handle_item_override(
                    Severity: Major
                    Found in openc3/python/openc3/models/cvt_model.py - About 50 mins to fix

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

                      def authorize(
                      Severity: Major
                      Found in openc3/python/openc3/utilities/authorization.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/packets/structure_item.py - About 50 mins to fix

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

                              def get_item(
                          Severity: Major
                          Found in openc3/python/openc3/models/cvt_model.py - About 50 mins to fix

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

                                def log_message(self, log_level, message, scope, user, type, url, other=None):
                            Severity: Major
                            Found in openc3/python/openc3/utilities/logger.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/terminated_protocol.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/logs/log_writer.py - About 50 mins to fix

                                  Method check_new_file has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def check_new_file(reducer_state, plw, type, target_name, stored, current_time, file_nanoseconds)
                                  Severity: Major
                                  Found in openc3/lib/openc3/microservices/reducer_microservice.rb - About 50 mins to fix

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

                                        def initialize(cmd_or_tlm, target_name, packet_name, time_nsec_since_epoch, stored, json_data, key_map = nil, received_time_nsec_since_epoch: nil, extra: nil)
                                    Severity: Major
                                    Found in openc3/lib/openc3/packets/json_packet.rb - About 50 mins to fix

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

                                          def run_thread_body(
                                      Severity: Major
                                      Found in openc3-cosmos-script-runner-api/scripts/running_script.py - About 50 mins to fix

                                        Method create_file has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            def self.create_file(filename, desired_access, share_mode, security_attributes, creation_disposition, flags_and_attributes, template_file = NULL)
                                        Severity: Major
                                        Found in openc3/lib/openc3/win32/win32.rb - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language