SpamExperts/OrangeAssassin

View on GitHub

Showing 287 of 802 total issues

Avoid too many return statements within this function.
Open

        return self._skip_scan(msg, score, caller_untie)
Severity: Major
Found in oa/plugins/bayes.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return int(1.0 - 1e-6 + nb * Na * p / (Nb * (1 - p))) - na
    Severity: Major
    Found in oa/plugins/bayes.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return False
      Severity: Major
      Found in oa/plugins/mime_eval.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return False
        Severity: Major
        Found in oa/plugins/auto_learn_threshold.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return False
          Severity: Major
          Found in oa/plugins/header_eval.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return False
            Severity: Major
            Found in oa/plugins/header_eval.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return False
              Severity: Major
              Found in oa/plugins/dns_eval.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return False
                Severity: Major
                Found in oa/plugins/header_eval.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return
                  Severity: Major
                  Found in oa/message.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return False
                    Severity: Major
                    Found in oa/plugins/dns_eval.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return True
                      Severity: Major
                      Found in oa/plugins/auto_learn_threshold.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return True
                        Severity: Major
                        Found in oa/plugins/header_eval.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return False
                          Severity: Major
                          Found in oa/plugins/bayes.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return False
                            Severity: Major
                            Found in oa/plugins/auto_learn_threshold.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return False
                              Severity: Major
                              Found in oa/plugins/auto_learn_threshold.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return False
                                Severity: Major
                                Found in oa/plugins/dns_eval.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return True
                                  Severity: Major
                                  Found in oa/plugins/bayes.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return 0
                                    Severity: Major
                                    Found in oa/plugins/bayes.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return False
                                      Severity: Major
                                      Found in oa/plugins/header_eval.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return self._skip_scan(msg, None, caller_untie)
                                        Severity: Major
                                        Found in oa/plugins/bayes.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language