Showing 58 of 132 total issues
Function controller
has 445 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($scope, dataPublisher, mixedContentToArray, userResources, plannerResources, configService, objectResetFields) {
/*
Gets the meetings relative to a given group.
These meetings are stored in the meetings properties of the given group.
Function controller
has 415 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function (userResources, plannerResources, mixedContentToArray, $scope, $location, $routeParams) {
var mode = 'c';
var c = this;
var changedEvents = [];
Function controller
has 305 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($routeParams, $location, mixedContentToArray, orgResources, arrayToUrlParams) {
var c = this;
//group id
var id = $routeParams.id;
Function controller
has 274 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function (userResources, mixedContentToArray, $routeParams, $scope, $location) {
var calendar;
var mode = 1;
var changedEvents = [];
Function controller
has 233 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($scope, orgResources, arrayToUrlParams, mixedContentToArray) {
var c = this;
var getUsers = function () {
File udashController.js
has 451 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function () {
var controller = function ($scope, dataPublisher, mixedContentToArray, userResources, plannerResources, configService, objectResetFields) {
/*
File nmController.js
has 421 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function () {
var controller = function (userResources, plannerResources, mixedContentToArray, $scope, $location, $routeParams) {
var mode = 'c';
Function saveSchedule
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
c.saveSchedule = function () {
var newEvents, modifiedEvents = [];
var alsoEditEvents = false;
var events = calendar.fullCalendar('clientEvents');
var processedEvents = [];
Function controller
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($scope, $routeParams, $location, mixedContentToArray, orgResources) {
var c = this;
//user id
var id = $routeParams.id;
var emptyInvalidFields = function (invalidFields) {
Function $get
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = ['$injector', '$document', '$timeout', '$rootScope', function ($injector, $document, $timeout, $rootScope) {
var $animate;
var $parentSelector = this.parentSelector,
loadingBarContainer = angular.element(this.loadingBarTemplate),
loadingBar = loadingBarContainer.find('div').eq(0),
Function controller
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($scope, userResources, mixedContentToArray) {
var c = this;
c.data = {
File groupController.js
has 311 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function () {
var controller = function ($routeParams, $location, mixedContentToArray, orgResources, arrayToUrlParams) {
var c = this;
Function controller
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($scope, orgResources, mixedContentToArray) {
var c = this;
c.data = {
Function interceptor
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var interceptor = ['$q', '$cacheFactory', '$timeout', '$rootScope', '$log', 'cfpLoadingBar', function ($q, $cacheFactory, $timeout, $rootScope, $log, cfpLoadingBar) {
/**
* The total number of requests made
*/
File cschedController.js
has 280 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function () {
var controller = function (userResources, mixedContentToArray, $routeParams, $scope, $location) {
var calendar;
Function submit
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
submit: function () {
var form = $scope.editScheduleForm;
this.invalidFields.nameReq = form.name.$error.required;
this.invalidFields.urlReq = form.url.$error.required;
this.invalidFields.urlVal = form.url.$error.url;
Function controller
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($scope, $routeParams, dataPublisher, mixedContentToArray, configService) {
var apiDomain = configService.apiDomain;
var c = this;
c.success = false;
c.invalidFields = {
Function controller
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($scope, $location, dataPublisher, mixedContentToArray, configService) {
var apiDomain = configService.apiDomain;
var c = this;
//In case of account already registered, sets a property to true so that
//an error can be displayed on the view
Function controller
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = function ($scope, $location, dataPublisher, mixedContentToArray, configService) {
var apiDomain = configService.apiDomain;
var c = this;
var authorizationPopup = {
show: function () {
Function submit
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
submit: function () {
var validMembers = [];
var validationStatus;
angular.forEach(this.members, function (value, key) {
if (value === true) {