yegor256/rehttp

View on GitHub
src/main/java/net/rehttp/base/DyTake.java

Summary

Maintainability
B
5 hrs
Test Coverage

Method act has 99 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    @SuppressWarnings({ "unchecked", "PMD.ExcessiveMethodLength" })
    public Response act(final Request req) throws Exception {
        final URI uri = URI.create(this.item.get("url").getS());
        Request request = req;
Severity: Major
Found in src/main/java/net/rehttp/base/DyTake.java - About 3 hrs to fix

    Method request has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private static Request request(final Request req, final URI uri) {
            final StringBuilder path = new StringBuilder(0);
            path.append(uri.getRawPath());
            if (path.length() == 0) {
                path.append('/');
    Severity: Minor
    Found in src/main/java/net/rehttp/base/DyTake.java - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status