ThibaultMontaufray/Droid-Image

View on GitHub
Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js

Summary

Maintainability
F
1 mo
Test Coverage

`` has 196 functions (exceeds 20 allowed). Consider refactoring.
Open

intellisense.annotate(jQuery.fn, {
  'add': function() {
    /// <signature>
    ///   <summary>Add elements to the set of matched elements.</summary>
    ///   <param name="selector" type="String">A string representing a selector expression to find additional elements to add to the set of matched elements.</param>
Severity: Major
Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js - About 3 days to fix

    File jquery-2.1.1.intellisense.js has 614 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    intellisense.annotate(jQuery, {
      'ajax': function() {
        /// <signature>
        ///   <summary>Perform an asynchronous HTTP (Ajax) request.</summary>
        ///   <param name="url" type="String">A string containing the URL to which the request is sent.</param>
    Severity: Major
    Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js - About 1 day to fix

      `` has 52 functions (exceeds 20 allowed). Consider refactoring.
      Open

      intellisense.annotate(jQuery, {
        'ajax': function() {
          /// <signature>
          ///   <summary>Perform an asynchronous HTTP (Ajax) request.</summary>
          ///   <param name="url" type="String">A string containing the URL to which the request is sent.</param>
      Severity: Major
      Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js - About 7 hrs to fix

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

        jQuery.Deferred = function(func) {
        var _object = _731531622(func);
        intellisense.annotate(_object, {
          'always': function() {
            /// <signature>
        Severity: Minor
        Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js - About 1 hr to fix

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

          jQuery.Callbacks = function(flags) {
          var _object = _1228819969(flags);
          intellisense.annotate(_object, {
            'add': function() {
              /// <signature>
          Severity: Minor
          Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js - About 1 hr to fix

            Identical blocks of code found in 2 locations. Consider refactoring.
            Open

            intellisense.annotate(jQuery.fn, {
              'add': function() {
                /// <signature>
                ///   <summary>Add elements to the set of matched elements.</summary>
                ///   <param name="selector" type="String">A string representing a selector expression to find additional elements to add to the set of matched elements.</param>
            Severity: Major
            Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js and 1 other location - About 3 wks to fix
            Project/Droid.Image.UI/Scripts/jquery-3.0.0.intellisense.js on lines 711..2638

            Duplicated Code

            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

            Tuning

            This issue has a mass of 3707.

            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

            Refactorings

            Further Reading

            Identical blocks of code found in 2 locations. Consider refactoring.
            Open

            intellisense.annotate(jQuery, {
              'ajax': function() {
                /// <signature>
                ///   <summary>Perform an asynchronous HTTP (Ajax) request.</summary>
                ///   <param name="url" type="String">A string containing the URL to which the request is sent.</param>
            Severity: Major
            Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js and 1 other location - About 5 days to fix
            Project/Droid.Image.UI/Scripts/jquery-3.0.0.intellisense.js on lines 1..421

            Duplicated Code

            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

            Tuning

            This issue has a mass of 900.

            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

            Refactorings

            Further Reading

            Identical blocks of code found in 2 locations. Consider refactoring.
            Open

            jQuery.Deferred = function(func) {
            var _object = _731531622(func);
            intellisense.annotate(_object, {
              'always': function() {
                /// <signature>
            Severity: Major
            Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js and 1 other location - About 1 day to fix
            Project/Droid.Image.UI/Scripts/jquery-3.0.0.intellisense.js on lines 494..632

            Duplicated Code

            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

            Tuning

            This issue has a mass of 320.

            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

            Refactorings

            Further Reading

            Identical blocks of code found in 2 locations. Consider refactoring.
            Open

            intellisense.annotate(jQuery.Event.prototype, {
              'currentTarget': function() {
                /// <summary>The current DOM element within the event bubbling phase.</summary>
                /// <returns type="Element" />
              },
            Severity: Major
            Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js and 1 other location - About 1 day to fix
            Project/Droid.Image.UI/Scripts/jquery-3.0.0.intellisense.js on lines 635..709

            Duplicated Code

            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

            Tuning

            This issue has a mass of 265.

            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

            Refactorings

            Further Reading

            Identical blocks of code found in 2 locations. Consider refactoring.
            Open

            jQuery.Callbacks = function(flags) {
            var _object = _1228819969(flags);
            intellisense.annotate(_object, {
              'add': function() {
                /// <signature>
            Severity: Major
            Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js and 1 other location - About 1 day to fix
            Project/Droid.Image.UI/Scripts/jquery-3.0.0.intellisense.js on lines 424..490

            Duplicated Code

            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

            Tuning

            This issue has a mass of 203.

            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

            Refactorings

            Further Reading

            Identical blocks of code found in 2 locations. Consider refactoring.
            Open

            intellisense.annotate(window, {
              '$': function() {
                /// <signature>
                ///   <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>
                ///   <param name="selector" type="String">A string containing a selector expression</param>
            Severity: Minor
            Found in Project/Droid.Image.UI/Scripts/jquery-2.1.1.intellisense.js and 1 other location - About 45 mins to fix
            Project/Droid.Image.UI/Scripts/jquery-3.0.0.intellisense.js on lines 2640..2669

            Duplicated Code

            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

            Tuning

            This issue has a mass of 50.

            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

            Refactorings

            Further Reading

            There are no issues that match your filters.

            Category
            Status