Showing 5,781 of 10,536 total issues

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

      function flatten(tree) {
        var result = [];
        var queue = [];
        var i;

Severity: Minor
Found in myems-admin/js/angular/angular-animate.js - About 1 hr to fix

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

        Markdown.dialects.Maruku.block.block_meta = function block_meta( block, next ) {
            // check if the last line of the block is an meta hash
            var m = block.match( /(^|\n) {0,3}\{:\s*((?:\\\}|[^\}])*)\s*\}$/ );
            if ( !m ) return undefined;
    
    
    Severity: Minor
    Found in myems-admin/js/plugins/bootstrap-markdown/markdown.js - About 1 hr to fix

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

          value: function removeAllFiles(cancelIfNecessary) {
            // Create a copy of files since removeFile() changes the @files array.
            if (cancelIfNecessary == null) {
              cancelIfNecessary = false;
            }
      Severity: Minor
      Found in myems-admin/js/plugins/dropzone/dropzone.js - About 1 hr to fix

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

                this._listen = function () {
        
                    if (!this.o.readOnly) {
                        this.$c
                            .bind(
        Severity: Minor
        Found in myems-admin/js/plugins/jsKnob/jquery.knob.js - About 1 hr to fix

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

                  error: function error(file, message) {
                    if (file.previewElement) {
                      file.previewElement.classList.add("dz-error");
          
                      if (typeof message !== "string" && message.error) {
          Severity: Minor
          Found in myems-admin/js/plugins/dropzone/dropzone.js - About 1 hr to fix

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

                value: function _finishedUploading(files, xhr, e) {
                  var response;
            
                  if (files[0].status === Dropzone.CANCELED) {
                    return;
            Severity: Minor
            Found in myems-admin/js/plugins/dropzone/dropzone.js - About 1 hr to fix

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

                      function rangeToSegments(startDate, endDate) {
                          var rowCnt = t.getRowCnt();
                          var colCnt = t.getColCnt();
                          var segments = []; // array of segments to return
              
              
              Severity: Minor
              Found in myems-admin/js/plugins/fullcalendar/fullcalendar.min.js - About 1 hr to fix

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

                    value: function processFiles(files) {
                      var _iteratorNormalCompletion18 = true;
                      var _didIteratorError18 = false;
                      var _iteratorError18 = undefined;
                
                
                Severity: Minor
                Found in myems-admin/js/plugins/dropzone/dropzone.js - About 1 hr to fix

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

                          function setRange(axis) {
                              var opts = axis.options,
                                  min = +(opts.min != null ? opts.min : axis.datamin),
                                  max = +(opts.max != null ? opts.max : axis.datamax),
                                  delta = max - min;
                  Severity: Minor
                  Found in myems-admin/js/plugins/flot/jquery.flot.js - About 1 hr to fix

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

                        function Canvas(cls, container) {
                    
                            var element = container.children("." + cls)[0];
                    
                            if (element == null) {
                    Severity: Minor
                    Found in myems-admin/js/plugins/flot/jquery.flot.js - About 1 hr to fix

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

                              function adjustLayoutForThingsStickingOut() {
                                  // possibly adjust plot offset to ensure everything stays
                                  // inside the canvas and isn't clipped off
                      
                                  var minMargin = options.grid.minBorderMargin,
                      Severity: Minor
                      Found in myems-admin/js/plugins/flot/jquery.flot.js - About 1 hr to fix

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

                                      var b = c(function() {
                                        var d = "ltr";
                                        !0 === a.options.rtl && (d = "rtl");
                                        f.css("direction", d);
                                        if (
                        Severity: Minor
                        Found in myems-admin/js/jcui/angular.integralui.checkbox.min.js - About 1 hr to fix

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

                                var A = function(d, a, c, r, e) {
                                  d.type = "item";
                                  d[b.options.dataFields.id] ||
                                    (d[b.options.dataFields.id] = f.getUniqueId());
                                  c && (d[b.options.dataFields.pid] = c);
                          Severity: Minor
                          Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

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

                            };jvm.Region = function(config){
                              var bbox,
                                  text,
                                  offsets,
                                  labelDx,
                            Severity: Minor
                            Found in myems-admin/js/plugins/jvectormap/jquery-jvectormap-2.0.2.min.js - About 1 hr to fix

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

                                      Chosen.prototype.keydown_checker = function(evt) {
                                          var stroke, _ref1;
                                          stroke = (_ref1 = evt.which) != null ? _ref1 : evt.keyCode;
                                          this.search_field_scale();
                                          if (stroke !== 8 && this.pending_backstroke) {
                              Severity: Minor
                              Found in myems-admin/js/plugins/chosen/chosen.jquery.js - About 1 hr to fix

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

                                          var Pb = function(b, c) {
                                            if (F) {
                                              document.activeElement && document.activeElement.blur();
                                              var d = a.hoverItem;
                                              a.hoverItem = null;
                                Severity: Minor
                                Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

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

                                      $scope.addApiKey = function () {
                                          var modalInstance = $uibModal.open({
                                              templateUrl: 'views/users/apikey/apikey.model.html',
                                              controller: 'ModalAddApiKeyCtrl',
                                              windowClass: "animated fadeIn",
                                  Severity: Minor
                                  Found in myems-admin/app/controllers/users/apikey/apikey.controller.js - About 1 hr to fix

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

                                      Affix.prototype.checkPosition = function () {
                                        if (!this.$element.is(':visible')) return
                                    
                                        var height       = this.$element.height()
                                        var offset       = this.options.offset
                                    Severity: Minor
                                    Found in myems-admin/js/bootstrap/bootstrap.js - About 1 hr to fix

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

                                      const CalendarExample = () => {
                                        return (
                                          <>
                                            <PageHeader
                                              title="Full Calendar"
                                      Severity: Minor
                                      Found in myems-web/src/components/plugins/CalendarExample.js - About 1 hr to fix

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

                                                link: function (scope, element, attrs) {
                                                    var map = element.vectorMap({
                                                        map: 'world_mill_en',
                                                        backgroundColor: "transparent",
                                                        regionStyle: {
                                        Severity: Minor
                                        Found in myems-admin/app/directives/directives.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language