Showing 1,896 of 2,859 total issues

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

def GenerateOutputForConfig(target_list, target_dicts, data,
Severity: Minor
Found in tools/gyp/pylib/gyp/generator/cmake.py - About 35 mins to fix

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

    def _AddConfigurationToMSVSProject(p, spec, config_type, config_name, config):
    Severity: Minor
    Found in tools/gyp/pylib/gyp/generator/msvs.py - About 35 mins to fix

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

        def WriteRules(self, rules, extra_sources, prebuild,
      Severity: Minor
      Found in tools/gyp/pylib/gyp/generator/ninja.py - About 35 mins to fix

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

        def _ConvertSourcesToFilterHierarchy(sources, prefix=None, excluded=None,
        Severity: Minor
        Found in tools/gyp/pylib/gyp/generator/msvs.py - About 35 mins to fix

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

          def _ToolAppend(tools, tool_name, setting, value, only_if_unset=False):
          Severity: Minor
          Found in tools/gyp/pylib/gyp/generator/msvs.py - About 35 mins to fix

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

              def __init__(self, path, version, entries=None, variants=None,
            Severity: Minor
            Found in tools/gyp/pylib/gyp/MSVSNew.py - About 35 mins to fix

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

              def _GenerateNativeRulesForMSVS(p, rules, output_dir, spec, options):
              Severity: Minor
              Found in tools/gyp/pylib/gyp/generator/msvs.py - About 35 mins to fix

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

                  def WriteTarget(self, spec, config_name, config, link_deps, compile_deps):
                Severity: Minor
                Found in tools/gyp/pylib/gyp/generator/ninja.py - About 35 mins to fix

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

                  def _MovedAndRenamed(tool, msvs_settings_name, msbuild_tool_name,
                  Severity: Minor
                  Found in tools/gyp/pylib/gyp/MSVSSettings.py - About 35 mins to fix

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

                    def GenerateOutputForConfig(target_list, target_dicts, data, params,
                    Severity: Minor
                    Found in tools/gyp/pylib/gyp/generator/ninja.py - About 35 mins to fix

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

                      def PruneUnwantedTargets(targets, flat_list, dependency_nodes, root_targets,
                      Severity: Minor
                      Found in tools/gyp/pylib/gyp/input.py - About 35 mins to fix

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

                        def WriteXmlIfChanged(content, path, encoding='utf-8', pretty=False,
                        Severity: Minor
                        Found in tools/gyp/pylib/gyp/easy_xml.py - About 35 mins to fix

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

                          def MergeConfigWithInheritance(new_configuration_dict, build_file,
                          Severity: Minor
                          Found in tools/gyp/pylib/gyp/input.py - About 35 mins to fix

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

                            def ProcessVariablesAndConditionsInDict(the_dict, phase, variables_in,
                            Severity: Minor
                            Found in tools/gyp/pylib/gyp/input.py - About 35 mins to fix

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

                                def _LinkDependenciesInternal(self, targets, include_shared_libraries,
                              Severity: Minor
                              Found in tools/gyp/pylib/gyp/input.py - About 35 mins to fix

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

                                  def __init__(
                                Severity: Minor
                                Found in tools/gyp/pylib/gyp/msvs_emulation.py - About 35 mins to fix

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

                                  def _Replacement_writexml(self, writer, indent="", addindent="", newl=""):
                                  Severity: Minor
                                  Found in tools/gyp/pylib/gyp/xml_fix.py - About 35 mins to fix

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

                                    def _GetXcodeEnv(xcode_settings, built_products_dir, srcroot, configuration,
                                    Severity: Minor
                                    Found in tools/gyp/pylib/gyp/xcode_emulation.py - About 35 mins to fix

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

                                        def __init__(self, project_path, version, name, guid=None, platforms=None):
                                      Severity: Minor
                                      Found in tools/gyp/pylib/gyp/MSVSProject.py - About 35 mins to fix

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

                                          def AddImplicitPostbuilds(self, configname, output, output_binary,
                                        Severity: Minor
                                        Found in tools/gyp/pylib/gyp/xcode_emulation.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language