modules/linagora.esn.contact/frontend/app/sidebar/sidebar.controller.js
Function ContactSidebarController
has 111 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ContactSidebarController(
$scope,
$q,
_,
userAPI,
Function _injectOwnerToSubscription
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _injectOwnerToSubscription(addressbooks) {
var userIds = [];
addressbooks.forEach(function(addressbook) {
if (addressbook.isSubscription && !addressbook.group) {
Function ContactSidebarController
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$scope,
$q,
_,
userAPI,
userUtils,