hugoruscitti/pilas

View on GitHub

Showing 1,009 of 1,970 total issues

Function clone has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    clone: function( elem, dataAndEvents, deepDataAndEvents ) {
        var destElements, node, clone, i, srcElements,
            inPage = jQuery.contains( elem.ownerDocument, elem );

        if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
Severity: Minor
Found in data/manual/js/jquery-1.11.1.js - About 1 hr to fix

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

        Spinner.prototype.lines = function(el, o) {
          var r = o.scale*(o.length+o.width)
            , s = o.scale*2*r
    
          function grp() {
    Severity: Minor
    Found in data/asistente/js/spin.js - About 1 hr to fix

      Function showHide has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function showHide( elements, show ) {
          var display, elem, hidden,
              values = [],
              index = 0,
              length = elements.length;
      Severity: Minor
      Found in data/api/_static/jquery-1.11.1.js - About 1 hr to fix

        Function clone has 35 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                var destElements, node, clone, i, srcElements,
                    inPage = jQuery.contains( elem.ownerDocument, elem );
        
                if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
        Severity: Minor
        Found in data/api/_static/jquery-1.11.1.js - About 1 hr to fix

          Function dispatch has 35 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              dispatch: function( event ) {
          
                  // Make a writable jQuery.Event from the native event object
                  event = jQuery.event.fix( event );
          
          
          Severity: Minor
          Found in data/api/_static/jquery-1.11.1.js - About 1 hr to fix

            Function access has 35 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
                var i = 0,
                    length = elems.length,
                    bulk = key == null;
            
            
            Severity: Minor
            Found in data/api/_static/jquery-1.11.1.js - About 1 hr to fix

              Function __init__ has 11 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def __init__(self, ancho=640, alto=480, titulo='pilas-engine',
              Severity: Major
              Found in pilasengine/__init__.py - About 1 hr to fix

                Function __init__ has 11 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def __init__(self, x, y, puntos, dinamica=True, densidad=1.0,
                Severity: Major
                Found in pilasengine/fisica/poligono.py - About 1 hr to fix

                  Function iniciar has 11 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def iniciar(ancho=640, alto=480, titulo='pilas-engine', capturar_errores=True,
                  Severity: Major
                  Found in pilasengine/__init__.py - About 1 hr to fix

                    Function __init__ has 11 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        def __init__(self, x, y, ancho, alto, dinamica=True, densidad=1.0,
                    Severity: Major
                    Found in pilas/fisica.py - About 1 hr to fix

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

                          style: function( elem, name, value, extra ) {
                              // Don't set styles on text and comment nodes
                              if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                                  return;
                              }
                      Severity: Minor
                      Found in data/manual/js/jquery-1.11.1.js - About 1 hr to fix

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

                            cleanData: function( elems, /* internal */ acceptData ) {
                                var elem, type, id, data,
                                    i = 0,
                                    internalKey = jQuery.expando,
                                    cache = jQuery.cache,
                        Severity: Minor
                        Found in data/manual/js/jquery-1.11.1.js - About 1 hr to fix

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

                              setOffset: function( elem, options, i ) {
                                  var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
                                      position = jQuery.css( elem, "position" ),
                                      curElem = jQuery( elem ),
                                      props = {};
                          Severity: Minor
                          Found in data/manual/js/jquery-1.11.1.js - About 1 hr to fix

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

                            function showHide( elements, show ) {
                                var elem, display,
                                    values = [],
                                    index = 0,
                                    length = elements.length;
                            Severity: Minor
                            Found in data/asistente/js/jquery-1.8.3.js - About 1 hr to fix

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

                                  attr: function( elem, name, value, pass ) {
                                      var ret, hooks, notxml,
                                          nType = elem.nodeType;
                              
                                      // don't get/set attributes on text, comment and attribute nodes
                              Severity: Minor
                              Found in data/asistente/js/jquery-1.8.3.js - About 1 hr to fix

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

                                    cleanData: function( elems, /* internal */ acceptData ) {
                                        var data, id, elem, type,
                                            i = 0,
                                            internalKey = jQuery.expando,
                                            cache = jQuery.cache,
                                Severity: Minor
                                Found in data/asistente/js/jquery-1.8.3.js - About 1 hr to fix

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

                                      each: function( obj, callback, args ) {
                                          var name,
                                              i = 0,
                                              length = obj.length,
                                              isObj = length === undefined || jQuery.isFunction( obj );
                                  Severity: Minor
                                  Found in data/asistente/js/jquery-1.8.3.js - About 1 hr to fix

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

                                        access: function( elems, fn, key, value, chainable, emptyGet, pass ) {
                                            var exec,
                                                bulk = key == null,
                                                i = 0,
                                                length = elems.length;
                                    Severity: Minor
                                    Found in data/asistente/js/jquery-1.8.3.js - About 1 hr to fix

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

                                          setOffset: function( elem, options, i ) {
                                              var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
                                                  position = jQuery.css( elem, "position" ),
                                                  curElem = jQuery( elem ),
                                                  props = {};
                                      Severity: Minor
                                      Found in data/api/_static/jquery-1.11.1.js - About 1 hr to fix

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

                                            def pre_iniciar(self, x=0, y=0):
                                                self.x = x
                                                self.y = y
                                                self.imagen = self.pilas.imagenes.cargar_grilla("invisible.png")
                                                self.imagen_particula = self.pilas.imagenes.cargar_grilla("particula.png")
                                        Severity: Minor
                                        Found in pilasengine/actores/emisor.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language