wikimedia/mediawiki-extensions-VisualEditor

View on GitHub
modules/ve-mw/ce/nodes/ve.ce.MWSignatureNode.js

Summary

Maintainability
A
1 hr
Test Coverage

Function generateContents has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

ve.ce.MWSignatureNode.prototype.generateContents = function () {
    const doc = this.getModel().getDocument();
    let abortable, aborted;
    const abortedPromise = ve.createDeferred().reject( 'http',
        { textStatus: 'abort', exception: 'abort' } ).promise();
Severity: Minor
Found in modules/ve-mw/ce/nodes/ve.ce.MWSignatureNode.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status