nemesiscodex/openfonacide

View on GitHub

Showing 350 of 970 total issues

File views.py has 590 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# -*- coding: utf-8 -*-

import json
import openfonacide.settings as settings
from django.contrib.auth.decorators import login_required
Severity: Major
Found in openfonacide/views.py - About 1 day to fix

    File accordion.js has 526 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*!
     * # Semantic UI 1.12.3 - Accordion
     * http://github.com/semantic-org/semantic-ui/
     *
     *
    Severity: Major
    Found in static/components/accordion.js - About 1 day to fix

      File Icon.js has 507 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
       * echarts扩展zrender shape
       *
       * @author Kener (@Kener-林峰, kener.linfeng@gmail.com)
       *
      Severity: Major
      Found in static/js/dncp/util/shape/Icon.js - About 1 day to fix

        File frontend.MapController.js has 487 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        (function () {
        
            function loading(value) {
                if (value) {
                    $('.map-loader').addClass('active');
        Severity: Minor
        Found in static/js/frontend.MapController.js - About 7 hrs to fix

          File video.js has 477 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /*!
           * # Semantic UI 1.12.3 - Video
           * http://github.com/semantic-org/semantic-ui/
           *
           *
          Severity: Minor
          Found in static/components/video.js - About 7 hrs to fix

            File ecAnimation.js has 454 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /**
             * echarts图表动画基类
             *
             * @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
             * @author Kener (@Kener-林峰, kener.linfeng@gmail.com)
            Severity: Minor
            Found in static/js/dncp/util/ecAnimation.js - About 6 hrs to fix

              File checkbox.js has 452 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              /*!
               * # Semantic UI 1.12.3 - Checkbox
               * http://github.com/semantic-org/semantic-ui/
               *
               *
              Severity: Minor
              Found in static/components/checkbox.js - About 6 hrs to fix

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

                        controller: ['backEnd', '$scope', '$timeout', function (backEnd, $scope, $timeout) {
                            var $control = this;
                            if (typeof($control.selected) != 'object') {
                                $control.selected = {
                                    departamento: '',
                Severity: Major
                Found in static/js/frontend.directive.js - About 6 hrs to fix

                  File site.js has 444 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /*!
                   * # Semantic UI 1.12.3 - Site
                   * http://github.com/semantic-org/semantic-ui/
                   *
                   *
                  Severity: Minor
                  Found in static/components/site.js - About 6 hrs to fix

                    File frontend.ResumenController.js has 435 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    (function(){
                        function get_options_pie(titulo, subtitulo, legendData, series){
                            return {
                                title: {
                                    text: titulo,
                    Severity: Minor
                    Found in static/js/frontend.ResumenController.js - About 6 hrs to fix

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

                          binaryOperation : function (lo, ro, op, out) {
                              // Broadcasting
                              // http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html
                              var shape = [];
                              var isLoScalar = typeof(lo) === 'number';
                      Severity: Major
                      Found in static/js/dncp/util/ndarray.js - About 6 hrs to fix

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

                                  position: function(position, arrowOffset) {
                                    var
                                      windowWidth   = $(window).width(),
                                      windowHeight  = $(window).height(),
                        
                        
                        Severity: Major
                        Found in static/components/popup.js - About 6 hrs to fix

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

                              function line(zr, effectList, shape, zlevel, isLarge) {
                                  var effect = shape.effect;
                                  var shapeStyle = shape.style;
                                  var color = effect.color || shapeStyle.strokeColor || shapeStyle.color;
                                  var shadowColor = effect.shadowColor || shapeStyle.strokeColor || color;
                          Severity: Major
                          Found in static/js/dncp/util/ecEffect.js - About 6 hrs to fix

                            File nag.js has 412 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            /*!
                             * # Semantic UI 1.12.3 - Nag
                             * http://github.com/semantic-org/semantic-ui/
                             *
                             *
                            Severity: Minor
                            Found in static/components/nag.js - About 5 hrs to fix

                              File rating.js has 402 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              /*!
                               * # Semantic UI 1.12.3 - Rating
                               * http://github.com/semantic-org/semantic-ui/
                               *
                               *
                              Severity: Minor
                              Found in static/components/rating.js - About 5 hrs to fix

                                File resumen.py has 397 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                import json
                                from django.db import connection
                                from multiprocessing import Process, Queue
                                from django.http import JsonResponse
                                
                                
                                Severity: Minor
                                Found in openfonacide/resumen.py - About 5 hrs to fix

                                  File smartSteps.js has 393 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  
                                  /**
                                   * echarts 值轴分段刻度计算方法
                                   *
                                   * @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
                                  Severity: Minor
                                  Found in static/js/dncp/util/smartSteps.js - About 5 hrs to fix

                                    File ecEffect.js has 393 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    /**
                                     * echarts图表特效基类
                                     *
                                     * @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
                                     * @author Kener (@Kener-林峰, kener.linfeng@gmail.com)
                                    Severity: Minor
                                    Found in static/js/dncp/util/ecEffect.js - About 5 hrs to fix

                                      File 0006_auto_20141130_2241.py has 392 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      # -*- coding: utf-8 -*-
                                      from __future__ import unicode_literals
                                      
                                      from django.db import models, migrations
                                      
                                      
                                      Severity: Minor
                                      Found in openfonacide/migrations/0006_auto_20141130_2241.py - About 5 hrs to fix

                                        File params.js has 387 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        /**
                                         * 地图参数
                                         * key为地图类型: {
                                         *     getGeoJson: 地图数据加载
                                         * } 
                                        Severity: Minor
                                        Found in static/js/dncp/util/mapData/params.js - About 5 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language