skofgar/mercury

View on GitHub
examples/lambda-example/src/main/java/org/platformlambda/services/FileDownload.java

Summary

Maintainability
A
1 hr
Test Coverage

Method handleEvent has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public Object handleEvent(Map<String, String> headers, Object body, int instance) throws Exception {
        AsyncHttpRequest request = new AsyncHttpRequest(body);
        if (request.getUrl() == null) {
            throw new IllegalArgumentException("The input does not appear to be a HTTP request. " +

    There are no issues that match your filters.

    Category
    Status