devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,636 total issues

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

    Function actionSheet has 75 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function actionSheet(opts) {
        var scope = $rootScope.$new(true);
    
        extend(scope, {
          cancel: noop,
    Severity: Major
    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 3 hrs to fix

      Function Param has 74 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        this.Param = function Param(id, type, config, location) {
          var self = this;
          config = unwrapShorthand(config);
          type = getType(config, type, location);
          var arrayMode = getArrayMode();

        Function Hilitor has 72 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function Hilitor(id, tag)
        {
        
          var targetNode = document.getElementById(id) || document.body;
          var hiliteTag = tag || "EM";
        Severity: Major
        Found in meetups/meetup06-MobileDev/x-platform/plugin/search/search.js - About 2 hrs to fix

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

                return function link($scope, $element, $attr, ctrls) {
                  var childScope;
                  var childElement;
                  var tabsCtrl = ctrls[0];
                  var tabCtrl = ctrls[1];
          Severity: Major
          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

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

                controller: ['$scope', '$element', '$attrs', function($scope, $element, $attrs) {
                  var _this = this;
            
                  var continuous = $scope.$eval($scope.doesContinue) === true;
                  var shouldAutoPlay = isDefined($attrs.autoPlay) ? !!$scope.autoPlay : false;
            Severity: Major
            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

              Function UrlMatcher has 70 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function UrlMatcher(pattern, config, parentMatcher) {
                config = extend({ params: {} }, isObject(config) ? config : {});
              
                // Find all placeholders and create a compiled pattern, using either classic or curly syntax:
                //   '*' name

                Function $get has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  function $get(   $location,   $rootScope,   $injector,   $browser) {
                
                    var baseHref = $browser.baseHref(), location = $location.url(), lastPushedUrl;
                
                    function appendBasePath(url, isHtml5, absolute) {

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

                    self.transition = function(enteringHeaderBar, leavingHeaderBar, viewData) {
                      var enteringHeaderBarCtrl = enteringHeaderBar.controller();
                      var transitionFn = $ionicConfig.transitions.navBar[viewData.navBarTransition] || $ionicConfig.transitions.navBar.none;
                      var transitionId = viewData.transitionId;
                  
                  
                  Severity: Major
                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

                    Function getLoader has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      function getLoader() {
                        if (!loaderInstance) {
                          loaderInstance = $ionicTemplateLoader.compile({
                            template: LOADING_TPL,
                            appendTo: $ionicBody.get()
                    Severity: Major
                    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

                      Function triggerAnimationStart has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              function triggerAnimationStart() {
                                // just incase a stagger animation kicks in when the animation
                                // itself was cancelled entirely
                                if (animationClosed) return;
                      
                      

                        Function groupAnimations has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                              function groupAnimations(animations) {
                                var preparedAnimations = [];
                                var refLookup = {};
                                forEach(animations, function(animation, index) {
                                  var element = animation.element;

                          Function createPopup has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            function createPopup(options) {
                              options = extend({
                                scope: null,
                                title: '',
                                buttons: []
                          Severity: Major
                          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

                            Function init has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    function init() {
                                      var listView = listCtrl.listView = new ionic.views.ListView({
                                        el: $element[0],
                                        listEl: $element.children()[0],
                                        scrollEl: scrollCtrl && scrollCtrl.element,
                            Severity: Major
                            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

                              Function dragGesture has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  handler: function dragGesture(ev, inst) {
                                    if (ev.srcEvent.type == 'touchstart' || ev.srcEvent.type == 'touchend') {
                                      this.preventedFirstMove = false;
                              
                                    } else if (!this.preventedFirstMove && ev.srcEvent.type == 'touchmove') {
                              Severity: Major
                              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

                                Function updateBackground has 65 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function updateBackground( includeAll ) {
                                
                                        var currentBackground = null;
                                
                                        // Reverse past/future classes when in RTL mode
                                Severity: Major
                                Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 2 hrs to fix

                                  Function RevealNotes has 65 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  var RevealNotes = (function() {
                                  
                                      function openNotes() {
                                          var jsFileLocation = document.querySelector('script[src$="notes.js"]').src;  // this js file path
                                          jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, '');   // the js folder path
                                  Severity: Major
                                  Found in meetups/meetup06-MobileDev/x-platform/plugin/notes/notes.js - About 2 hrs to fix

                                    Function doTouchEnd has 65 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      doTouchEnd: function(e, timeStamp) {
                                        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 2 hrs to fix

                                      Function $get has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          $get: ['$q', function($q) {
                                            var self = {
                                      
                                              /**
                                               * @ngdoc method
                                      Severity: Major
                                      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

                                        Function configure has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function configure( options ) {
                                        
                                                var numberOfSlides = dom.wrapper.querySelectorAll( SLIDES_SELECTOR ).length;
                                        
                                                dom.wrapper.classList.remove( config.transition );
                                        Severity: Major
                                        Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language