OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

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

    def prepare_write(
Severity: Minor
Found in openc3/python/openc3/logs/log_writer.py - About 35 mins to fix

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

        def determine_latest_packet_for_item(cls, target_name, item_name, cache_timeout=0.1, scope=OPENC3_SCOPE):
    Severity: Minor
    Found in openc3/python/openc3/models/cvt_model.py - About 35 mins to fix

      Function _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/python/openc3/api/api_shared.py - About 35 mins to fix

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

            def write_items(self, items, values, value_type="RAW", buffer=None):
        Severity: Minor
        Found in openc3/python/openc3/packets/packet.py - About 35 mins to fix

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

              def __init__(self, poly=DEFAULT_POLY, seed=DEFAULT_SEED, xor=False, reflect=False):
          Severity: Minor
          Found in openc3/python/openc3/utilities/crc.py - About 35 mins to fix

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

                def __init__(self, poly=DEFAULT_POLY, seed=DEFAULT_SEED, xor=True, reflect=True):
            Severity: Minor
            Found in openc3/python/openc3/utilities/crc.py - About 35 mins to fix

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

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

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

                    def read_items(self, items, value_type="RAW", buffer=None, raw_value=None):
                Severity: Minor
                Found in openc3/python/openc3/packets/packet.py - About 35 mins to fix

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

                      def handle_limits_values(self, item, value, limits_set, ignore_persistence):
                  Severity: Minor
                  Found in openc3/python/openc3/packets/packet.py - About 35 mins to fix

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

                        def get_tlm_values(cls, items: list, stale_time: int = 30, cache_timeout: float = 0.1, scope: str = OPENC3_SCOPE):
                    Severity: Minor
                    Found in openc3/python/openc3/models/cvt_model.py - About 35 mins to fix

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

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

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

                            def list_files(self, bucket, path, only_directories=False, metadata=False):
                        Severity: Minor
                        Found in openc3/python/openc3/utilities/bucket.py - About 35 mins to fix

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

                              def map_target(self, target_name, cmd_only=False, tlm_only=False, unmap_old=True):
                          Severity: Minor
                          Found in openc3/python/openc3/models/interface_model.py - About 35 mins to fix

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

                                def write(self, name, value, value_type="CONVERTED", buffer=None):
                            Severity: Minor
                            Found in openc3/python/openc3/packets/packet.py - About 35 mins to fix

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

                                  def packet_item(
                              Severity: Minor
                              Found in openc3/python/openc3/models/target_model.py - About 35 mins to fix

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

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

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

                                      def formatted(self, value_type="CONVERTED", indent=0, buffer=None, ignored=None):
                                  Severity: Minor
                                  Found in openc3/python/openc3/packets/packet.py - About 35 mins to fix

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

                                        def parse(cls, parser, packet, cmd_or_tlm, item, warnings):
                                    Severity: Minor
                                    Found in openc3/python/openc3/packets/parsers/state_parser.py - About 35 mins to fix

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

                                          def __init__(self, poly=DEFAULT_POLY, seed=DEFAULT_SEED, xor=False, reflect=False):
                                      Severity: Minor
                                      Found in openc3/python/openc3/utilities/crc.py - About 35 mins to fix

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

                                            def __init__(self, poly=DEFAULT_POLY, seed=DEFAULT_SEED, xor=True, reflect=True):
                                        Severity: Minor
                                        Found in openc3/python/openc3/utilities/crc.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language