devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,636 total issues

Function DelegateService has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  ionic.DelegateService = function(methodNames) {

    if (methodNames.indexOf('$getByHandle') > -1) {
      throw new Error("Method '$getByHandle' is implicitly added to each delegate service. Do not list it as a method.");
    }
Severity: Major
Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

    Function __stepThroughDeceleration has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      __stepThroughDeceleration: function(render) {
        var self = this;
    
    
        //
    Severity: Major
    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

      Function updateSlides has 61 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function updateSlides( selector, index ) {
      
              // Select all slides and convert the NodeList result to
              // an array
              var slides = toArray( dom.wrapper.querySelectorAll( selector ) ),
      Severity: Major
      Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 2 hrs to fix

        Function onDocumentKeyDown has 59 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function onDocumentKeyDown( event ) {
        
                // If there's a condition specified and it returns false,
                // ignore this event
                if( typeof config.keyboardCondition === 'function' && config.keyboardCondition() === false ) {
        Severity: Major
        Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 2 hrs to fix

          Function __repositionScrollbars has 57 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            __repositionScrollbars: function() {
              var self = this,
                  heightScale, widthScale,
                  widthDiff, heightDiff,
                  x, y,
          Severity: Major
          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

            Function __initEventHandlers has 56 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                __initEventHandlers: function() {
                  var self = this;
            
                  // Event Handler
                  var container = self.__container;
            Severity: Major
            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

              Function getRenderFn has 56 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                getRenderFn: function() {
                  var self = this;
              
                  var content = self.__content;
              
              
              Severity: Major
              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

                Function magnify has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function magnify( rect, scale ) {
                
                        var scrollOffset = getScrollOffset();
                
                        // Ensure a width/height is set
                Severity: Major
                Found in meetups/meetup06-MobileDev/x-platform/plugin/zoom-js/zoom.js - About 2 hrs to fix

                  Function onTouchMove has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function onTouchMove( event ) {
                  
                          // Each touch should only trigger one action
                          if( !touch.captured ) {
                              onUserInput( event );
                  Severity: Major
                  Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 2 hrs to fix

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

                        compile: function(tElement, tAttrs) {
                    
                          // clone the back button, but as a <div>
                          var buttonEle = $document[0].createElement('button');
                          for (var n in tAttrs.$attr) {
                    Severity: Major
                    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

                      Function $StateRefDirective has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function $StateRefDirective($state, $timeout) {
                        var allowedOptions = ['location', 'inherit', 'reload'];
                      
                        return {
                          restrict: 'A',

                        Function end has 54 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                              end: function() {
                        
                                // measure duration
                                var duration = +new Date() - start.time;
                        
                        
                        Severity: Major
                        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

                          File angular-resource.js has 256 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 createBackground has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function createBackground( slide, container ) {
                            
                                    var data = {
                                        background: slide.getAttribute( 'data-background' ),
                                        backgroundSize: slide.getAttribute( 'data-background-size' ),
                            Severity: Major
                            Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 2 hrs to fix

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

                                  compile: function (tElement, tAttrs, $transclude) {
                                    return function (scope, $element, attrs) {
                                      var previousEl, currentEl, currentScope, latestLocals,
                                          onloadExp     = attrs.onload || '',
                                          autoScrollExp = attrs.autoscroll,

                                Function addEventListeners has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function addEventListeners() {
                                
                                        eventsAreBound = true;
                                
                                        window.addEventListener( 'hashchange', onWindowHashChange, false );
                                Severity: Major
                                Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 2 hrs to fix

                                  Function __publish has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                    __publish: function(left, top, zoom, animate, wasResize) {
                                  
                                      var self = this;
                                  
                                      // Remember whether we had an animation, then we try to continue based on the current "drive" of the animation
                                  Severity: Major
                                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

                                    Function exports has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    module.exports = function(grunt) {
                                      require('jit-grunt')(grunt, {
                                        'validate-package': 'grunt-nsp-package',
                                        'validate-shrinkwrap': 'grunt-nsp-shrinkwrap'
                                      });
                                    Severity: Major
                                    Found in meetups/meetup05-Testing/Gruntfile.js - About 2 hrs to fix

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

                                          compile: function(element) {
                                            element.addClass('scroll-view ionic-scroll');
                                      
                                            //We cannot transclude here because it breaks element.data() inheritance on compile
                                            var innerElement = jqLite('<div class="scroll"></div>');
                                      Severity: Major
                                      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 2 hrs to fix

                                        Function openNotes has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function openNotes() {
                                                var jsFileLocation = document.querySelector('script[src$="notes.js"]').src;  // this js file path
                                                jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, '');   // the js folder path
                                                var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1100,height=700' );
                                        
                                        
                                        Severity: Minor
                                        Found in meetups/meetup06-MobileDev/x-platform/plugin/notes/notes.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language