OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

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

                Avoid too many return statements within this method.
                Open

                        return read(identify_and_define)
                Severity: Major
                Found in openc3/lib/openc3/logs/packet_log_reader.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                    return temp.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_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 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 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 read(identify_and_define)
                          Severity: Major
                          Found in openc3/lib/openc3/logs/packet_log_reader.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_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 queries[query_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 buffer[lower_bound..upper_bound].unpack(PACK_NATIVE_64_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_LITTLE_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_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 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 string
                                        Severity: Major
                                        Found in openc3/lib/openc3/core_ext/openc3_io.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language