Showing 1,783 of 1,785 total issues

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

    atk__WEBPACK_IMPORTED_MODULE_10__["default"].eventBus.on(this.$root.$el.parentElement.id + '-multiline-rows-error', payload => {
      this.errors = {
        ...payload.errors
      };
    });
Severity: Minor
Found in public/js/atk-vue-multiline.js and 1 other location - About 40 mins to fix
js/src/vue-components/multiline/multiline.component.js on lines 100..102

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

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 isBetween = function (ts, ts1, ts2) {
    return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2);
};
Severity: Minor
Found in public/js/vendor-vue-flatpickr.js and 1 other location - About 40 mins to fix
public/external/flatpickr/dist/flatpickr.js on lines 604..606

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

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 isBetween = function (ts, ts1, ts2) {
        return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2);
    };
Severity: Minor
Found in public/external/flatpickr/dist/flatpickr.js and 1 other location - About 40 mins to fix
public/js/vendor-vue-flatpickr.js on lines 2380..2382

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

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

    computed: {
        isIndeterminate: function () {
            return this.selectionState === 'indeterminate';
        },
        isChecked: function () {
Severity: Minor
Found in js/src/vue-components/multiline/multiline-header.component.js and 1 other location - About 40 mins to fix
public/js/atk-vue-multiline.js on lines 247..254

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

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

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

  list.i = function i(modules, media, dedupe, supports, layer) {
Severity: Minor
Found in public/js/atk-vue-query-builder.js - About 35 mins to fix

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

function addScopesFromKey(set, allScopes, key, fallback, item) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

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

function Tween( elem, options, prop, end, easing ) {
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 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

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 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 buildFragment has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function buildFragment( elems, context, scripts, selection, ignored ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.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 remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    remove: function( elem, types, handler, selector, mappedTypes ) {
Severity: Minor
Found in public/external/jquery/dist/jquery.js - About 35 mins to fix

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

function evaluateInteractionItems(chart, axis, position, handler, intersect) {
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 _createResolver has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function _createResolver(scopes, prefixes = [''], rootScopes = scopes, fallback, getTarget = () => scopes[0]) {
Severity: Minor
Found in public/external/chart.js/dist/chart.js - About 35 mins to fix

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

    public function addJsPaginatorInContainer($ipp, $containerHeight, $options = [], $container = null, $scrollRegion = 'Body')
Severity: Minor
Found in src/Grid.php - About 35 mins to fix

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

function hueValue(r, g, b, d, max) {
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
Severity
Category
Status
Source
Language