eHealthAfrica/LMIS-Chrome

View on GitHub
app/scripts/controllers/index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

            controller: function($scope, $window, i18n, appConfigService, deviceInfoFactory, backgroundSyncService, analyticsSyncService) {

              $scope.states = {
                online: i18n('online'),
                offline: i18n('offline')
Severity: Minor
Found in app/scripts/controllers/index.js - About 1 hr to fix

    Function controller has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

                controller: function($scope, $window, i18n, appConfigService, deviceInfoFactory, backgroundSyncService, analyticsSyncService) {
    Severity: Major
    Found in app/scripts/controllers/index.js - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status