Showing 5,781 of 10,536 total issues

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

        function compileSlotSegs(events) {
            var colCnt = getColCnt(),
                minMinute = getMinMinute(),
                maxMinute = getMaxMinute(),
                d,
Severity: Minor
Found in myems-admin/js/plugins/fullcalendar/fullcalendar.min.js - About 1 hr to fix

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

        generateSegPositionCss: function(seg) {
            var view = this.view;
            var isRTL = view.opt('isRTL');
            var shouldOverlap = view.opt('slotEventOverlap');
            var backwardCoord = seg.backwardCoord; // the left side if LTR. the right side if RTL. floating-point
    Severity: Minor
    Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js - About 1 hr to fix

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

              function _renderDayEvents(events, doAppend, doRowHeights) {
      
                  // where the DOM nodes will eventually end up
                  var finalContainer = getDaySegmentContainer();
      
      
      Severity: Minor
      Found in myems-admin/js/plugins/fullcalendar/fullcalendar.min.js - About 1 hr to fix

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

        function intersectionToSeg(subjectStart, subjectEnd, intervalStart, intervalEnd) {
            var segStart, segEnd;
            var isStart, isEnd;
        
            if (subjectEnd > intervalStart && subjectStart < intervalEnd) { // in bounds at all?
        Severity: Minor
        Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js - About 1 hr to fix

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

                  function axisToCanvasCoords(pos) {
                      // get canvas coords from the first pair of x/y found in pos
                      var res = {}, i, axis, key;
          
                      for (i = 0; i < xaxes.length; ++i) {
          Severity: Minor
          Found in myems-admin/js/plugins/flot/jquery.flot.js - About 1 hr to fix

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

                getCell: function(x, y) {
                    var cell = null;
                    var rows = this.rows;
                    var cols = this.cols;
                    var r = -1;
            Severity: Minor
            Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js - About 1 hr to fix

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

                      function setTicks(axis) {
                          var oticks = axis.options.ticks, ticks = [];
                          if (oticks == null || (typeof oticks == "number" && oticks > 0))
                              ticks = axis.tickGenerator(axis);
                          else if (oticks) {
              Severity: Minor
              Found in myems-admin/js/plugins/flot/jquery.flot.js - About 1 hr to fix

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

                    renderSegPopoverContent: function(date, segs) {
                        var view = this.view;
                        var isTheme = view.opt('theme');
                        var title = date.format(view.opt('dayPopoverFormat'));
                        var content = $(
                Severity: Minor
                Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js - About 1 hr to fix

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

                          function render(date, delta) {
                  
                              if (delta) {
                                  addMonths(date, delta);
                                  date.setDate(1);
                  Severity: Minor
                  Found in myems-admin/js/plugins/fullcalendar/fullcalendar.min.js - About 1 hr to fix

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

                        startListening: function(ev) {
                            var scrollParent;
                            var cell;
                    
                            if (!this.isListening) {
                    Severity: Minor
                    Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js - About 1 hr to fix

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

                          buildCoords: function(rows, cols) {
                              var colCnt = this.view.colCnt;
                              var originTop = this.el.offset().top;
                              var snapTime = moment.duration(+this.minTime);
                              var p = null;
                      Severity: Minor
                      Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js - About 1 hr to fix

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

                        var buildChartDirective = function ( chartType ) {
                            return {
                                restrict: 'E',
                                scope: {
                                    data: "=",
                        Severity: Minor
                        Found in myems-admin/js/plugins/peity/angular-peity.js - About 1 hr to fix

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

                                          function update() {
                                              var view = scope.view;
                                              datePickerUtils.setParams(tz, firstDay);
                          
                                              if (scope.model && !arrowClick) {
                          Severity: Minor
                          Found in myems-admin/js/plugins/datapicker/angular-datepicker.js - About 1 hr to fix

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

                                    SelectParser.prototype.add_option = function(option, group_position, group_disabled) {
                                        if (option.nodeName.toUpperCase() === "OPTION") {
                                            if (option.text !== "") {
                                                if (group_position != null) {
                                                    this.parsed[group_position].children += 1;
                            Severity: Minor
                            Found in myems-admin/js/plugins/chosen/chosen.jquery.js - About 1 hr to fix

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

                                        var Ib = function(b, c, d, e, f) {
                                            var g = {
                                                top: 0,
                                                left: 0 == a.options.rtl ? c * a.options.indent + 7 : "auto",
                                                right: 0 != a.options.rtl ? c * a.options.indent + 8 : "auto",
                              Severity: Minor
                              Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

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

                                  ScrollSpy.prototype.refresh = function () {
                                    var that          = this
                                    var offsetMethod  = 'offset'
                                    var offsetBase    = 0
                                
                                
                                Severity: Minor
                                Found in myems-admin/js/bootstrap/bootstrap.js - About 1 hr to fix

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

                                      function next() {
                                        $active
                                          .removeClass('active')
                                          .find('> .dropdown-menu > .active')
                                          .removeClass('active')
                                  Severity: Minor
                                  Found in myems-admin/js/bootstrap/bootstrap.js - About 1 hr to fix

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

                                                oa = function(a) {
                                                  if (T && "linear" == Fa) {
                                                    Ha = !1;
                                                    var b = Math.floor((fb * a) / 100),
                                                      c = Ga;
                                    Severity: Minor
                                    Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

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

                                                  Aa = function() {
                                                    var b = C.find("li");
                                                    if (0 < b.length)
                                                      for (var c = 0; c < b.length; c++) {
                                                        currentElem = angular.element(b[c]);
                                      Severity: Minor
                                      Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

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

                                          Collapse.prototype.hide = function () {
                                            if (this.transitioning || !this.$element.hasClass('in')) return
                                        
                                            var startEvent = $.Event('hide.bs.collapse')
                                            this.$element.trigger(startEvent)
                                        Severity: Minor
                                        Found in myems-admin/js/bootstrap/bootstrap.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language