hugoruscitti/pilas

View on GitHub

Showing 1,009 of 1,970 total issues

File jquery-1.11.1.js has 6829 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * jQuery JavaScript Library v1.11.1
 * http://jquery.com/
 *
 * Includes Sizzle.js
Severity: Major
Found in data/manual/js/jquery-1.11.1.js - About 2 wks to fix

    File jquery-1.11.1.js has 6829 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*!
     * jQuery JavaScript Library v1.11.1
     * http://jquery.com/
     *
     * Includes Sizzle.js
    Severity: Major
    Found in data/api/_static/jquery-1.11.1.js - About 2 wks to fix

      File jquery-1.8.3.js has 6532 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*!
       * jQuery JavaScript Library v1.8.3
       * http://jquery.com/
       *
       * Includes Sizzle.js
      Severity: Major
      Found in data/asistente/js/jquery-1.8.3.js - About 2 wks to fix

        File ui-bootstrap-tpls.js has 2682 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /*
         * angular-ui-bootstrap
         * http://angular-ui.github.io/bootstrap/
        
         * Version: 0.10.0 - 2014-01-13
        Severity: Major
        Found in data/asistente/js/ui-bootstrap-tpls.js - About 1 wk to fix

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

          (function( window ) {
          
          var i,
              support,
              Expr,
          Severity: Major
          Found in data/manual/js/jquery-1.11.1.js - About 6 days to fix

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

            (function( window ) {
            
            var i,
                support,
                Expr,
            Severity: Major
            Found in data/api/_static/jquery-1.11.1.js - About 6 days to fix

              File bootstrap.js has 1184 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              /* ========================================================================
               * Bootstrap: alert.js v3.0.0
               * http://twbs.github.com/bootstrap/javascript.html#alerts
               * ========================================================================
               * Copyright 2013 Twitter, Inc.
              Severity: Major
              Found in data/asistente/js/bootstrap.js - About 3 days to fix

                File motor_qt.py has 940 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                # -*- coding: utf-8 -*-
                # Pilas engine - A video game framework.
                #
                # Copyright 2010 - Hugo Ruscitti
                # License: LGPLv3 (see http://www.gnu.org/licenses/lgpl.html)
                Severity: Major
                Found in pilas/motores/motor_qt.py - About 2 days to fix

                  Actor has 113 functions (exceeds 20 allowed). Consider refactoring.
                  Open

                  class Actor(Estudiante):
                      """Representa un objeto visible en pantalla, algo que se ve y tiene
                      posicion.
                  
                      .. image:: ../../pilas/data/manual/imagenes/actores/actor.png
                  Severity: Major
                  Found in pilasengine/actores/actor.py - About 2 days to fix

                    File angular-animate.js has 765 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /**
                     * @license AngularJS v1.2.10-build.2178+sha.40dc806
                     * (c) 2010-2014 Google, Inc. http://angularjs.org
                     * License: MIT
                     */
                    Severity: Major
                    Found in data/asistente/js/angular-animate.js - About 1 day to fix

                      File actor.py has 753 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      # -*- encoding: utf-8 -*-
                      # pilas engine: un motor para hacer videojuegos
                      #
                      # Copyright 2010-2014 - Hugo Ruscitti
                      # License: LGPLv3 (see http://www.gnu.org/licenses/lgpl.html)
                      Severity: Major
                      Found in pilasengine/actores/actor.py - About 1 day to fix

                        Actor has 85 functions (exceeds 20 allowed). Consider refactoring.
                        Open

                        class Actor(object, Estudiante):
                            """Representa un objeto visible en pantalla, algo que se ve y tiene
                            posicion.
                        
                            .. image:: images/actores/actor.png
                        Severity: Major
                        Found in pilas/actores/actor.py - About 1 day to fix

                          Function keyPressEvent has a Cognitive Complexity of 76 (exceeds 5 allowed). Consider refactoring.
                          Open

                              def keyPressEvent(self, event):
                                  # Permite usar tab como seleccionador de la palabra actual
                                  # en el popup de autocompletado.
                                  if event.key() in [Qt.Key_Tab]:
                                      if self.completer and self.completer.popup().isVisible():
                          Severity: Minor
                          Found in pilasengine/interprete/lanas.py - About 1 day to fix

                          Cognitive Complexity

                          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                          A method's cognitive complexity is based on a few simple rules:

                          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                          • Code is considered more complex for each "break in the linear flow of the code"
                          • Code is considered more complex when "flow breaking structures are nested"

                          Further reading

                          File underscore-1.3.1.js has 665 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          //     Underscore.js 1.3.1
                          //     (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
                          //     Underscore is freely distributable under the MIT license.
                          //     Portions of Underscore are inspired or borrowed from Prototype,
                          //     Oliver Steele's Functional, and John Resig's Micro-Templating.
                          Severity: Major
                          Found in data/api/_static/underscore-1.3.1.js - About 1 day to fix

                            Actores has 78 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            class Actores(object):
                                """Representa la forma de acceso y construcción de actores.
                            
                                Esta clase representa el objeto creado por pilas que
                                se puede acceder escribiendo ``pilas.actores``. Desde aquí
                            Severity: Major
                            Found in pilasengine/actores/__init__.py - About 1 day to fix

                              File websupport.js has 638 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              /*
                               * websupport.js
                               * ~~~~~~~~~~~~~
                               *
                               * sphinx.websupport utilties for all documentation.
                              Severity: Major
                              Found in data/api/_static/websupport.js - About 1 day to fix

                                File fisica.py has 625 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                # -*- encoding: utf-8 -*-
                                # pilas engine - a video game framework.
                                #
                                # copyright 2010 - hugo ruscitti
                                # license: lgplv3 (see http://www.gnu.org/licenses/lgpl.html)
                                Severity: Major
                                Found in pilas/fisica.py - About 1 day to fix

                                  File __init__.py has 570 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  # -*- encoding: utf-8 -*-
                                  # pilas engine: un motor para hacer videojuegos
                                  #
                                  # Copyright 2010-2014 - Hugo Ruscitti
                                  # License: LGPLv3 (see http://www.gnu.org/licenses/lgpl.html)
                                  Severity: Major
                                  Found in pilasengine/actores/__init__.py - About 1 day to fix

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

                                        ajax: function( url, options ) {
                                    
                                            // If url is an object, simulate pre-1.5 signature
                                            if ( typeof url === "object" ) {
                                                options = url;
                                    Severity: Major
                                    Found in data/manual/js/jquery-1.11.1.js - About 1 day to fix

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

                                          ajax: function( url, options ) {
                                      
                                              // If url is an object, simulate pre-1.5 signature
                                              if ( typeof url === "object" ) {
                                                  options = url;
                                      Severity: Major
                                      Found in data/asistente/js/jquery-1.8.3.js - About 1 day to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language