chrislit/abydos

View on GitHub

Showing 383 of 4,191 total issues

Avoid too many return statements within this function.
Open

            return word
Severity: Major
Found in abydos/stemmer/_porter2.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return word, 92
    Severity: Major
    Found in abydos/stemmer/_uea_lite.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                          return word, 97
      Severity: Major
      Found in abydos/stemmer/_uea_lite.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return stemmed_word, rule_no
        Severity: Major
        Found in abydos/stemmer/_uea_lite.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return sdx[: self._max_length]
          Severity: Major
          Found in abydos/phonetic/_soundex.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return 0
            Severity: Major
            Found in abydos/distance/_synoname.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                              return _fmt_retval(self._match_type_dict['punctuation'])
              Severity: Major
              Found in abydos/distance/_synoname.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return cast(float, d_mat[src_len, tar_len])
                Severity: Major
                Found in abydos/distance/_discounted_levenshtein.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return 1.0
                  Severity: Major
                  Found in abydos/distance/_flexmetric.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                    return _fmt_retval(self._match_type_dict['no_first'])
                    Severity: Major
                    Found in abydos/distance/_synoname.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return 0.0
                      Severity: Major
                      Found in abydos/distance/_mlipns.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                        return _fmt_retval(self._match_type_dict['substitution'])
                        Severity: Major
                        Found in abydos/distance/_synoname.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                              return letter_set[1]
                          Severity: Major
                          Found in abydos/distance/_flexmetric.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return self._weights[5]
                            Severity: Major
                            Found in abydos/distance/_covington.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return 1
                              Severity: Major
                              Found in abydos/distance/_synoname.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return w_ratio
                                Severity: Major
                                Found in abydos/distance/_synoname.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                  return self._weights[2]
                                  Severity: Major
                                  Found in abydos/distance/_covington.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return terminals[:top_n]
                                    Severity: Major
                                    Found in abydos/distance/_covington.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return 0.0
                                      Severity: Major
                                      Found in abydos/distance/_inclusion.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return 0
                                        Severity: Major
                                        Found in abydos/distance/_synoname.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language