saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

    return True
Severity: Major
Found in salt/modules/smartos_vmadm.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                                return _error(
    Severity: Major
    Found in salt/modules/file.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return ret
      Severity: Major
      Found in salt/modules/file.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return _netstat_aix()
        Severity: Major
        Found in salt/modules/network.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return sfn, source_sum, ''
          Severity: Major
          Found in salt/modules/file.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                                return ret
            Severity: Major
            Found in salt/modules/file.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                  return ret
              Severity: Major
              Found in salt/modules/file.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                    return _error(ret, 'Parent directory not present')
                Severity: Major
                Found in salt/modules/file.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                              return _error(
                  Severity: Major
                  Found in salt/modules/file.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                    return _error(
                    Severity: Major
                    Found in salt/modules/file.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return False
                      Severity: Major
                      Found in salt/modules/dig.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                        return sfn, {}, ('Specified template format {0} is not supported'
                        Severity: Major
                        Found in salt/modules/file.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return ret
                          Severity: Major
                          Found in salt/modules/network.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return __virtualname__
                            Severity: Major
                            Found in salt/modules/linux_ip.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return '', {}, 'Failed to cache {0}: {1}'.format(_source, exc)
                              Severity: Major
                              Found in salt/modules/file.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return (False, 'The linux_ip execution module cannot be loaded: '
                                Severity: Major
                                Found in salt/modules/linux_ip.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return sfn, {}, 'Source file \'{0}\' not found'.format(_source)
                                  Severity: Major
                                  Found in salt/modules/file.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return True
                                    Severity: Major
                                    Found in salt/modules/dig.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return sfn, {}, data['data']
                                      Severity: Major
                                      Found in salt/modules/file.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return ret
                                        Severity: Major
                                        Found in salt/modules/dig.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language