apeeyush/Data-Analytics-Log-Manager

View on GitHub
app/assets/javascripts/codap.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function doGroupAnalysis has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function doGroupAnalysis(data) {
  var parent_keys = data.template.parent_keys;
  var child_keys = data.template.child_keys;
  var kParentCollectionName = "Parent Table";
  var kChildCollectionName = "Child Table";
Severity: Major
Found in app/assets/javascripts/codap.js - About 2 hrs to fix

    Function doSingleTableAnalysis has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function doSingleTableAnalysis(data){
      var kParentCollectionName = "Parent Table";
    
      codapPhone.call({
        action: 'reset'
    Severity: Minor
    Found in app/assets/javascripts/codap.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status