Showing 10 of 10 total issues
Method app
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static Take app(final Base base) throws IOException {
return new TkFallback(
new TkWithHeaders(
new TkVersioned(
new TkMeasured(
Method act
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
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;
Method act
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Response act(final Request req) throws IOException {
final URL url;
try {
url = new URI(new RqHref.Smart(req).single("u")).toURL();
Method act
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Response act(final Request req) throws IOException {
final URL url;
try {
url = new URI(new RqHref.Smart(req).single("u")).toURL();
Method make
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static Response make(final String xsl, final Request req,
final Scalar<Iterable<XeSource>> src) {
final Response raw = new RsXembly(
new XeStylesheet(xsl),
new XeAppend(
Method request
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
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('/');
Method target
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Take target(final URL url, final long time) throws IOException {
final Collection<Item> items = this.table()
.frame()
.through(
Method failures
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Collection<Iterable<Directive>> failures(final long after) {
return new ListOf<>(
new Mapped<>(
item -> DyStatus.xembly(item, false),
Method xembly
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static Iterable<Directive> xembly(
final Item item, final boolean full) throws IOException {
final long time = Long.parseLong(item.get("time").getN());
final long when = Long.parseLong(item.get("when").getN());
final long ttl = Long.parseLong(item.get("ttl").getN())
Method history
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Collection<Iterable<Directive>> history(final long after) {
return new ListOf<>(
new Mapped<>(
item -> DyStatus.xembly(item, false),