timhaley94/holdem

View on GitHub
server/src/domain/solver/index.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function allocate has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function allocate(hands, wagers, awarded = {}) {
  const [head, ...losers] = hands;
  const winners = (
    Array.isArray(head)
      ? head
Severity: Minor
Found in server/src/domain/solver/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status