gorails/gorails

View on GitHub

Showing 1,165 of 2,447 total issues

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

  var CoffeeScript = function() {
    function require(path){ return require[path]; }
    require['../../package.json'] = (function() {
  return {
  "name": "coffee-script",

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

    /*!
     * jQuery JavaScript Library v1.12.4
     * http://jquery.com/
     *
     * Includes Sizzle.js

      File wysihtml5-0.3.0-77a5dd1f63f2ca1db49ad6570228225bd0fdd085216842812a77dc4714a8811d.js has 6898 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
       * @license wysihtml5 v0.3.0
       * https://github.com/xing/wysihtml5
       *
       * Author: Christopher Blum (https://github.com/tiff)

        File coffee-script-1fc277cf20f802ad03dadce9de63d733cb9c789574d0d88a954987667d851cc4.js has 6673 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /**
         * CoffeeScript Compiler v1.12.2
         * http://coffeescript.org
         *
         * Copyright 2011, Jeremy Ashkenas

          File jquery3-06c43429d1047ce3f355da574d8a9750209971b8b1b8f264f91f5518c5fcc060.js has 6620 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /*!
           * jQuery JavaScript Library v3.2.1
           * https://jquery.com/
           *
           * Includes Sizzle.js

            File jquery2-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js has 6373 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /*!
             * jQuery JavaScript Library v2.2.4
             * http://jquery.com/
             *
             * Includes Sizzle.js

              File old_summernote-5a298d9e1f925532886718ec430a7c259b4940d7c88ba9c994cd02af5d6aa25e.js has 5524 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              /**
               * Super simple wysiwyg editor v0.8.8
               * http://summernote.org/
               *
               * summernote.js

                File old_summernote.js has 5524 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /**
                 * Super simple wysiwyg editor v0.8.8
                 * http://summernote.org/
                 *
                 * summernote.js
                Severity: Major
                Found in app/assets/javascripts/old_summernote.js - About 2 wks to fix

                  File index-8d145cec613950b82650536eb085e5f31bab8eb39b5254b16b43da48b25c4676.js has 4863 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /**
                   * Super simple wysiwyg editor v0.8.3
                   * http://summernote.org/
                   *
                   * summernote.js

                    File summernote-8d145cec613950b82650536eb085e5f31bab8eb39b5254b16b43da48b25c4676.js has 4863 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /**
                     * Super simple wysiwyg editor v0.8.3
                     * http://summernote.org/
                     *
                     * summernote.js

                      File index-935ead74410fc29778d17fb8a0fd69efeb830bdf4a09870d36dc24831df6fd1d.js has 4734 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      (function ($) {
                        $.extend($.summernote.lang, {
                          'ar-AR': {
                            font: {
                              bold: 'عريض',

                        File index-c060416974762f3fc5f68e8528827b090d07233e942d1b4ffd56d10a08357db5.js has 4453 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /*! jQuery UI - v1.11.4+CommonJS - 2015-08-28
                        * http://jqueryui.com
                        * Includes: widget.js
                        * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
                        
                        

                          File bootstrap-editable-740b04ff8462e42a50301910454d681b02b0c404192855465cb940516df01cce.js has 3812 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          /*! X-editable - v1.5.1 
                          * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
                          * http://github.com/vitalets/x-editable
                          * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
                          /**

                            File index-dcf1359698aa6d5128b4f3b6c8e0a6fa05fdd0e26d5f9d14cf6dba5877c05af9.js has 2803 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            /*!
                             * Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
                             *
                             * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
                             */

                              File jquery.cloudinary-ce1e2935811618772ccc44072783e9a0e98cd655ff8a75b26d14bf00c08c9710.js has 2761 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              
                              /**
                               * Cloudinary's JavaScript library - Version 2.3.0
                               * Copyright Cloudinary
                               * see https://github.com/cloudinary/cloudinary_js

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

                                (function( window ) {
                                
                                var i,
                                    support,
                                    Expr,

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

                                  (function( window ) {
                                  
                                  var i,
                                      support,
                                      Expr,

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

                                    (function( window ) {
                                    
                                    var i,
                                        support,
                                        Expr,

                                      File core-f8479279ecedfec7bfbbd32e160351702014b4a906ef590fb2eba18fa1aed029.js has 1762 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      /*!
                                       * Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
                                       *
                                       * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
                                       */

                                        Function App has a Cognitive Complexity of 223 (exceeds 5 allowed). Consider refactoring.
                                        Open

                                        var App = function() {
                                            // Helper variables - set in uiInit()
                                            var $lHtml, $lBody, $lPage, $lSidebar, $lSidebarScroll, $lSideOverlay, $lSideOverlayScroll, $lHeader, $lMain, $lFooter;
                                        
                                            /*

                                        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

                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language