silentbalanceyh/vertx-zero

View on GitHub
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/service/BookService.java

Summary

Maintainability
A
1 hr
Test Coverage

Method fetchByKey has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public Future<JsonObject> fetchByKey(final String key) {
        return Ux.Jooq.on(FBookDao.class).<FBook>fetchByIdAsync(key).compose(book -> {
            // Fetch all bills in current book
            return Ux.Jooq.on(FBillDao.class).<FBill>fetchAsync("bookId", key).compose(bills -> {

    There are no issues that match your filters.

    Category
    Status