cs-util-com/cscore

View on GitHub

Showing 1,140 of 1,140 total issues

Avoid too many return statements within this method.
Open

                    return true;

    Avoid too many return statements within this method.
    Open

                    if (o != null && o.HasComponent<IgnoreRootCanvas>(out var _)) { return true; }
    Severity: Major
    Found in CsCore/CsCoreUnity/Plugins/CsCoreUnity/com/csutil/ui/UiExtensions.cs - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return false;

        Avoid too many return statements within this method.
        Open

                            return true;

          Avoid too many return statements within this method.
          Open

                          return true;

            Avoid too many return statements within this method.
            Open

                        return true;

              Avoid too many return statements within this method.
              Open

                              return currentView.Destroy();

                Avoid too many return statements within this method.
                Open

                            if (self.ContainsScreenPoint(new Vector2(rect.xMax, rect.yMax))) { return true; }

                  Avoid too many return statements within this method.
                  Open

                                  return true;

                    Avoid too many return statements within this method.
                    Open

                                    return true;

                      Avoid too many return statements within this method.
                      Open

                                  return objA == objB || Equals(objA, objB);

                        Avoid too many return statements within this method.
                        Open

                                            return true;

                          Avoid too many return statements within this method.
                          Open

                                          return true;

                            Avoid too many return statements within this method.
                            Open

                                            return true;

                              Avoid too many return statements within this method.
                              Open

                                              return true;

                                Avoid too many return statements within this method.
                                Open

                                            if (TypeCheck.AreEqual<T, byte[]>()) { return (T)(object)GetBytesResult(self); }

                                  Avoid too many return statements within this method.
                                  Open

                                              return true;

                                    Avoid too many return statements within this method.
                                    Open

                                                return false;

                                      Avoid too many return statements within this method.
                                      Open

                                                  if (self.ContainsScreenPoint(rect.center)) { return true; }

                                        Avoid too many return statements within this method.
                                        Open

                                                        return true;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language