OpenC3/cosmos

View on GitHub

Showing 842 of 1,379 total issues

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 true # Recurse further
    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 -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 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 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 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 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 (@buffer.length * 8) - item.bit_offset + item.original_bit_size
                  Severity: Major
                  Found in openc3/lib/openc3/packets/structure.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]
                      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 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 packet
                          Severity: Major
                          Found in openc3/lib/openc3/packets/telemetry.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                      return (length_value * item.variable_bit_size['length_bits_per_count']) + item.variable_bit_size['length_value_bit_offset']
                            Severity: Major
                            Found in openc3/lib/openc3/packets/structure.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return :STOP if packet_data == :STOP
                              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 false
                                Severity: Major
                                Found in openc3/lib/openc3/interfaces/linc_interface.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 packet
                                    Severity: Major
                                    Found in openc3/lib/openc3/interfaces/simulated_target_interface.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return nil
                                      Severity: Major
                                      Found in openc3/lib/openc3/models/cvt_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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language