linagora/openpaas-esn

View on GitHub
frontend/js/modules/aggregator.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

    PageAggregatorService.prototype._getSmallerItem = function() {
      var lowerIndex = 0;
      var self = this;

      var firstItems = this.wrappedSources.map(function(wrappedSource) {
Severity: Minor
Found in frontend/js/modules/aggregator.js - About 1 hr to fix

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

        PageAggregatorService.prototype.loadNextItems = function() {
    
          var self = this;
          var result = [];
          var isFirstPage = self.isFirstPage;
    Severity: Minor
    Found in frontend/js/modules/aggregator.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status