devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,635 total issues

Function start has 119 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      function start() {
        if (animationClosed) return;
        if (!node.parentNode) {
          close();
          return;

    Function createHeaderBar has 119 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      self.createHeaderBar = function(isActive) {
        var containerEle = jqLite('<div class="nav-bar-block">');
        ionic.DomUtil.cachedAttr(containerEle, 'nav-bar', isActive ? 'active' : 'cached');
    
        var alignTitle = $attrs.alignTitle || $ionicConfig.navBar.alignTitle();
    Severity: Major
    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 4 hrs to fix

      Function $$AnimateRunnerFactory has 114 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      var $$AnimateRunnerFactory = ['$q', '$$rAFMutex', function($q, $$rAFMutex) {
        var INITIAL_STATE = 0;
        var DONE_PENDING_STATE = 1;
        var DONE_COMPLETE_STATE = 2;
      
      

        Function doTouchMove has 113 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          doTouchMove: function(touches, timeStamp, scale) {
            if (timeStamp instanceof Date) {
              timeStamp = timeStamp.valueOf();
            }
            if (typeof timeStamp !== "number") {
        Severity: Major
        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 4 hrs to fix

          Function study has 113 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            this.study = function (invocables) {
              if (!isObject(invocables)) throw new Error("'invocables' must be an object");
              var invocableKeys = objectKeys(invocables || {});
              
              // Perform a topological sort of invocables to build an ordered plan

            Function htmlParser has 107 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function htmlParser(html, handler) {
              if (typeof html !== 'string') {
                if (html === null || typeof html === 'undefined') {
                  html = '';
                } else {

              Function compile has 104 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  compile: function(element, attr) {
              
                    //We create the tabNavTemplate in the compile phase so that the
                    //attributes we pass down won't be interpolated yet - we want
                    //to pass down the 'raw' versions of the attributes
              Severity: Major
              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 4 hrs to fix

                Function $ViewDirective has 104 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function $ViewDirective(   $state,   $injector,   $uiViewScroll,   $interpolate) {
                
                  function getService() {
                    return ($injector.has) ? function(service) {
                      return $injector.has(service) ? $injector.get(service) : null;

                  Function compile has 99 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      compile: function(element, attr) {
                        var innerElement;
                        var scrollCtrl;
                  
                        element.addClass('scroll-content ionic-scroll');
                  Severity: Major
                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 3 hrs to fix

                    Function initialize has 97 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      initialize: function(options) {
                        var self = this;
                    
                        self.__container = options.el;
                        self.__content = options.el.firstElementChild;
                    Severity: Major
                    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 3 hrs to fix

                      Function transitionTo has 95 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          $state.transitionTo = function transitionTo(to, toParams, options) {
                            toParams = toParams || {};
                            options = extend({
                              location: true, inherit: false, relative: null, notify: true, reload: false, $retry: false
                            }, options || {});

                        Function transition has 94 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                transition: function(direction, enableBack, allowAnimate) {
                                  var deferred;
                                  var enteringData = getTransitionData(viewLocals, enteringEle, direction, enteringView);
                                  var leavingData = extend(extend({}, enteringData), getViewData(leavingView));
                                  enteringData.transitionId = leavingData.transitionId = transitionId;
                        Severity: Major
                        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 3 hrs to fix

                          Function name has 93 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                    Resource[name] = function(a1, a2, a3, a4) {
                                      var params = {}, data, success, error;
                          
                                      /* jshint -W086 */ /* (purposefully fall through case statements) */
                                      switch (arguments.length) {

                            Function initSwipeBack has 93 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              self.initSwipeBack = function() {
                                var swipeBackHitWidth = $ionicConfig.views.swipeBackHitWidth();
                                var viewTransition, associatedNavBarCtrl, backView;
                                var deregDragStart, deregDrag, deregRelease;
                                var windowWidth, startDragX, dragPoints;
                            Severity: Major
                            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 3 hrs to fix

                              Function prepareAnchoredAnimation has 92 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function prepareAnchoredAnimation(classes, outAnchor, inAnchor) {
                                    var clone = jqLite(getDomNode(outAnchor).cloneNode(true));
                                    var startingClasses = filterCssClasses(getClassVal(clone));
                              
                                    outAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);

                                Function calcWidths has 90 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                  self.calcWidths = function(textAlign, isPreviousTitle) {
                                    var titleEle = getEle(TITLE);
                                    var backBtnEle = getEle(BACK_BUTTON);
                                    var x, y, z, b, c, d, childSize, bounds;
                                    var childNodes = $element[0].childNodes;
                                Severity: Major
                                Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 3 hrs to fix

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

                                  /**
                                   * @license AngularJS v1.4.3
                                   * (c) 2010-2015 Google, Inc. http://angularjs.org
                                   * License: MIT
                                   */

                                    Function prelink has 82 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                          function prelink($scope, $element, $attr) {
                                            var parentScope = $scope.$parent;
                                            $scope.$watch(function() {
                                              return (parentScope.$hasHeader ? ' has-header' : '') +
                                                (parentScope.$hasSubheader ? ' has-subheader' : '') +
                                    Severity: Major
                                    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 3 hrs to fix

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

                                          function render(forceRerender) {
                                            if (render.destroyed) return;
                                            var i;
                                            var ii;
                                            var item;
                                      Severity: Major
                                      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 3 hrs to fix

                                        Function slide has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function slide( h, v, f, o ) {
                                        
                                                // Remember where we were at before
                                                previousSlide = currentSlide;
                                        
                                        
                                        Severity: Major
                                        Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language