CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method get_site_by_path has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function get_site_by_path( $domain, $path, $segments = null ) {
    global $wpdb;

    $path_segments = array_filter( explode( '/', trim( $path, '/' ) ) );

Severity: Minor
Found in Web.Admin/2014/wordpress/wp-includes/ms-load.php - About 1 hr to fix

    Method apply_filters has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function apply_filters($tag, $value) {
        global $wp_filter, $merged_filters, $wp_current_filter;
    
        $args = array();
        $wp_current_filter[] = $tag;
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-includes/plugin.php - About 1 hr to fix

      Method setup_postdata has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function setup_postdata($post) {
          global $id, $authordata, $day, $currentmonth, $page, $pages, $multipage, $more, $numpages;
      
          $id = (int) $post->ID;
      
      
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-includes/query.php - About 1 hr to fix

        Method BackupTable has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                public string BackupTable(string typeName)
                {
                    var originalTable = GetTableFor(typeName);
        
                    TableContinuationToken token = null;
        Severity: Minor
        Found in AzureTableHelper/AzureTableHelper.cs - About 1 hr to fix

          Method graceful_fail has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function graceful_fail( $message ) {
              _deprecated_function( __FUNCTION__, '3.0', 'wp_die()' );
              $message = apply_filters( 'graceful_fail', $message );
              $message_template = apply_filters( 'graceful_fail_template',
          '<!DOCTYPE html>
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/ms-deprecated.php - About 1 hr to fix

            Function ngOnChanges has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              ngOnChanges(changes: any): void {
                if (!(changes?.stat || changes?.year || changes?.game || changes?.division)) {
                  return;
                }
            
            

              Method Handle has 27 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      public void Handle(RoomTypeChanged e)
                      {
                          var tournament = GetTournamentFromContingentId(e.Id);
              
                          var contingentRooms = tournament.ContingentRooms.FirstOrDefault(x => x.Id == e.Id);
              Severity: Minor
              Found in ReadModels/ContingentTravelPlanQueries.cs - About 1 hr to fix

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

                  function serialize(object) {
                    var out;
                
                    if (angular.isElement(object)) {
                      object = angular.element(object);
                Severity: Minor
                Found in Web.Admin/z-scripts/angular-mocks.js - About 1 hr to fix

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

                              window.ArrayBuffer && window.Uint8Array && function (dataURI) {
                                  var byteString,
                                      arrayBuffer,
                                      intArray,
                                      i,
                  Severity: Minor
                  Found in Web.Admin/z-scripts/FileAPI.js - About 1 hr to fix

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

                      function getRenderer(attrs, scope) {
                        var statics = function() {
                          return {
                            enter: function (element, target, cb) { target.after(element); cb(); },
                            leave: function (element, cb) { element.remove(); cb(); }
                    Severity: Minor
                    Found in Web.Admin/z-scripts/angular-ui-router.js - About 1 hr to fix

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

                      angular.mock.$ExceptionHandlerProvider = function() {
                        var handler;
                      
                        /**
                         * @ngdoc method
                      Severity: Minor
                      Found in Web.Admin/z-scripts/angular-mocks.js - About 1 hr to fix

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

                                    hide : function( elem, speed, callback ) {
                        
                                        callback = callback || F;
                        
                                        var $elem = $(elem);
                        Severity: Minor
                        Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 1 hr to fix

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

                              _playCheck : function() {
                                  var self = this,
                                      played = 0,
                                      interval = 20,
                                      now = Utils.timestamp(),
                          Severity: Minor
                          Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 1 hr to fix

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

                                var participantController = function ($scope, $http, $q, $location, modalFactory, dataService) {
                                    var url = $location.absUrl();
                                    var lastSlash = url.lastIndexOf('/');
                                    var province = url.slice(lastSlash + 1);
                                    var year = url.slice(lastSlash - 4, lastSlash);
                            Severity: Minor
                            Found in Web.Admin/AdminApp/Controllers/controller.participant.js - About 1 hr to fix

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

                                          wait : function(options) {
                              
                                              Galleria._waiters = Galleria._waiters || [];
                              
                                              options = $.extend({
                              Severity: Minor
                              Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 1 hr to fix

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

                                                flash: function(params, complete) {
                                                    $(params.next).css({
                                                        opacity: 0,
                                                        left: 0
                                                    });
                                Severity: Minor
                                Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 1 hr to fix

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

                                          var scale = function() {
                                  
                                              // set stagewidth
                                              self._stageWidth = width || self.$( 'stage' ).width();
                                              self._stageHeight = height || self.$( 'stage' ).height();
                                  Severity: Minor
                                  Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 1 hr to fix

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

                                    if (!document.getElementsByClassName) document.getElementsByClassName = function(instanceMethods){
                                      function iter(name) {
                                        return name.blank() ? null : "[contains(concat(' ', @class, ' '), ' " + name + " ')]";
                                      }
                                    
                                    
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/js/prototype.js - About 1 hr to fix

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

                                              ready: function() {
                                                  this.top = this.$el.offset().top;
                                                  this.window = $(window);
                                                  this.window.on( 'scroll.wp.revisions', {controls: this}, function(e) {
                                                      var controls  = e.data.controls,
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-admin/js/revisions.js - About 1 hr to fix

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

                                                _processPosition: function( position ) {
                                                    var opposite = {
                                                            top: 'bottom',
                                                            bottom: 'top',
                                                            left: 'right',
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/js/wp-pointer.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language