saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

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

    Avoid too many return statements within this function.
    Open

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

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

                    return 'Idle daemon'
        Severity: Major
        Found in salt/modules/puppet.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

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

              Avoid too many return statements within this function.
              Open

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

                Avoid too many return statements within this function.
                Open

                        return {}
                Severity: Major
                Found in salt/modules/boto_elasticache.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

                                return {'new': defined, 'old': existing} if return_old_value else defined
                    Severity: Major
                    Found in salt/modules/zabbix.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

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

                        Avoid too many return statements within this function.
                        Open

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

                          Avoid too many return statements within this function.
                          Open

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

                            Avoid too many return statements within this function.
                            Open

                                    return '"{0}"'.format(value)
                            Severity: Major
                            Found in salt/modules/jboss7.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

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

                                Avoid too many return statements within this function.
                                Open

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

                                  Avoid too many return statements within this function.
                                  Open

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

                                    Avoid too many return statements within this function.
                                    Open

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

                                      Avoid too many return statements within this function.
                                      Open

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

                                        Avoid too many return statements within this function.
                                        Open

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