sparklemotion/nokogiri

View on GitHub

Showing 400 of 537 total issues

Avoid too many return statements within this method.
Open

    if (iter.isNull()) { return; }
Severity: Major
Found in ext/java/nokogiri/XmlElementContent.java - 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 false;

        Avoid too many return statements within this method.
        Open

                return name0.compareTo(name1);
        Severity: Major
        Found in ext/java/nokogiri/internals/c14n/AttrCompare.java - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return null;

            Avoid too many return statements within this method.
            Open

                  return enter((EntityReference) node);
            Severity: Major
            Found in ext/java/nokogiri/internals/SaveContextVisitor.java - 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 resolveSystemId(scriptFileName, systemId);
                Severity: Major
                Found in ext/java/nokogiri/internals/NokogiriHelpers.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                      if (value.contains(encoding)) { return value; }  // no need to replace
                  Severity: Major
                  Found in ext/java/nokogiri/internals/SaveContextVisitor.java - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                        return value.replace(m.group(), "charset=" + encoding);
                    Severity: Major
                    Found in ext/java/nokogiri/internals/SaveContextVisitor.java - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                            return enter((CDATASection)node);
                      Severity: Major
                      Found in ext/java/nokogiri/internals/SaveContextVisitor.java - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return null;
                        Severity: Major
                        Found in ext/java/nokogiri/internals/ReaderNode.java - 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 getOwnerElement().lookupNamespaceURI(specifiedPrefix);

                                Avoid too many return statements within this method.
                                Open

                                        return xmlDocument;
                                Severity: Major
                                Found in ext/java/nokogiri/internals/NokogiriHelpers.java - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return str;
                                  Severity: Major
                                  Found in ext/java/nokogiri/internals/NokogiriHelpers.java - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                          return enter((Notation)node);
                                    Severity: Major
                                    Found in ext/java/nokogiri/internals/SaveContextVisitor.java - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                return v;
                                      Severity: Major
                                      Found in ext/java/nokogiri/internals/ReaderNode.java - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                              return;
                                        Severity: Major
                                        Found in ext/java/nokogiri/internals/SaveContextVisitor.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language