mozilla/webmaker.org

View on GitHub
public/js/pages/install-app.js

Summary

Maintainability
A
1 hr
Test Coverage

Function sendSMS has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function sendSMS() {
    sendSmsButton.attr('disabled', true);
    var phoneNumber = phoneNumberInput.intlTelInput('getNumber', window.intlTelInputUtils.numberFormat.INTERNATIONAL);

    analytics.event('Click Send SMS Link for Beta App', {
Severity: Minor
Found in public/js/pages/install-app.js - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

        return true;
    Severity: Major
    Found in public/js/pages/install-app.js - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status