linagora/openpaas-esn

View on GitHub
backend/core/avatar/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getAvatarFromEmail has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports.getAvatarFromEmail = function(email, callback) {
  var objectForEmail, type;
  var types = Object.keys(avatarProviders);
  async.whilst(
    function() {
Severity: Minor
Found in backend/core/avatar/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status