eHealthAfrica/LMIS-Chrome

View on GitHub
app/scripts/services/background-sync-service.js

Summary

Maintainability
A
1 hr
Test Coverage

Function startBackgroundSync has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    this.startBackgroundSync = function() {
      var completedBackgroundSync = true;
      if (backgroundSyncInProgress === true) {
        var deferred = $q.defer();
        deferred.reject('background sync in progress.');
Severity: Minor
Found in app/scripts/services/background-sync-service.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status