Kuangcp/JavaBase

View on GitHub
concurrency/src/main/java/situation/timoutpool/TimeoutExecPool.java

Summary

Maintainability
A
1 hr
Test Coverage

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

    @Override
    public List<R> execute(List<P> params, Function<P, R> handler) {
        List<R> results = Collections.synchronizedList(new ArrayList<>());

        for (P p : params) {
Severity: Minor
Found in concurrency/src/main/java/situation/timoutpool/TimeoutExecPool.java - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status