Showing 1,792 of 1,794 total issues

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct(View $view, array $args = [], ?JsExpressionable $afterSuccess = null, array $apiConfig = [], bool $includeStorage = false)
Severity: Minor
Found in src/Js/JsReload.php - About 35 mins to fix

Function drawPointLegend has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function drawPointLegend(ctx, options, x, y, w) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function decorateText has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function decorateText(ctx, x, y, line, opts) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function determineUnitForFormatting has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function determineUnitForFormatting(scale, numTicks, minUnit, min, max) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function _updateBezierControlPoints has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function _updateBezierControlPoints(points, options, area, loop, indexAxis) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function getAxisItems has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function getAxisItems(chart, position, axis, intersect, useFinalPosition) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function setBoxDims has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function setBoxDims(box, left, top, width, height) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function lttbDecimation has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function lttbDecimation(data, start, count, availableWidth, options) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function superMatcher has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        superMatcher = function( seed, context, xml, results, outermost ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 35 mins to fix

Function getIntersectItems has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function _steppedLineTo has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function _steppedLineTo(ctx, previous, target, flip, mode) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function addScopes has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function addScopes(set, parentScopes, key, parentFallback, value) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Function CHILD has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        CHILD: function( type, what, _argument, first, last ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 35 mins to fix

Function determineLimits has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function determineLimits(angle, pos, size, min, max) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

Method addModalAction has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function addModalAction($button, $title, \Closure $callback, $args = [], $isDisabled = false)
Severity: Minor
Found in src/Grid.php - About 35 mins to fix

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

        if (self.input.getAttribute("step"))
            self.mobileInput.step = String(self.input.getAttribute("step"));
Severity: Minor
Found in public/js/vendor-vue-flatpickr.js and 1 other location - About 35 mins to fix
public/external/flatpickr/dist/flatpickr.js on lines 2567..2568

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 47.

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

      if (this.options.handle && event.target && !closest(event.target, this.options.handle)) {
        return;
      }
Severity: Minor
Found in public/external/@shopify/draggable/build/umd/index.js and 1 other location - About 35 mins to fix
public/external/@shopify/draggable/build/umd/index.js on lines 293..295

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 47.

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

    function redraw() {
        if (self.config.noCalendar || self.isMobile)
            return;
        buildMonthSwitch();
        updateNavigationCurrentMonth();
Severity: Minor
Found in public/js/vendor-vue-flatpickr.js and 1 other location - About 35 mins to fix
public/external/flatpickr/dist/flatpickr.js on lines 2268..2274

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 47.

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

            var hoverableCells = Array.from(self.rContainer.querySelectorAll("*:nth-child(-n+" + self.config.showMonths + ") > ." + cellClass));
Severity: Minor
Found in public/external/flatpickr/dist/flatpickr.js and 1 other location - About 35 mins to fix
public/js/vendor-vue-flatpickr.js on lines 1212..1212

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 47.

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

        function redraw() {
            if (self.config.noCalendar || self.isMobile)
                return;
            buildMonthSwitch();
            updateNavigationCurrentMonth();
Severity: Minor
Found in public/external/flatpickr/dist/flatpickr.js and 1 other location - About 35 mins to fix
public/js/vendor-vue-flatpickr.js on lines 1536..1542

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 47.

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

Severity
Category
Status
Source
Language