TheCorrespondingSquares/chess-app

View on GitHub
app/assets/javascripts/games.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handlePieceDrop has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function handlePieceDrop( event, ui ) {
    var $this = $(this);
    var xPos = $this.data('xPos');
    var yPos = $this.data('yPos');
    destinationPieceId = $this.children().data('pieceId');
Severity: Minor
Found in app/assets/javascripts/games.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status