alex030293/mean-boilerplate

View on GitHub

Showing 2 of 175 total issues

Function send has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $scope.send = function(username, password){
        $("#login img").hide();
        if (working) return;
        working = true;
        var $this = $('#login'),
Severity: Minor
Found in public/js/Controllers/LoginController.js - About 1 hr to fix

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

        $scope.save_fruit = function(){
            $scope.$parent.loading = true;
            if($scope.$parent.fruit._id === undefined){
                //Adding fruit -> POST
                fruitFactory.save({
    Severity: Minor
    Found in public/js/Controllers/CardController.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language