chrislit/abydos

View on GitHub

Showing 383 of 4,191 total issues

Avoid too many return statements within this function.
Open

                        return word, 96
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, 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 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 word, 90.2
        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
          Severity: Major
          Found in abydos/stemmer/_porter2.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 _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 _fmt_retval(self._match_type_dict['no_match'])
                Severity: Major
                Found in abydos/distance/_synoname.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return mismatch_cost
                  Severity: Major
                  Found in abydos/distance/_needleman_wunsch.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 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 self._weights[4]
                        Severity: Major
                        Found in abydos/distance/_covington.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

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

                            Avoid too many return statements within this function.
                            Open

                                            return self._weights[3]
                            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 1
                                Severity: Major
                                Found in abydos/distance/_synoname.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return max(v_str2_length, v_str1_length)
                                  Severity: Major
                                  Found in abydos/distance/_rees_levenshtein.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 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 admbc / ((b + d) * (c + d))
                                        Severity: Major
                                        Found in abydos/distance/_cole.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language