pablorc/snaaake

View on GitHub
www/js/reducers/snake.js

Summary

Maintainability
A
1 hr
Test Coverage

Function snake has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const snake = (state = snakeInitialState, action) =>  {
  switch(action.type) {
    case 'RESTART':
      return snakeInitialState;
    case 'MOVE':
Severity: Minor
Found in www/js/reducers/snake.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status