chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Avoid too many return statements within this function.
Open

                    return _fmt_retval(self._match_type_dict['extension'])
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['char_approx'])
    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 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 _fmt_retval(self._match_type_dict['transposition'])
          Severity: Major
          Found in abydos/distance/_synoname.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

              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 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 _fmt_retval(self._match_type_dict['initials'])
                  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[1]
                    Severity: Major
                    Found in abydos/distance/_covington.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 _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 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 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[4]
                              Severity: Major
                              Found in abydos/distance/_covington.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 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 _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 1
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language