edwrodrig/template_composer_webapp

View on GitHub
data/modules/components/remote/SectionEasyServices.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function set_data has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    set_data(data) {
        this.controls.innerHTML = "";
        for ( let automatic_method of data ) {
            let button = document.createElement('A');
            button.classList.add('nav-link');
Severity: Minor
Found in data/modules/components/remote/SectionEasyServices.js - About 1 hr to fix

    Function create_form has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        create_form(data, on_success) {
            let form = new Form(document.createElement('FORM'));
    
            for ( let parameter of data.parameter_list ) {
                form.dom.appendChild(this.create_input_group(parameter.name, parameter.type));
    Severity: Minor
    Found in data/modules/components/remote/SectionEasyServices.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status