CrazySquirrel/CSShare

View on GitHub

Showing 27 of 85 total issues

Avoid deeply nested control flow statements.
Open

                                if(typeof data.adaptivSize === "undefined"){data.adaptivSize={};}
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            for(i=y;i<y+size[1];i++){
                                for(j=x;j<x+size[0];j++){
                                    if(grid[i][j]){
                                        g = false;
                                        break;
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            for(x=gridSize[0];x>0;x--){
                                for(y=gridSize[0];y>0;y--){
                                    fainder = base.findGridPlace([x,y],grid,false);
                                    if(fainder){
                                        size = [x,y];
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            if(z.length>1){
                                for(k=1;k<z.length;k++){
                                    z[k] = z[k].slice(0,1).toUpperCase() + z[k].slice(1).toLowerCase();
                                }
                            }
Severity: Major
Found in js/jquery.CSShare-1.0.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                                if(typeof data === "undefined"){data={};}
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            if(g){
                                f = true;
                                break;    
                            }    
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Function makeTile has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        base.makeTile = function(e,setting,grid,gridscale,gridSize){
Severity: Minor
Found in js/jquery.CSTiles-1.1.0.js - About 35 mins to fix
Severity
Category
Status
Source
Language