BerniWittmann/spielplanismaning

View on GitHub
src/public/templates/event/tgj/teams/team/team.ui.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function TeamController has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function TeamController(aktivesTeam, spiele, TeamAbonnierenDialog, email, $state, toastr, gruppe, anmeldung, auth, spielplanEnabled) {
        const vm = this;
        vm.loading = true;

        if (!aktivesTeam.name) {
Severity: Minor
Found in src/public/templates/event/tgj/teams/team/team.ui.js - About 1 hr to fix

    Function TeamController has 10 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        function TeamController(aktivesTeam, spiele, TeamAbonnierenDialog, email, $state, toastr, gruppe, anmeldung, auth, spielplanEnabled) {
    Severity: Major
    Found in src/public/templates/event/tgj/teams/team/team.ui.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status