OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

Avoid too many return statements within this method.
Open

        return value
Severity: Major
Found in openc3/lib/openc3/packets/json_packet.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                  return 1
    Severity: Major
    Found in openc3/lib/openc3/packets/structure_item.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                return @parser.parameters[index + 2].convert_to_value
      Severity: Major
      Found in openc3/lib/openc3/packets/parsers/packet_item_parser.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return packet_data, @extra
        Severity: Major
        Found in openc3/lib/openc3/interfaces/protocols/preidentified_protocol.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return
          Severity: Major
          Found in openc3/lib/openc3/interfaces/interface.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                      return if packet == :STOP
            Severity: Major
            Found in openc3/lib/openc3/interfaces/interface.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return false
              Severity: Major
              Found in openc3/lib/openc3/models/auth_model.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return nil
                Severity: Major
                Found in openc3/lib/openc3/packets/json_packet.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return false # Already recursed
                  Severity: Major
                  Found in openc3/lib/openc3/packets/parsers/xtce_parser.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return true if service_password and service_password == token
                    Severity: Major
                    Found in openc3/lib/openc3/models/auth_model.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return temp
                      Severity: Major
                      Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                  return headers[header_name]
                        Severity: Major
                        Found in openc3/lib/openc3/accessors/http_accessor.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return @body_accessor.read_item(item, buffer)
                          Severity: Major
                          Found in openc3/lib/openc3/accessors/http_accessor.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                              return temp.unpack(PACK_NATIVE_16_BIT_INT)[0]
                            Severity: Major
                            Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return buffer.getbyte(lower_bound)
                              Severity: Major
                              Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                  return temp.unpack(PACK_NATIVE_64_BIT_UINT)[0]
                                Severity: Major
                                Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return return_value
                                  Severity: Major
                                  Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                      return buffer[lower_bound..upper_bound].unpack(PACK_LITTLE_ENDIAN_16_BIT_UINT)[0]
                                    Severity: Major
                                    Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                        return buffer[lower_bound..upper_bound].unpack(PACK_NATIVE_32_BIT_INT)[0]
                                      Severity: Major
                                      Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return buffer[lower_bound..upper_bound].unpack(PACK_BIG_ENDIAN_64_BIT_FLOAT)[0]
                                        Severity: Major
                                        Found in openc3/lib/openc3/accessors/binary_accessor.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language