OpenC3/cosmos

View on GitHub

Showing 1,379 of 1,379 total issues

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

                            Avoid too many return statements within this method.
                            Open

                                    return nil unless @packet.extra
                            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 buffer[lower_bound..upper_bound].unpack(PACK_BIG_ENDIAN_32_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_BIG_ENDIAN_32_BIT_FLOAT)[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_LITTLE_ENDIAN_64_BIT_FLOAT)[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 @packet.extra['HTTP_ERROR_PACKET']
                                    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 false
                                      Severity: Major
                                      Found in openc3/lib/openc3/api/offline_access_api.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return nil
                                        Severity: Major
                                        Found in openc3/lib/openc3/api/tlm_api.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language