michsch/antispammail

View on GitHub
src/encryption.js

Summary

Maintainability
A
1 hr
Test Coverage

Function encryptForm has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  antiSpamMail.encryptForm = function(formName, fieldName) {
    var cryptform, email, emailHtml, encryptedMail, fieldShowEncryptedHtml, fieldShowEncryptedMail, i, radioObj, radioValue;
    formName = formName || 'antiSpamMail';
    fieldName = fieldName || 'cryptmail_email';
    fieldShowEncryptedMail = 'cryptmail_cryptedmail';
Severity: Minor
Found in src/encryption.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status