amilcarlucas/MethodicConfigurator

View on GitHub

Showing 36 of 36 total issues

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

    def __init__(self, parent, title, message: str="", width: int=300, height: int=80):  # pylint: disable=too-many-arguments
Severity: Minor
Found in MethodicConfigurator/frontend_tkinter_base.py - About 35 mins to fix

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

    def generate_calibration_file(outfile, online, progress_callback, data, c):  # pylint: disable=too-many-locals
    Severity: Minor
    Found in MethodicConfigurator/tempcal_imu.py - About 35 mins to fix

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

      def parse_parameter_metadata(xml_url: str, xml_dir: str, xml_file: str,
      Severity: Minor
      Found in MethodicConfigurator/annotate_params.py - About 35 mins to fix

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

        def output_params(params: Dict[str, float], format_type: str = 'missionplanner',  # pylint: disable=too-many-branches
        Severity: Minor
        Found in MethodicConfigurator/extract_param_defaults.py - About 35 mins to fix

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

          def component_editor(args, flight_controller, vehicle_type, local_filesystem, vehicle_dir_window):
          Severity: Minor
          Found in MethodicConfigurator/ardupilot_methodic_configurator.py - About 35 mins to fix

            Avoid too many return statements within this function.
            Open

                        return
            Severity: Major
            Found in MethodicConfigurator/backend_mavftp.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                      return
              Severity: Major
              Found in MethodicConfigurator/backend_mavftp.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return
                Severity: Major
                Found in MethodicConfigurator/frontend_tkinter_directory_selection.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                      return
                  Severity: Major
                  Found in MethodicConfigurator/backend_mavftp.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return pdata
                    Severity: Major
                    Found in MethodicConfigurator/param_ftp.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return files[start_file_index]
                      Severity: Major
                      Found in MethodicConfigurator/backend_filesystem.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                            return
                        Severity: Major
                        Found in MethodicConfigurator/backend_mavftp.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                              return
                          Severity: Major
                          Found in MethodicConfigurator/backend_mavftp.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                                return
                            Severity: Major
                            Found in MethodicConfigurator/backend_mavftp.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return
                              Severity: Major
                              Found in MethodicConfigurator/frontend_tkinter_directory_selection.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return str(e)
                                Severity: Major
                                Found in MethodicConfigurator/backend_flightcontroller.py - About 30 mins to fix
                                  Severity
                                  Category
                                  Status
                                  Source
                                  Language