wikimedia/mediawiki-extensions-DonationInterface

View on GitHub
ingenico_gateway/forms/js/ingenico.js

Summary

Maintainability
A
1 hr
Test Coverage

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

    di.forms.submit = function () {
        var paymentMethod = $( '#payment_method' ).val(),
            isIframe = di.forms.isIframe();
        if ( !isIframe && paymentMethod !== 'cc' ) {
            return oldSubmit();
Severity: Minor
Found in ingenico_gateway/forms/js/ingenico.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status