ThibaultMontaufray/Droid-Image

View on GitHub

Showing 429 of 903 total issues

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

function defaultPrefilter( elem, props, opts ) {
    /* jshint validthis: true */
    var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
        anim = this,
        orig = {},
Severity: Major
Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.js - About 3 hrs to fix

    Method ProcessKeyDown has a Cognitive Complexity of 41 (exceeds 20 allowed). Consider refactoring.
    Open

            public void ProcessKeyDown(Keys key)
            {
                if (key == Keys.Alt || key == Keys.Menu) { _altPress = true; }
                else if (key == Keys.ShiftKey) { _shiftPress = true; }
                else if (key == Keys.ControlKey) { _ctrlPress = true; }
    Severity: Minor
    Found in Project/Droid.Image.UI/Interface_image.cs - About 3 hrs to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

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

    function Animation( elem, properties, options ) {
        var result,
            stopped,
            index = 0,
            length = Animation.prefilters.length,
    Severity: Major
    Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.js - About 3 hrs to fix

      Method KuwaharaBlur has 90 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              public static Bitmap KuwaharaBlur(Bitmap img, int Size)
              {
                  Bitmap TempBitmap = new Bitmap(img);
                  Bitmap NewBitmap = new Bitmap(TempBitmap.Width, TempBitmap.Height);
                  Graphics NewGraphics = Graphics.FromImage(NewBitmap);
      Severity: Major
      Found in Project/Droid.Image.UI/Interface_image.cs - About 3 hrs to fix

        Method KuwaharaBlur has 90 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                public static Bitmap KuwaharaBlur(Bitmap img, int Size)
                {
                    Bitmap TempBitmap = new Bitmap(img);
                    Bitmap NewBitmap = new Bitmap(TempBitmap.Width, TempBitmap.Height);
                    Graphics NewGraphics = Graphics.FromImage(NewBitmap);
        Severity: Major
        Found in Project/Droid.Image/Controler/Interface_image.cs - About 3 hrs to fix

          Method GoAction has 89 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  public override void GoAction(string action)
                  {
                      if (!string.IsNullOrEmpty(action))
                      {
                          switch (action.ToLower())
          Severity: Major
          Found in Project/Droid.Image/Controler/Interface_image.cs - About 3 hrs to fix

            Function trigger has 87 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                trigger: function( event, data, elem, onlyHandlers ) {
            
                    var i, cur, tmp, bubbleType, ontype, handle, special,
                        eventPath = [ elem || document ],
                        type = hasOwn.call( event, "type" ) ? event.type : event,
            Severity: Major
            Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.slim.js - About 3 hrs to fix

              Function trigger has 87 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  trigger: function( event, data, elem, onlyHandlers ) {
              
                      var i, cur, tmp, bubbleType, ontype, handle, special,
                          eventPath = [ elem || document ],
                          type = hasOwn.call( event, "type" ) ? event.type : event,
              Severity: Major
              Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.js - About 3 hrs to fix

                Function trigger has 85 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    trigger: function( event, data, elem, onlyHandlers ) {
                
                        var i, cur, tmp, bubbleType, ontype, handle, special,
                            eventPath = [ elem || document ],
                            type = hasOwn.call( event, "type" ) ? event.type : event,
                Severity: Major
                Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.js - About 3 hrs to fix

                  Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function Animation( elem, properties, options ) {
                      var result,
                          stopped,
                          index = 0,
                          length = animationPrefilters.length,
                  Severity: Major
                  Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.js - About 3 hrs to fix

                    Class ToolStripMenuIMG has 28 methods (exceeds 20 allowed). Consider refactoring.
                    Open

                        public class ToolStripMenuIMG : RibbonTab
                        {
                            #region Attributes
                            private Panel _currentTabPage;
                            private GUI _gui; 
                    Severity: Minor
                    Found in Project/Droid.Image.UI/Vues/ToolStripMenuIMG.cs - About 3 hrs to fix

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

                      function Sizzle( selector, context, results, seed ) {
                          var m, i, elem, nid, match, groups, newSelector,
                              newContext = context && context.ownerDocument,
                      
                              // nodeType defaults to 9, since context defaults to document
                      Severity: Major
                      Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.slim.js - About 3 hrs to fix

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

                                "CHILD": function( type, what, argument, first, last ) {
                                    var simple = type.slice( 0, 3 ) !== "nth",
                                        forward = type.slice( -4 ) !== "last",
                                        ofType = what === "of-type";
                        
                        
                        Severity: Major
                        Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.slim.js - About 3 hrs to fix

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

                          function Sizzle( selector, context, results, seed ) {
                              var m, i, elem, nid, match, groups, newSelector,
                                  newContext = context && context.ownerDocument,
                          
                                  // nodeType defaults to 9, since context defaults to document
                          Severity: Major
                          Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.js - About 3 hrs to fix

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

                                    "CHILD": function( type, what, argument, first, last ) {
                                        var simple = type.slice( 0, 3 ) !== "nth",
                                            forward = type.slice( -4 ) !== "last",
                                            ofType = what === "of-type";
                            
                            
                            Severity: Major
                            Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.js - About 3 hrs to fix

                              Method InitializeComponent has 79 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      private void InitializeComponent()
                                      {
                                          this.groupBox1 = new System.Windows.Forms.GroupBox();
                                          this.lblMax = new System.Windows.Forms.Label();
                                          this.lblMin = new System.Windows.Forms.Label();
                              Severity: Major
                              Found in Project/Droid.Image.UI/ZoomPanImageBox.cs - About 3 hrs to fix

                                Method InitializeComponent has 79 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        private void InitializeComponent()
                                        {
                                            this.groupBox1 = new System.Windows.Forms.GroupBox();
                                            this.lblMax = new System.Windows.Forms.Label();
                                            this.lblMin = new System.Windows.Forms.Label();
                                Severity: Major
                                Found in Project/Droid.Image.UI/Vues/ZoomPanImageBox.cs - About 3 hrs to fix

                                  Function Sizzle has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function Sizzle( selector, context, results, seed ) {
                                      var match, elem, m, nodeType,
                                          // QSA vars
                                          i, groups, old, nid, newContext, newSelector;
                                  
                                  
                                  Severity: Major
                                  Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.js - About 3 hrs to fix

                                    Function send has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                                send: function( headers, complete ) {
                                                    var i,
                                                        xhr = options.xhr();
                                    
                                                    xhr.open(
                                    Severity: Major
                                    Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.js - About 3 hrs to fix

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

                                      function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                                          var bySet = setMatchers.length > 0,
                                              byElement = elementMatchers.length > 0,
                                              superMatcher = function( seed, context, xml, results, outermost ) {
                                                  var elem, j, matcher,
                                      Severity: Major
                                      Found in Project/Droid.Image.UI/Scripts/jquery-3.0.0.slim.js - About 2 hrs to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language