wikimedia/mediawiki-extensions-Wikibase

View on GitHub
view/resources/wikibase/entityChangers/StatementsChanger.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function save has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        save: function ( statement ) {
            var self = this,
                deferred = $.Deferred();

            this._api.setClaim(
Severity: Minor
Found in view/resources/wikibase/entityChangers/StatementsChanger.js - About 1 hr to fix

    Function StatementsChanger has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            api,
            revisionStore,
            statementsChangerState,
            statementSerializer,
            statementDeserializer,
    Severity: Minor
    Found in view/resources/wikibase/entityChangers/StatementsChanger.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status