htdocs/assets/js/views/renderer.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function process has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    Renderer.process = function(App, base_mapping, callback, preview) {
        var remote_mapping = {};

        // First loop over each group of views.
        for(var v in base_mapping) {
Severity: Minor
Found in htdocs/assets/js/views/renderer.js - About 1 hr to fix

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

        Renderer.autoProcess = function(App, in_mapping, callback) {
            // Rank all renderers to determine whether they should run.
            var out_mapping = {};
    
            // First loop over each group of views.
    Severity: Minor
    Found in htdocs/assets/js/views/renderer.js - About 1 hr to fix

      Function deserialize has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          Renderer.deserialize = function(App, mapping, model_id, in_mapping, callback, preview) {
      Severity: Minor
      Found in htdocs/assets/js/views/renderer.js - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status