sparklemotion/nokogiri

View on GitHub

Showing 383 of 515 total issues

Avoid too many return statements within this method.
Open

                return null;

    Avoid too many return statements within this method.
    Open

            return false;
    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 getOwnerElement().lookupNamespaceURI(specifiedPrefix);

        Avoid too many return statements within this method.
        Open

                        return xmlProcessingInstruction;
        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 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 false;

                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;
                  Severity: Major
                  Found in ext/java/nokogiri/internals/SaveContextVisitor.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 true;

                        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

                          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 false;

                              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

                                Avoid too many return statements within this method.
                                Open

                                                return xmlCdata;
                                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((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 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

                                              if (obj instanceof XmlNodeSet) return obj;
                                      Severity: Major
                                      Found in ext/java/nokogiri/internals/NokogiriXPathFunction.java - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return obj.toJava(java.math.BigInteger.class);
                                        Severity: Major
                                        Found in ext/java/nokogiri/internals/NokogiriXPathFunction.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language