eHealthAfrica/LMIS-Chrome

View on GitHub
app/scripts/services/survey-factory.js

Summary

Maintainability
A
1 hr
Test Coverage

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

      var getPendingSurveys = function (facilityUUID) {
        //TODO: make reminder to work by interval
        var deferred = $q.defer();
        storageService.all(storageService.SURVEY_RESPONSE)
            .then(function (surveyResponses) {
Severity: Minor
Found in app/scripts/services/survey-factory.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status