terranodo/angular-search

View on GitHub
app/service/HeatMapSourceGenerator.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

            function startCsvExport(numberOfDocuments){
                var config,
                    params = createParamsForGeospatialSearch();
                if (params) {
                    params['d.docs.limit'] = angular.isNumber(numberOfDocuments) ?
Severity: Minor
Found in app/service/HeatMapSourceGenerator.js - About 1 hr to fix

    Function search has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                function search(changeUrl){
                    var config, params = createParamsForGeospatialSearch();
                    changeUrl = angular.isUndefined(changeUrl) || changeUrl ? true : false;
                    if (params) {
                        canceler.resolve();
    Severity: Minor
    Found in app/service/HeatMapSourceGenerator.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status