Showing 181 of 353 total issues
Consider simplifying this complex logical expression. Open
Open
if (index >= 0 && (data.delay || (data.delay === 0 && valBefore && valBefore !== 0)) && !_.isNaN(data.delay)) {
vm.delays[index] = data.delay;
recalculateDateTimePlatz()
}
Consider simplifying this complex logical expression. Open
Open
if (!_.isUndefined(vm.spiel.toreA) && !_.isUndefined(vm.spiel.toreB) && !_.isNull(vm.spiel.toreA) && !_.isNull(vm.spiel.toreB) && (!_.isEqual(altToreA, vm.spiel.toreA) || !_.isEqual(altToreB, vm.spiel.toreB))) {
spiel.updateTore(vm.spiel).then(function (res) {
//Logger.log(res);
altToreA = res.toreA;
altToreB = res.toreB;
Function PasswordResetController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function PasswordResetController(auth, toastr, $stateParams, $state, isValidToken) {
Function PlatzController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function PlatzController(spiele, $stateParams, errorHandler, anzahlPlaetze, $state) {
Function getPossibleGegner
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function getPossibleGegner(gruppe, team, geradeSpielendeTeams, lastPlayingTeams, games) {
Function sortTeams
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function sortTeams(teams, key, spielModel, gruppe, cb) {
Function gruppeFindPlace
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function gruppeFindPlace(teams, spieleDerGruppe, platz, gruppe, callback) {
Function LoginController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function LoginController(auth, $state, lockdown, $stateParams, toastr) {
Function checkCurrentEvent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function checkCurrentEvent(veranstaltungen, $state, AVAILABLE_STATES_WITHOUT_EVENT, toStateName, events) {
Function KontaktController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function KontaktController(version, kontakt, env, BUG_REPORT_EMAIL, BugDialog) {
Function getEntity
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function getEntity(model, population, notFoundMessage, res, req) {
Function findEntityAndPushTeam
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function findEntityAndPushTeam(model, id, team, res, callback) {
Function handleQueryResponse
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function handleQueryResponse(err, data, res, searchById, notFoundError) {
Function createSpiel
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createSpiel(gruppen, rankA, rankB, jugendid, label) {
Function updateSpielDateTime
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function updateSpielDateTime(singlespiel, index, spielplan, delays, cb) {
Function initZeiten
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function initZeiten(spielplan, zeiten, $scope, toastr, spiele) {
Function TurnierImportController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function TurnierImportController($scope, $uibModalInstance, importedJugend, gewJugend, jugend) {
Function VeranstaltungenController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function VeranstaltungenController(alleVeranstaltungen, auth, veranstaltungen, $state, config) {
Function exports
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
module.exports = function (sendgrid, env, url, disableEmails, secret) {
Function deepPopulate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function deepPopulate(model, docs, paths, options, cb) {