fossasia/loklak_webclient

View on GitHub
app/js/components/geojson.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function parse has 129 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  GeoJSON.parse = function(objects, params, callback) {

    var  geomAttrs = [];

    // Adds default settings to user-specified params
Severity: Major
Found in app/js/components/geojson.js - About 5 hrs to fix

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

        function getPropFunction(params) {
          var func;
    
          if(!params.exclude && !params.include) {
            func = function(properties) {
    Severity: Minor
    Found in app/js/components/geojson.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status