siad007/versioncontrol_hg

View on GitHub

Showing 170 of 256 total issues

Function xml2json has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  xml2json: function(xml, extended) {
   if(!xml) return {}; // quick fail
   
   //### PARSER LIBRARY
   // Core function
Severity: Major
Found in docs/api/phpdoc/js/jquery.xml2json.js - About 3 hrs to fix

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

        Deferred: function( func ) {
            var doneList = jQuery.Callbacks( "once memory" ),
                failList = jQuery.Callbacks( "once memory" ),
                progressList = jQuery.Callbacks( "memory" ),
                state = "pending",
    Severity: Major
    Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 3 hrs to fix

      Consider simplifying this complex logical expression.
      Open

      if ( "getBoundingClientRect" in document.documentElement ) {
          jQuery.fn.offset = function( options ) {
              var elem = this[0], box;
      
              if ( options ) {
      Severity: Critical
      Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 3 hrs to fix

        Function doAnimation has 73 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                function doAnimation() {
                    // XXX 'this' does not always have a nodeName when running the
                    // test suite
        
                    if ( optall.queue === false ) {
        Severity: Major
        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

              add: function( elem, types, handler, data, selector ) {
          
                  var elemData, eventHandle, events,
                      t, tns, type, namespaces, handleObj,
                      handleObjIn, quick, handlers, special;
          Severity: Major
          Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

                _create: function() {
                    var me = this;
            
                    //drag variables
                    this.dx = 0;
            Severity: Major
            Found in docs/api/phpdoc/js/jquery.iviewer.js - About 2 hrs to fix

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

              Sizzle.filter = function( expr, set, inplace, not ) {
                  var match, anyFound,
                      type, found, item, filter, left,
                      i, pass,
                      old = expr,
              Severity: Major
              Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

                        function done( status, nativeStatusText, responses, headers ) {
                
                            // Called once
                            if ( state === 2 ) {
                                return;
                Severity: Major
                Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

                      init: function( selector, context, rootjQuery ) {
                          var match, elem, ret, doc;
                  
                          // Handle $(""), $(null), or $(undefined)
                          if ( !selector ) {
                  Severity: Major
                  Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

                        function ellipsisElement( $e, $d, $i, o, after )
                        {
                            var isTruncated    = false,
                                e = $e[ 0 ];
                    
                    
                    Severity: Major
                    Found in docs/api/phpdoc/js/jquery.dotdotdot-1.5.9.js - About 2 hrs to fix

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

                          function setupBindings() {
                      
                              eventData = { target: this }
                      
                              // bind up controls
                      Severity: Major
                      Found in docs/api/phpdoc/js/jquery.panzoom.js - About 2 hrs to fix

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

                           function parseXML(node, simple){
                            if(!node) return null;
                            var txt = '', obj = null, att = null;
                            var nt = node.nodeType, nn = jsVar(node.localName || node.nodeName);
                            var nv = node.text || node.nodeValue || '';
                        Severity: Major
                        Found in docs/api/phpdoc/js/jquery.xml2json.js - About 2 hrs to fix

                          Function handler has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function handler(event) {
                                  var orgEvent   = event || window.event,
                                      args       = slice.call(arguments, 1),
                                      delta      = 0,
                                      deltaX     = 0,
                          Severity: Major
                          Found in docs/api/phpdoc/js/jquery.mousewheel.js - About 2 hrs to fix

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

                            function ajaxConvert( s, response ) {
                            
                                // Apply the dataFilter if provided
                                if ( s.dataFilter ) {
                                    response = s.dataFilter( response, s.dataType );
                            Severity: Major
                            Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

                                  dispatch: function( event ) {
                              
                                      // Make a writable jQuery.Event from the native event object
                                      event = jQuery.event.fix( event || window.event );
                              
                              
                              Severity: Major
                              Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

                                function initializeContents()
                                {
                                    // hide all more buttons because they are not needed with JS
                                    $(".element a.more").hide();
                                
                                
                                Severity: Major
                                Found in docs/api/phpdoc/js/template.js - About 2 hrs to fix

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

                                      data: function( elem, name, data, pvt /* Internal Use Only */ ) {
                                          if ( !jQuery.acceptData( elem ) ) {
                                              return;
                                          }
                                  
                                  
                                  Severity: Major
                                  Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

                                        removeData: function( elem, name, pvt /* Internal Use Only */ ) {
                                            if ( !jQuery.acceptData( elem ) ) {
                                                return;
                                            }
                                    
                                    
                                    Severity: Major
                                    Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

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

                                          jQuery.fn.offset = function( options ) {
                                              var elem = this[0];
                                      
                                              if ( options ) {
                                                  return this.each(function( i ) {
                                      Severity: Major
                                      Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix

                                        Function remove has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            remove: function( elem, types, handler, selector, mappedTypes ) {
                                        
                                                var elemData = jQuery.hasData( elem ) && jQuery._data( elem ),
                                                    t, tns, type, origType, namespaces, origCount,
                                                    j, events, special, handle, eventType, handleObj;
                                        Severity: Major
                                        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language