whylabs/whylogs-python

View on GitHub

Showing 225 of 3,656 total issues

Avoid too many return statements within this method.
Open

      return (T) result;

    Avoid too many return statements within this function.
    Open

        return LiteralGetter(float(token[i])), i + 1
    Severity: Major
    Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return Predicate(Relation._or, left=left, right=right, component=left._component), i
      Severity: Major
      Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return self._udf(metric or x)  # type: ignore
        Severity: Major
        Found in python/whylogs/core/relations.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return Predicate(Relation.geq, value, component=component), i
          Severity: Major
          Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return
            Severity: Major
            Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return self._left(metric or x) and self._right(metric or x)  # type: ignore
              Severity: Major
              Found in python/whylogs/core/relations.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return Predicate(Relation.greater, value, component=component), i
                Severity: Major
                Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return lambda x: x != value  # type: ignore
                  Severity: Major
                  Found in python/whylogs/core/metrics/condition_count_metric.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return x > value
                    Severity: Major
                    Found in python/whylogs/core/relations.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return lambda x: x >= value  # type: ignore
                      Severity: Major
                      Found in python/whylogs/core/metrics/condition_count_metric.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return
                        Severity: Major
                        Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return lambda x: x > value  # type: ignore
                          Severity: Major
                          Found in python/whylogs/core/metrics/condition_count_metric.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return False
                            Severity: Major
                            Found in python/whylogs/core/datatypes.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return x <= value
                              Severity: Major
                              Found in python/whylogs/core/relations.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return self._left(metric or x) or self._right(metric or x)  # type: ignore
                                Severity: Major
                                Found in python/whylogs/core/relations.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return Predicate(Relation.neq, value, component=component), i
                                  Severity: Major
                                  Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return lambda x: x <= value  # type: ignore
                                    Severity: Major
                                    Found in python/whylogs/core/metrics/condition_count_metric.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return x != value
                                      Severity: Major
                                      Found in python/whylogs/core/relations.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return result
                                        Severity: Major
                                        Found in python/whylogs/core/preprocessing.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language